This Content Extended Operation example demonstrates how
to create a folder, at the root of the object store or as a child
of an attached folder.
The following steps create a folder, either at the root
of the object store or as a child of an attached folder.
- Select the Component step to bring up the Properties pane.
- On the Properties pane, click Add in
the Operations section.
- Click createFolder to create a new
folder.
- Specify the following expression values in the Operation
Parameters section:
- parentFolder Attachment pointing to the parent location of the
new folder. If the desired location of the child folder is at the
top of the object store, specify "||2|3|CE_ObjectStore|" or "|||3|CE_ObjectStore|"
when specifying an empty parent folder, where 2 is the folder type
which can be ignored, 3 is the object store or library type, and CE_Objectstore
is the name of the object store. This represents an empty attachment.
- className: Folder class to use for the new folder.
- propArray: Properties for the new folder. Note that FolderName
must be set.
For the specified folder property, you must create
three elements within the array: the document's symbolic name, data
type and value. An example:
{"FolderName", "STRING", "MyFolder"}
- return_value: The new folder object.
- After specifying the parameters, click OK.