Hi,
Recently, the function getSolutionName has been added to the Applicationnode in Developer. Can we also get this function in the API?
I especially need this feature available in the IClientAccess interface, to determine the solutionname of a runtime solution.
Tnx in advance,
Paul
Good idea, it would be nice to have parity between the plugin and the editor. However, you may want other information too, especially for runtimes, such as a serial number for security? An easy way to do this would be to add a method to your plugin called something like js_setSolutionName and have a javascript method pass it the solution name.
In plugin:
public String js_setSolutionName (String solution){
return solution;
}
Then in maybe a startup method in Servoy runtime:
var solution_name = application.getSolutionName();
plugins.your_plugin.setSolutionName(solution_name)