...
Sets a category's content type.
Info |
---|
|
This entity is slice aware, which means that to use this facility: - there must be a logged in user in the context of the execution
- this user must be currently within a slice
- this user must have the necessary privileges to edit the entity (IFE → System → Benutzer → Roles → Content-Management)
|
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
category.setContentType("CONTENT");
... |
...
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
category.setDescription("Anhänger");
... |
Parameter value (required)
category.
...
setImage(
...
file)
Sets a category's image.
Info |
---|
|
This entity is slice aware, which means that to use this facility: - there must be a logged in user in the context of the execution
- this user must be currently within a slice
- this user must have the necessary privileges to edit the entity (IFE → System → Benutzer → Roles → Content-Management)
|
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
category.setImage(file);
... |
Parameter file (required)
category.setName(value)
Sets a category's name.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
category.setName("Fotobuch");
... |
...
Sets a category's node type.
Info |
---|
|
This entity is slice aware, which means that to use this facility: - there must be a logged in user in the context of the execution
- this user must be currently within a slice
- this user must have the necessary privileges to edit the entity (IFE → System → Benutzer → Roles → Content-Management)
|
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
category.setNodeType("LEAF");
... |
...
Sets a category's short description.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
category.setShortDescription("Anhänger")
... |
...
Retrieves a category's short description string.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
var sDesc = category.shortDescription;
... |
...
Retrieves a category's unprocessed short description string.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
var shortDesUnproc = category.shortdescriptionUnprocessed;
... |
...
Info |
---|
|
This entity is slice aware, which means that to use this facility: - there must be a logged in user in the context of the execution
- this user must be currently within a slice
- this user must have the necessary privileges to edit the entity (IFE → System → Benutzer → Roles → Content-Management)
|
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
var sliceID = category.sliceId;
... |
...
Retrieves a category's title.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
if (category.title == "Fotobuch")
{
...
}
... |
...
Updates a category with the given options.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
category.update(options);
... |
...
Retrieves a category's UUID.
Example
Code Block |
---|
language | js |
---|
linenumbers | true |
---|
|
...
var catUUID = category.uuid;
... |
...