Store Content operation

Stores a new document or updates an existing document in a IBM FileNet repository. This operation supports storing multi-valued properties (See Meta-Data properties.)

For information about the General and Route Evaluation property groups, see Common operation properties.

Login Settings properties

Login settings for invoking the Content Repository Connector for IBM FileNet service.

Login Mode

A com.adobe.livecycle.ibmfilenetcontentrepositoryconnector.client.type.impl.LoginSettings value that represents how the operation will log in to the FileNet repository. Valid values are INVOCATION_CONTEXT (Use Credentials from process context), USER_CREDENTIALS (Use User Credentials), and TOKEN (Use FileNet Credentials Token).

Use Credentials from process context:
Uses the LiveCycle User Management credential from the process context for the FileNet authentication.

Use User Credentials:
Uses the User Name and Password properties to authenticate with FileNet. Ensure that the user name is valid for the FileNet P8 Content Engine that is specified in Administration Console.

Use FileNet Credentials Token:
Uses the FileNet Credentials Token property to authenticate with the FileNet Content Engine. This login token must be valid in the current FileNet session.

User Name

A string value that specifies the account name to use when connecting to the FileNet object store.

This field is used only when the Login Mode property is set to USER_CREDENTIALS (Use User Credentials) or TOKEN (Use FileNet Credentials Token).

Password

A string value that specifies the password that is associated with the account name that is specified in the User Name property to use when connecting to the FileNet object store.

This field is used only when the Login Mode property is set to USER_CREDENTIALS (Use User Credentials).

FileNet Credentials Token

A string value that represents the location of an existing FileNet credentials token.

This field is used only when the Login Mode property is set to TOKEN (Use FileNet Credentials Token).

Object Store and Folder Settings properties

Properties that specify where a document should be stored.

Object Store

A string value that represents the name of the IBM FileNet repository. You can choose from the list of available object stores from your current FileNet Content Engine defined in Administration Console. (See LiveCycle Administration Help.)

Folder Path

A string value that indicates the folder location within the object store where you want to create the document.

If you provide a literal value, type the path or click Browse to select the folder from the IBM FileNet repository.

When typing the folder path, use the following rules:

  • Do not include the object store name in the folder path.

  • Use a forward slash (/)to separate folder names if you specify a folder location, as shown in this example:

    /[FolderPath]/[documentName]

Document Creation Settings properties

Properties to use when creating a document to store in the repository.

Document Class Type

A string value that indicates the FileNet object type for the document.

Hinweis: This property is used only if a document with the same name does not exist.

Document Mime Type

A string value that indicates the MIME type for the document.

Title of the document

A string value that indicates the document title. If a document with the same object name as in the path specified in the Folder Path property, this operation updates the document object. The update is done according to the rule that is defined in the Update Version Type property.

Document Content Settings properties

Properties that are related to the content of the document to store in the repository.

Update Version Type

(Optional) An UpdateVersionType value that represents how to increment the document version updates based on the document type. The following values are valid:

Increment Major Version:
Updates the version number with a major version increment.

Increment Minor Version:
Updates the version number with a minor version increment.

Document Contents

A document value that contains the document content.

If you provide a literal value, clicking the ellipsis button  displays the Select Asset dialog box. (See About Select Asset.)

Hinweis: This property is mandatory for the operation to run correctly.

Meta-Data properties

Metadata properties for the stored document.

Property Mapping Table

(Optional) Map the document attributes to process variables in the given table. While creating or updating the document in the FileNet object store, the mapped document attributes are set on the document. If you leave an attribute value blank, the current value of that attribute in the repository is maintained. To clear the value of an attribute, map the attribute to "" (empty string).

To set the value of a multi-value property of a document, map the name of the property to a list value. For example, the document class type named CustomClassType and the multi-value property called Array Property have been created in FileNet. CustomClassType has Array Property as a property, and Array Property stores string values. A process variable named listVar is a list that contains string values. The following configurations are required to store the values of listVar in the multi-value property:

  • Set the value of the Document Class Type property to CustomClassType.

  • Set the following values in the Meta-Data table:

    • Name: Array Property

    • Type: string

    • Value: /process_data/listVar

Results properties

Properties for the created or updated document.

Store Content Result

An object that stores the content properties that are specified in the Results property group.

Document ID

A string value that indicates the ID for the document.

Document Major Version

A string value that specifies the major version number of the document.

Document Minor Version

A string value that specifies the minor version number of the document.

Name of the Document Creator

A string value that indicates the user name of the original author of the document.

Document Creation Date

A date value that indicates when the original version of the document was created.

Last Document Modifier

A string value that specifies the user name of the last person to change the document.

Last Document Modification Date

A date value that indicates when the document was last changed.

Exceptions

This operation can throw a RepositoryException exception.