How do I integrate with Oracle Content Management?
Before you or any users can access the documents feature, an administrator must configure settings in both Oracle Content Management and Oracle Integration.
Only a user with administrator privileges can establish a connection between the two services.
For Process applications that were created before the connection with Oracle Content Management was configured, the documents feature is disabled by default. Developers can manually enable these features in their existing applications.
Access Requirements for a Successful Integration
Note these access requirements for a successful integration:
The Oracle Content Management user who is configured in Oracle Integration must have full access to the folder (that is, the folder of the incoming document) that’s configured in Oracle Content Management to be able to kick off a process.
For a folder-initiated process (that is, a process with a Folder Start event), the Oracle Content Management user who is configured inOracle Integration must have manager access to the folder in order to access its folder in Oracle Integration. For example, manager access is required to see the folder on the Task Details page and the Process Tracking page, to access the folder when embedding Process UI components in an external application, or see the folder in the Process Mobile application.
To see a process in the process list for a folder, and to be able to initiate a process instance when a new document arrives, the Oracle Integration user who is configured in Oracle Content Management must be granted the process initiator role.
Use Documents or Attachments in a Process Application
Oracle Integration automatically includes standard file attachment functionality in your process applications. You can upload files and attach them to a process. When you use Oracle Content Management with Oracle Integration, you also get documents functionality, which lets you upload files, organize files into folders, manage access to each folder, and even start a process by uploading a document. In addition, each process application has the option of using either documents or attachments.
You control whether a process uses documents or attachments at the application level. Documents are enabled by default. The setting is in the Information pane for the application.
Description of the illustration enable-docs-app-level-cb.png
An application that has Documents Integration enabled can use documents (and only documents). An application that has Documents Integration disabled can use only attachments. Basically, by disabling documents for an application, you enable attachments for that application.
Remember that the setting applies to the application. You can use documents or attachments in an application, but not both.
For attachments, ensure that the Hide Attachments option is deselected in the UI Customization screen. If the Hide Attachments option is selected, you will not be able to see attachments in task details and start forms.
If you use REST APIs to interact with Oracle Integration, be sure to use the appropriate API depending on whether your process application uses documents or attachments:
For documents, be sure to use the /folders REST APIs.
For attachments, be sure to use the /attachments REST APIs.
If you use the wrong API, the application either returns an error message or ends in a no-operation.
Note that if you're not able to see attachments in task details then check the options in the UI Customization screen. Ensure that the Hide Attachments check box is deselected to see attachments.
Configure Settings in Oracle Content Management
In Oracle Content Management, an administrator must enable Oracle Integration, enter connection information, and then enable Oracle Integration use for one or more folders.
Configure Documents Settings in Oracle Integration
As the administrator, you must also configure the connection between Oracle Integration and Oracle Content Management. You need to enter information such as the URL and sign-in credentials for your Oracle Content Management.
- In the Oracle Integration navigation pane, click My Tasks, click Workspace, and then click Administration.
- Click Services.
- In the Oracle Content Management section, enter the following information:
- URL: the web address of your Oracle Content Management. Your service administrator receives a Welcome to Oracle Cloud email when the service is ready to use. The email has the URL for your Oracle Content Management. For example, https://your_service_name.com/documents.
- Identity Domain: the name of the identity domain that your Oracle Content Management belongs to. You can successfully configure a connection to yourOracle Content Management (for the documents feature) without providing an identity domain.
- User and Password: the account credentials for a user who has access to your Oracle Content Management. This user account is used to test the connection between the services. It’s also used during runtime to connect to the services and perform all the runtime operations, such as creating folders.
- Click Test.
Whenever you make any changes to the configuration settings, it’s a good idea to verify that the values you entered are correct. You want to confirm that a successful connection has been established with Oracle Content Management.
Review the test results, which may include messages, errors, and warnings.
- Select one of the following options to continue:
- If there are any errors or warnings, make the necessary changes and then click Test again to verify the new values. Repeat the test each time you change the settings.
- If the connection test is successful, click Save to save the configuration settings.
- If you want to cancel and return to the last-saved values, click Revert.
Enable or Disable Documents
After an administrator establishes a connection between Oracle Content Management and Oracle Integration, you can use documents in your process applications. These features are enabled by default for all new applications you create.
For your process applications that were created before the connection with Oracle Content Management was configured, the documents feature is disabled by default. If you want this feature in existing process applications, then you need to manually enable the features.
There are many benefits to having documents available when you’re modeling a process, viewing tasks, and tracking a process instance. However, for some particular process applications, you might not want the documents feature to be available. In such cases, you can manually disable the feature.
- Open the application so you can see it on the Application Home tab.If you’re viewing a QuickStart App or a QuickStart Master, then you’ll need to click Switch to Advanced View.
- Click More details to expand the Information pane.The check box next to Document Integration show you the current status of the documents feature for this application.
Description of the illustration enable-docs-app-level-cb.png
- Use the check box to enable or disable the documents feature for this application.
- Activate a new revision of the process application. On the Activate Options tab, select the Force Default option.
- Once you can activate Oracle Content Management for a process application already in use, new instances will use documents and existing instances can continue to use native attachments.
- For any given process application, documents and attachments are mutually exclusive. For applications where Documents Integration is enabled, then those applications can use documents and only documents. When you disable Documents Integration for an application, then that application can use attachments and only attachments. By disabling documents, you enable attachments.
Access Issues and Configuration Changes
After you configure Oracle Content Management in Oracle Integration, keep in mind that access issues or configuration changes can result in errors.
If you modify the Oracle Content Management configuration that is currently in use, its associated documents can no longer be accessed.
For documents, you’ll get an error when you click Documents or when you access a document from the list on either the Task Details page or the Tracking page.
If an application folder created by a process gets removed, an administrator must restore it from the Oracle Content Management trash folder.