The JSMA namespace provides functionality for handling namespaces
What can JSMA namespace do for me?You could easily use the JSMA namespace to edit a namespace |
Here is an example on how to read data from a JSMA namespace:
... namespace.contentUuids ... |
The JSMA namespace provides the following methods:
Returns a string array of category uuids of the namespace
... namespace.categoryUuids ... |
Returns a string array of content uuids of the namespace
... namespace.contentUuids ... |
Returns an integer array of field ids of the namespace
... namespace.fileIds ... |
Returns a string array of file uuids of the namespace
... namespace.fileUuids ... |
Returns the id of the namespace
... namespace.id ... |
Avoid usage of idIds change whenever a package is reimported. So please avoid using ids whenever possible. Also delivering contents to users by id might make it possible for users to flip through the references (and by that see contents of others possibly) by changing the ids in requests |
Returns a boolean depending on whether the namespace is sealed
... namespace.isSealed ... |
Returns the name of the namespace
... namespace.name ... |
Returns an integer array of portal ids of the namespace
... namespace.portalIds ... |
Avoid usage of idIds change whenever a package is reimported. So please avoid using ids whenever possible. Also delivering contents to users by id might make it possible for users to flip through the references (and by that see contents of others possibly) by changing the ids in requests |
Returns a string array of portal uuids of the namespace
... namespace.portalUuids ... |
Returns an integer array of product ids of the namespace
... namespace.productIds ... |
Avoid usage of idIds change whenever a package is reimported. So please avoid using ids whenever possible. Also delivering contents to users by id might make it possible for users to flip through the references (and by that see contents of others possibly) by changing the ids in requests |
Returns a string array of product uuids of the namespace
... namespace.productUuids ... |