Embed the Oracle Content Management Web User Interface in Other Applications as an iFrame
You can embed the Oracle Content Management web user interface in an HTML inline frame (iframe
tag). The embedded interface removes the default branding and resizes the content to fit the enclosing frame, letting you to integrate Oracle Content Management into your own web applications.
To do this, add /embed
to any member or public folder link immediately after the /documents
element in the URL that’s used to populate the inline frame.
For example, the following URL calls the standard user interface and shows the home folder for the current user:
https://www.example.com/documents/home/nameasc
To display the home folder in the embedded user interface, use the following form of the URL:
https://www.example.com/documents/embed/home/nameasc
To open a folder in the embedded interface, use the folder
element in the URL and specify the globally unique identifier (GUID) of the folder:
https://www.example.com/documents/embed/folder/1713A5712BE73C37891915A0127B594F/nameasc
Note:
The embedded user interface adjusts the content to fit within windows as small as 320 pixels wide. Windows smaller than 320 pixels begin to hide content on the right edge of the window.You can also embed member links and public links to folders, and use configuration parameters that control some aspects of the browser display.
Embed Content in Other Domains
You can display content from Oracle Content Management in other domains. For example, you might embed the Oracle Content Management web user interface in your own web applications to access folder and document management features inside your application.
To allow users to embed content, enable embedded content and add domains:
-
After you sign in to the Oracle Content Management web application as an administrator, click System in the Administration area of the navigation menu.
-
In the Administration menu, click Security.
-
Under Embedded Content , select Enabled.
-
In the Allowed domains box, enter a list of permitted domains, separated by commas. Domains must be in the form www.example.com.
-
To restrict the domain to a particular port, include the port in the specification. For example,
www.example.com:12345
. -
If you want to allow a domain that has multiple sub-domains, you can use the
*
wildcard character. For example,www.example.*
includes the domainswww.example.com
,www.example.co.uk
, and so on.
-
Embed an Application as a Subtab in an Oracle Sales Object
After you embed an application as a subtab, the new subtab appears as part of a details page for an specific object in Oracle Sales. The application is embedded in an iFrame on the subtab.
To do this, you use the Oracle Sales Application Composer toolkit. This example uses the Sales application container and the Account object.
Troubleshoot iFrame Embedding Issues with Oracle Sales
Some of the common issues around embedding an IFrame in Oracle Sales occur establishing a secure connection with the HTTPS protocol.
For example, if you see a blank iFrame when you embed the application:
- Make sure that the URL of the application is correct. Use your browser developer tools to check whether the URL generated uses the correct hostname, and is otherwise correct.
- If you’re using an Oracle Java Cloud Service servlet to embed the iFrame, check whether you are accessing the servlet using HTTPS. For security reasons, most browsers do not allow you to mix HTTP and HTTPS content in the same browser page.
- If your servlet writes an error log, you can examine the application debug logs. If you encounter errors when you execute the application and no visible errors appear in the browser, try checking the error log on your applications server.