In this blog post, you will learn How to construct deep link URL for C4C business Objects.
Deep link URL is a predetermined URL through which a specific business object instance can be opened by clicking it directly without any manual navigation inside the system. For the user, this saves the time taken to navigate to a specific business object instance by simplifying the process to a Single click.
The Deep link for a specific Business Object can be Included in the content/template of a Mail based Workflow for Approvers/Reviewers/Managers. With the help of the Workflow placeholders, it will be possible to send out a link that will direct to the business object instance which triggered the workflow.
How to construct a Deep link URL?
You can consider the below URL as a template which can be used to deep link any Business Object
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=[x]¶m.Type=[y]&sapbyd-agent=TAB
where,
NNNNNN - Tenant ID in the URL of your C4C system
[X] - ID of the business object instance that is expected to be opened on click of the URL
[Y] - Technical name of each business Object
Note:
In case if you are using
SSO based log on, Append the parameter "
&OBNRedirect=X" to the above URL.
Let's construct an URL for Tickets object
Replace the
[X] and
[Y] in the above URL with the Placeholder
#ID# and the Technical name of the Ticket "
COD_SRQ_AGENT_TT" as below
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=
http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_SRQ_AGENT_TT&sapbyd-agent=TAB
The snip "sapbyd-agent=TAB" is not needed if you intend to use the Deeplink for a Browser-based usage.
Now all you have to do is create a Workflow with the above link as a part of the mail Template and maintain the Placeholder (#ID# = Ticket ID).
In a similar way use the below available URLs for the respective business objects
For Leads:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=
http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_MKT_PROSPECT&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Lead ID)
For Opportunities:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_OPPORTUNITY_THINGTYPE&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Opportunity ID)
For Sales Quotes:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_QUOTE_TT&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Sales Quote ID)
For Sales Orders:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_SALESORDER_TT&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Sales Order ID)
For Accounts:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_ACCOUNT_TT&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Account ID)
For Contact:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_CONTACT_TT&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Contact ID)
For Products:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_MATERIAL&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Product ID)
For Tasks:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_TASK&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Task ID)
For Appointments:
https://myNNNNNN.crm.ondemand.com/sap/public/byd/runtime?bo_ns=http://sap.com/thingTypes&bo=COD_GENERIC&node=Root&operation=OnExtInspect¶m.InternalID=#ID#¶m.Type=COD_APPOINTMENT&sapbyd-agent=TAB
Maintain the Placeholder (#ID# = Appointment ID)
You can also use the UUID of the business objects instead of the BO ID but the URL has to be constructed in a different format for that. You can add the above links directly to your template by adding your tenant ID and the corresponding placeholders.
You can also refer this
SAP Help Center document link for additional info regarding this feature.
I hope this helps in simplifying the navigation and reduces the time taken for the Approvers/Managers to review the Business Objects.
Best Regards,
Arun