Managing HTML Head Additions
When you add custom HTML head additions, you specify the appropriate code in <script> elements to be included in the HTML <head> element of your pages. The <script> elements can contain your custom JavaScript code and can also reference JavaScript files uploaded through client-side extensions or external JavaScript files. HTML head additions apply to all pages in Oracle CRM On Demand. There is a limit of 50,000 characters to the code that you enter as HTML head additions.
On the Edit Custom HTML Head Tag page, a Preview button enables you to validate any changes that you have made. Depending on your browser settings, errors might be displayed if badly formed HTML or JavaScript is added.
You can disable the custom HTML head additions
by appending disableCustomJS=Y
as a parameter to
the URL for a page. If you navigate away from the page by clicking
another link, then the URL parameter is not retained. You must specify
the URL parameter each time that you require it. The parameter is
used only when the current user’s role includes the Upload Client
Side Extensions and Manage Custom HTML Head Tag privilege.
To add a custom HTML head addition
In the upper-right corner of any page, click the Admin global link.
In the Application Customization section, click Application Customization.
In the Application Setup section, click Custom HTML Head Tag.
In the Custom HTML Head Tags Detail page, click Edit.
In the HTML Head Additions text box, enter the <script> elements that you require.
The <script> element can contain JavaScript code or can reference JavaScript files through the src attribute. The following is an example of a reference to a file uploaded as a client side extension:
<script type="text/javascript" src="../user/content/Test.js"></script>
The following is a reference to an external file:
<script type="text/javascript" src="
http://www.external.com/js/Test.js
"></script>Click Preview to validate any changes you have made.
Click Save.
For more information about managing HTML head additions, see Oracle CRM On Demand Online Help.