You need to sign in to do that
Don't have an account?
venkatSanthanam
Finding the URL of Salesforce instance using Apex Code
I have a similar problem as posted in this forum.
http://community.salesforce.com/sforce/board/message?board.id=apex&message.id=15448
But the solution to this problem as given here doesnt work.
Basically, I need to provide the link of a created note in an email. I use the following code.
String retURL = new PageReference('/' + thisNote.id).getUrl();
But the URL generated is as follows:
/00PS0000000RIQ6MAO
Any thoughts???
Thanks
Venkat