...
The JSMA namespace provides the following methods:
string[] namespace.categoryUuids
Returns a string array of category uuids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.categoryUuids
... |
string[] namespace.contentUuids
Returns a string array of content uuids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.contentUuids
... |
...
Returns an integer array of field ids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.fileIds
... |
string[] namespace.fileUuids
Returns a string array of file uuids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.fileUuids
... |
int namespace.id
Returns the id of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.id
... |
...
Returns a boolean depending on whether the namespace is sealed
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.isSealed
... |
...
Returns the name of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.name
... |
...
Returns an integer array of portal ids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.portalIds
... |
...
Warning |
---|
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 |
string[] namespace.portalUuids
Returns a string array of portal uuids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.portalUuids
... |
int[] namespace.productIds
Returns an integer array of product ids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.productIds
... |
...
Warning |
---|
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 |
string[] namespace.productUuids
Returns a string array of product uuids of the namespace
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
namespace.productUuids
... |