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
DTAPADMINDTAPADMIN 

External Link from app to Salesforce Object

Our developers use an opensource source-code control system called Subversion.  In this system when they make changes to code they can refrence a link that would take them in the issue in our old Sharepoint based Helpdesk system.  Now our Dev Manager wants to be able to put a link in Subversion with the Bug number and have it take the developer to that bug in Salesforce. 
 
How can I accomplish this?
 
Any suggestions would be greatly appreciated.
GlennAtAppirioGlennAtAppirio
You're asking a pretty general question, so hopefully a general answer will suffice.  :)

Any SFDC object can be dereferenced via URL by simply aiming at its SFDC ObjectId.  If the SFDC ObjectId is 123, then you just point the user to http://[my SFDC server].salesforce.com/123.  For an internal application like this, it seems safe to hardcode the SFDC server, e.g. http://na3.salesforce.com/123 (where "na3" is your SFDC server).

The typical next question will be, "wait, I don't have the ObjectId; I just have the bug number [or some other arbitrary field value], I want a URL like http://na3.salesforce.com?bugId=abc".  Unfortunately, I know of no easy way to do this without doing a query-response first.  (Ideally maybe SFDC could support something of the form http://na3.salesforce.com?objecttypeid=123&bugId=abc, but they don't, today).

So the best approach is probably to figure out a way to store the SFDC ObjectId of the bug as part of the record in Subversion.