How to generate Siebel Deep Links

What are Deep Links?
Deep linking, on the World Wide Web, is making a hyperlink that points to a specific page or image on another website, instead of that website's main or home page. Such links are called deep links.

In Siebel terms, its a direct link to a particular Record in a particular View. For e.g. if you want to navigate to an account in the My Accounts List View directly when logging in then you can use a deep link for it.

Below is an example of a Deep Link to Siebel.
http://zapmysiebel:8080/fins_enu/start.swe?SWECmd=GotoView&SWEView=My+Accounts+List+View&SWERF=1&SWEHo=zapmysiebel&SWEBU=1&SWEApplet0=My+Account+List+Applet&SWERowId0=1-6D8D

Now lets split this URL and see whats inside this.

Part 1: http://zapmysiebel:8080/fins_enu/start.swe?
This is your siebel application URL with the webserver, port number and siebel application details.

Part 2: SWECmd=GotoView
Now this is a command to siebel as to what action needs to performed when you are logged in, GotoView tells Siebel to Go To the View provided in the SWEView parameter. This parameter takes different values like Execute, Query and NewRecord. All this depends on what you want the application to do, if you are using some of the above SWECmd values then you might have to use the eai_enu URL(Will be posting a an article about how to use HTTP post methods and executing WF).

Part 3: SWEView=My+Accounts+List+View
This is just straight forward, as described above this parameter must have the view you want to navigate with each space being replaced by a "+" symbol.

Part 4:SWERF=1, SWEHo=zapmysiebel, SWEBU=1
These 3 parameters are some mandatory parameters like the hostname etc.

Part 5: SWEApplet0=My+Account+List+Applet
This parameter provides the Name of the Main Applet in the view separated by a "+" for every space, similar to the View Name

Part 6: SWERowId0=1-6D8D
The last part defines which record to display. With the value being the ROW_ID of the Record.

You can either use the above sample and tweek it to generate a Deep Link for your application i.e. by changing the Server Name, View Name, Applet Name etc or by letting Siebel generate it for you.

To generate the URL directly from Application follow the below steps.
Login to your siebel aplication. Navigate to any particular List View. Select any record. While holding the mouse boutton, drag and drop the record from the application to your desktop. Make sure your dektop is visible when your siebel application is open.


If your main applet is a form applet (i.e. for .e.g. a Detail View) then generate the deep link to the list applet and just replace the applet name and view name as per your requirement.

The best use of Deep Links are in Emails. When you send out notification emails to users, you can provide a deep link for the particular record for which the notification was sent. To do this just make Row Id Value dynamic.

Note: More on Rich HTML emails will be coming your way in the next few posts.

Use Deep Links in your applications and you would have Zapped your Siebel!!!

No comments:

Post a Comment