| Print Open PDF Version of Online Help

#### 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, 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 runtime, 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 a URL, the user is directed to a void URL when the link is clicked. NOTE: Each browser has a maximum URL length. If you specify a URL that exceeds this length, users might see indeterminate behaviour on the browser.
Always Run | This check box determines whether the custom Web applet will be executed if the applet is minimised. This check box is available only for Web applets that you create for record-type Detail pages or the Action bar.
Height | The height of the applet in pixels.
Modern Icon | Click the Lookup icon (magnifying glass) to select the icon that is to be used for the Web applet in modern themes. The Modern Icon field is available only for Web applets that you create for record-type Detail pages.

Published August 2022 | Copyright © 2005, 2022, Oracle and/or its affiliates. Legal Notices.