This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Call custom Designer script from web project

Hi there!


I need to call a custom script in Designer from one of my web projects. This script would take some parameters that I'll load from a collection.

Anyone could provide an example?

Thanks!

Parents
  • Hi,

    If you need to evaluate the result of a script in WebSQL, just call it by name like a function.

    You can also write C# code using the object layer API to invoke a script, like this:

    var runner = new ScriptRunner(_Connection.Scripts["scripts"], _Database);
    
    runner.Eval("NameOfYourScript", new object[]{ someParameter });

    Hope this helps,

    Hanno

  • One question, ScriptRunner is the correct class or is it available in v8.0.1? I get a compilation error 

Reply Children