[SalesForce] Can we use HYPERLINK FORMULA field in salesforce 1

I have created a HYPERLINK formula

HYPERLINK("/apex/my_VF_Page?Id="+ Id , "MY VF Page" )

If I use link in saleforce 1 App. This link doesn't work any workaround so I add any logic in HYPERLINK for redirect to VF page in saleforce 1App.

Any Idea if we can use sforce.one.navigateToURL or something

javascript:sforce.one.navigateToURL('/apex/SimpleSiteProgram?id='+Id)

Best Answer

I am not sure about the hyperlink formula but you can use detail page link. from there you can do your redirect stuff.

To add Detail page Link follow these simple steps.

  1. go to Setup>Customize>Object>Buttons, Links, and Actions, and click New Button or Link. Give your link a name,
  2. In case of custom object go to Setup>Create > Object>Buttons, Links, and Actions, and click New Button or Link. Give your link a name, enter image description here
  3. Now go to detail page of record and click on Edit layout and drop your link to suitable place. Now view in the salesforce one. enter image description here

Note: Image are for just reference purpose.

Related Topic