Open With URL Template Tag of the Siebel Meta Information File
You can use the open_with_url_tmpl tag in the definition of an object type. You use this tag to specify a template that Siebel CRM Desktop uses to open records of this object type in the Siebel Web Client. For more information, see Setting the URL That Siebel CRM Desktop Uses to Open the Siebel Web Client.
The open_with_url_tmpl tag includes the following format:
<open_with_url_tmpl>
<![CDATA[
"URL template"
]]>
</open_with_url_tmpl>
Siebel CRM Desktop uses macros in the CDATA section for the attributes that it uses in the open_with_url_tmpl template. Each attribute includes the following format:
:[:(attribute):]
A series of attributes in the command uses the following format. All brackets, parentheses and colons are required:
:[:(protocol):]://
:[:(hostname):]:[:(port):]:[:(own_id):]:[:(language_code):]:[:(parent_id):]
where:
protocol is automatically replaced with the URL protocol. The value is http or https.
hostname is automatically replaced with the name of the Siebel Server.
port is automatically replaced with the port number of the Siebel Server.
own_id is automatically replaced with the object ID that Siebel CRM Desktop uses to open the Siebel Web Client.
language_code identifies the language. For example ENU. It is part of the URL. For example, /sales_enu/.
parent_id identifies the Id of the parent object. For example, the object Id of the parent account object of the Account_Note type.
Siebel CRM Desktop replaces each macro that exists in the command with the actual value at runtime. A CDATA section must enclose the template definition.
For example, you can use the following code for account objects:
<open_with_url_tmpl>
:[:(protocol):]://:[:(hostname):]::[:(port):]/sales/_enu/
SWECmd=GotoView&SWEView=Account+List+View&SWERF=1&SWEBU=1&SWEApplet0=
Account+Entry+Applet&SWERowId0=:[:(own_id):]
]]>
</open_with_url_tmpl>