Script's resource
Purpose¶
Access to a script’s resources.
A script may have one or more resources of varying types: HTML, XML, XSLT, TypeScript, etc.
Methods¶
Binding name: p6.resource
get¶
Get the named resource as a String.
Syntax
String p6.resource.get(String resourceName)
Example
println p6.resource.get("name")