Skip to Content

Building URL to Opportunity with ABSL before save (C4C)

I would like to build an URL leading to an opportunity in C4C.
The URL should be created in the before save event of the opportunity, to post a link to an external service, which opportunity has been modified.
I have already created this code:

Context.GetSystemURL() + "/sap/byd/nav?bo=COD_OPPORTUNITY_THINGTYPE&nav_mode=TI& param.Key=" + this.UUID.content.ToString();

which is generating an URL like this: param.Key=00163E23E1411EE783AFA3402C2E1410

this URL only works when I am logged in to C4C before using it. When I am not logged in, I get redirected to an SSO page which is defect.
When I modify the URL and add "-sso" the SSO page works. But I would not like to modify the C4C generated URL to make the code work for different tenants.

So my question is:
How can I create a working URL to the opportunity with ABSL?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 02, 2017 at 06:06 PM


    You can append the User Name and Password in the URL itself and with 2 new parameters "username" and "password". So the new URL will be: &password= >

    Please note that this only works in RUI.



    Add comment
    10|10000 characters needed characters exceeded