Print      Open PDF Version of Online Help


Previous Topic

Next Topic

Creating URL Web Applets

Create this type of applet when you want to embed content from a URL in an IFrame.

NOTE: For information about the considerations that apply to using customized code in Oracle CRM On Demand, see Important Considerations for Customers Using Customized Code in Oracle CRM On Demand.

To create a URL Web applet

NOTE: This is the final step in creating a Web applet, as described in the topics: Creating Web Applets for Record Types and Creating Global Web Applets.

On the Web Applet page, complete the following fields, and click Save.

Field

Comments

Type

Select URL.

User and System Fields

Select an option from the User and System Fields drop-down list to add user parameter fields to the URL field at the current position of the cursor.

For example, if you choose User id from the drop-down list, %%%User id%%% is inserted. At run time, this parameter is replaced with the user ID of the user who is signed in.

As another example, if you choose Host Name from the list, %%%Hostname%%% is inserted at the cursor position. At run-time, this parameter is replaced with the host name of the server where Oracle CRM On Demand is running. This is useful in configurations containing a URL to Oracle CRM On Demand as it is no longer necessary to manually modify the Oracle CRM On Demand host name when migrating from one environment to another.

Record Type Fields

NOTE: This field is applicable only when the Location value is Detail Page.

Place your cursor in the URL field where you want to add a parameter, and then select the field that you want to include from the drop-down list.

For example, if you select the field Row id, %%%Row id%%% is inserted. At run-time, this parameter is replaced with the row ID of the current record.

Functions

Select EncodeURL from the picklist if your Oracle CRM On Demand URL requires further encoding to display it correctly.

URL

Enter the URL that is invoked when the user clicks the hyperlink, such as http://maps.google.com.

You must include the http:// part of the URL. Make sure that the URL is a valid uniform resource identifier (URI). If it is not valid, then an error message is displayed instead of the embedded content when a user accesses the custom Web applet.

You can also include context-sensitive parameters in this field by placing the cursor in the URL field, and then selecting the User and System Fields drop-down list. This action places a field parameter in the URL (designated by %%%fieldname%%%), which is replaced by the field value, based on the current record when the user clicks the value. For example, the following URL passes in the shipping address to Google maps: http://maps.google.com/?q=%%%Ship_To_ADDR_Address1%%%,+%%%Ship_To_CITY_City%%%,+%%%SHIP_LIST_USSTATE%%%

If you do not specify any URL, the user is directed to a void URL when clicking the link.

NOTE: Each browser has a maximum URL length. If you specify a URL that exceeds this length, users might see indeterminate behavior on the browser.

 

Always Run

This flag determines whether a custom Web applet will be executed if the applet is minimized. This flag is only available for custom Web applets located on the Detail page.

Height

 

 

The height of the applet in pixels.

 

Modern Icon

If you use a modern theme, then you can click the magnifying glass icon to select an icon for your Web applet.


Published 1/9/2017 Copyright © 2005, 2017, Oracle. All rights reserved. Legal Notices.