You need to sign in to do that
Don't have an account?
AaronLau
How to get server url while using the hyperlink custom field?
I want to create a hyperlink custom field used to integrate another application with salesforce. The reason I want to use a custom field, instead of a custom link, is: custom field supports adding image to it. The problem I have is: I found it only has a function to get session id "GETSESSION()", but it does not have any function to get server url which is also required to authenticate a user. anyone can help me on how to get the server url while using the hyperlink custom field?
thanks,
In your custom link, specify the location and sessionId has "get" variables. When you build the link, look for the API fields. Be sure to include the proper location for your application. There are different locations for the partner and enterprise versions, and there are a couple of old api versions supported.
Your custom link should look something like this:
https://yourwebsite.com/yourwebpage.html?sessionId={!API_Session_ID}&location={!API_Partner_Server_URL_70}&whatever other variables you want to pass.
I'm looking for the same information.
How can I pass the Partner Server URL and the Enterprise Server URL on a HYPERLINK?
I would prefer not to hard code the URL.
Note that the question is about the HYPERLINK, NOT the custom link. Getting them on the custom link is easy, but the custom link cannot always be used.
IMAGE("/servlet/servlet.ImageServer?oid=00D300000006Dv6&id=01560000000FRAQ", "Click to Map"))