getSchema
Returns a mapping to a Neolane schema or
null
if the schema doesn't exist.
getSchema
(
name
[,
checkIfUpdated
])
Parameters
name
Full schema name.
checkIfUpdated
Check if the schema has been updated in the cache.
No impact if the schema has already been instanced
in the script.
Return value
A schema mapping (refer to
Schema
object) or the method runs an exception if no schema
coincides with the name.
Remarks
All schemas instanciated in a script remain allocated in
the memory until the end of the script.
Example:
var schema = application.getSchema("nms:recipient")
Features
Method of class:
Application
Available in:
Available in:
- Content management
- Delivery properties
- Typology rule
- JSSP
- SOAP Method
- WebApp
- Workflow