on 04-02-2017 5:03 PM
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:
https://my######.crm.ondemand.com/sap/byd/nav?bo=COD_OPPORTUNITY_THINGTYPE&nav_mode=TI& 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?
Hi,
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:
Please note that this only works in RUI.
Thanks
Saurabh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Horst,
It is not really public, it will be posted visible for the company.
When someone uses the link to get to the opportunity he should be able to log in to C4C.
The space is not in the real code, I only added it for this community post, that it will not be converted to a pilcrow.
So I only want to build a URL for the opportunity in the before save event.
Do you know how to do this?
Thanks in advance and best regards,
Peter
Hello Horst,
I also tried using Firefox, Chrome, Safari, IE / MacOS, Windows, Android, iOS and got the same problem everywhere: I get redirected to the SSO page even if there is no -sso in the URL and then I get a SAML2 Error, but only if there is no -sso in the URL.
Is this a malfunction of C4C or is there a possibility in ABSL to also get the -sso URL if it is available?
Best regard,
Peter
Hello Horst and Ankan,
What could be configurated wrong? The SSO page works but why do I get to a defect SSO page, even if there is no -sso in the URL?
It would be ideal if there is an ABSL-function available for getting the -sso URL and a parameter to see if there is a SSO page.
Best regards,
Peter
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.