Description
Use this activity to create a new content node on the Content Services server and upload a file for it.
Properties
Analyst
- Description: Optional text for documentation purposes
Common
-
Continue On Error: Continues the execution of the workflow even if an error occurs during the execution of the activity.
-
Delay Before: Delay time in milliseconds before the activity is executed. The default value is 250 milliseconds.
-
Delay After: Delay time in milliseconds after executing of the activity. The default value is 250 milliseconds.
-
Disable Log: Disables the logging functionality for this activity.
-
Disable Protocol: Disables the protocol functionality for this activity.
-
Exclude from Global Delay: Excludes this activity from the Global Delay functionality.
-
Timeout: Duration in milliseconds in which the activity tries to execute.
Input
- Aspect Names: The new list of aspect names which will replace the current one. If not set, the current list of aspect names will not be changed. If an empty list is provided, all aspect names will be removed from the node expect the default ones.
- Automatic Rename: If activated a name clash will cause an attempt to auto rename by finding a unique name using an integer suffix. Otherwise, a name clash will throw an exception.
- File Name: Optional new name. This should include the file extension. The name must not contain spaces or the following special characters: '*', '"', '<', '>', '\', '/', '?', ':' and '|'. The character '.' must not be used at the end of the name.
- File Path: Path to the file that will be uploaded. Supports environment variables.
-
Node Name: The name of the content node that will be created. If none is provided, the name of the file will be used.
-
Node Type: Name of the node type. If left blank, cm:content will be used. Custom node types can be used.
-
Parent ID: The ID of the parent node in which the content node will be created.
-
Properties: Properties as a dictionary where the dictionary keys are the property names, for example cm:title and the dictionary values are the property values.
Supports multi-value properties.
Setting properties of type d:content and d:category is not supported.
Input [Versioning]
- Comment: Adds a comment to the version of the content node. Will be ignored if 'Versioning' is set to 'Off'.
-
Versioning: Changes the behavior of the versioning of the content node to be updated.
-
Off: No versioning
-
Minor: A minor version will be created, i.e. 0.1
-
Major: A major version will be created, i.e. 1.0
When versioning is turned on for a file, each previous version of the file is saved on disk.
-
Output
- File ID: The ID of the created content node.
- File Name: The name of the content file after creation. This name might differ from the provided name or the filename if Automatic Rename is activated.