Forum Discussion
mikakoistinen As per my understanding you need to create a run time object within extension package to access the methods.Create a filename.xml and keep within extentesion folder,refer the below sample code for your reference.Try with this approcah it might be help you.
<?xml version="1.0"?>
<ScriptExtensionGroup Name="">
<Category Name="RunTime Objects">
<Script Name="sciptunitname.js">
<RuntimeObject Name="skjstrutils">
<Method Name="cleanStr" Routine="cleanStr">Method Desciption</Method>
</RuntimeObject>
</Script>
</Category>
</ScriptExtensionGroup>
After create the .xml file,try to access your method like below.
Runtimeobjectname(skjstrutils).MethodName(cleanStr)
Thanks ,
Ashok
AshokKumarSahoo Your usage of the runtime object is incorrect. Once it's wrapped with the description.xml file (it needs to be named, specifically, as description.xml), you can just simply call it as mika has.
- AshokKumarSahoo7 years agoContributor
tristaanogreThanks for your clarification.Sorry for inconvenience.