Is it possible to retrieve a parameter value from the gadget url?
e.g. with the below example - how would you retrieve the value of the parameters "myparameter"?
Can this be done using the finesse.utilities.Utilities.getParameterByName(str, name)?
Can anyone give a simple example?
Takes a string (typically from window.location) and finds the value which corresponds to a name.
Example Gadget Config on Finesse Admin Desktop
<tab>
<id>Sample</id>
<label>Sample Gadget</label>
<gadgets>
<gadget>https://mywebserver.mydomain.com/gadgets/sample/sample.xml?myparameter1=blah</gadget>
</gadgets>
</tab>
Regards,
Gerry