function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
aj4aj4 

How to get Salesforce account page(UI) from External web Apllication?

Hi!
 
How will you get SalesForce Page form Other Web Apllication?
 
Example:  I want to invoke Salesforce User Interface  (Account/Contact etc) by passing Account Id as parameter like(https://tapp0.salesforce.com/00tttttttttt).
 
 
Thanks
 
SuperfellSuperfell
The describeSObject call will return the URL patterns for the relevant web app pages.
aj4aj4

Thanks Simon.

aj4aj4

Hi Simon !

I cant find any method on describeSObjectResult which return URL for particular account id.

following methods doesnt give any

I am using following Code for getting URL.

DescribeSObjectResult describeSObjectResult = binding.describeSObject("Account");

String urlEdit = describeSObjectResult.getUrlEdit();

String urldetail = describeSObjectResult.getUrlDetail();

 

Please Help.

 

 

SuperfellSuperfell
urlDetail returns an URL template, you have to substitute in your particular id.
aj4aj4

URl detail returns --  https://tapp0.salesforce.com/{ID}

When I  replaced  id with accountId It gives login page. But I want to open the specific account page without login.

Is there any solution?

Thanks

 

 

 

SuperfellSuperfell
If the user is not logged in, then they'll need to login.

If you want an unsupported and likely to get broken hack, search the forums for frontdoor.jsp
aj4aj4

Thanks  Simon,

We are planning to implement single sign on. In that case user will log in to web Application which will have link to salesforce.com. When user click SF link the salesforce.com user should get ino specific page(account id ) without login again.

 

What is the best and secure solution to solve this problem?

 

Thanks