Skip to main content
I have created a custom link in the UI. How can I access this field in Visualforce page?

 

How can I access a custom link field in Visualforce Page?
2 respuestas
  1. 18 abr 2018, 00:24
    Should be a few ways to do this....

     

    Since it looks like a URL link, you could create the same link in the Visualforce page.  Here is is one help page for outputLink:  https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_outputLink.htm

     

    You can also access your button/link via $Action global variable in the page and put on a button or link.  Here it is as a link - I cannot test right now, but I believe this should work.

     

    <a href="{!URLFOR($Action.Asset.Recovery_Abstract_Report)}">Recovery Abstract Report</a>

     

    https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_variables_global_action.htm