# getSolutionName in plugin API

**URL:** <https://forum.servoy.com/t/getsolutionname-in-plugin-api/3774>\
**Category:** Classic Servoy\
**Created:** [March 1, 2005, 9:12pm UTC](https://forum.servoy.com/t/getsolutionname-in-plugin-api/3774 "2005-03-01T21:12:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbakker](https://avatars.discourse-cdn.com/v4/letter/p/a4c791/32.png) [@pbakker](https://forum.servoy.com/u/pbakker)\
**Post date:** [March 1, 2005, 9:12pm UTC](https://forum.servoy.com/t/getsolutionname-in-plugin-api/3774/1 "2005-03-01T21:12:03Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![bobcart](https://avatars.discourse-cdn.com/v4/letter/b/71e660/32.png) [@bobcart](https://forum.servoy.com/u/bobcart)\
**Post date:** [March 3, 2005, 4:33am UTC](https://forum.servoy.com/t/getsolutionname-in-plugin-api/3774/2 "2005-03-03T04:33:40Z")

</div>

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:

```auto
public String js_setSolutionName (String solution){
	   return solution;
}

```

Then in maybe a startup method in Servoy runtime:

```auto
var solution_name = application.getSolutionName();
plugins.your_plugin.setSolutionName(solution_name)

```
