Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

We are implementing SSO in our Org. This works fine. However, we have set an email alert which notifies user when a record of a certain object is created. In this email alert, we provide the user with the link of the newly created record. When user clicks on this link, user is redirected to the Home page and not the record detail page. Any idea, what could be the problem?

share|improve this question
    
Can you share an example of your link, exactly as displayed in the email? –  user320 Jan 24 '13 at 20:47
add comment

1 Answer

You can use the startURL parameter:

https://login.salesforce.com/services/auth/sso/{your-18-char-org-id}/{your-auth-provider}
?startURL=%2F{record-id}
share|improve this answer
    
Thanks. One clarification needed - if i have 2 email alerts, one which gives the link of Account record and 2nd which gives you link of Contact record, how will this work? will it take the user to correct record? –  Shailesh Deshpande Jan 25 '13 at 9:48
    
I think you can customize the Email Template used in your Email Alert. Make sure it contains the URL above and paste in the appropriate {!Account.Id} or {!Account.Id} –  user320 Jan 25 '13 at 11:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.