I have a custom link on the opportunity object which points to an external site. Is it possible to add this custom link to a visualforce page?
The solution I came up with was to copy the url salesforce creates for this custom link, and paste it in the page. It looks something like this:
<a href="https://{!hostname}/servlet/servlet.Integration?lid=00bE0000000YbK3&eid={!opportunity.Id}&ic=1">my custom link</a>
This works fine, however, it won't work once it's in a managed package installed on other servers because the lid param will be different (the custom link id). Is there a solution for this?
Best Answer
Have you thought about putting the URL of the link in a field on the opportunity object and then creating an output link on your VF page?
Paul