2

I have a vf Page with Data table where record name is a link like this

 <apex:CommandLink value="{!m.what.name}" action="/{!m.what.id}" target="_Blank"/>

This opens in a new tab in web UI

In the similar manner If I want to open a record Detail in Salesforce1 in the Datatable what is the link.

Above link in Salesforce1 doesn't open the Record.

I've already tried the link

sforce.one.navigateToURL();

it doesn't open record detail in Salesforce1...it's a blank white page I am getting.

3
  • @Eric I don't want to open VF page ...I want to open record detail in App – user40138 Jul 18 '15 at 1:28
  • then use navigate to sObject – Eric Jul 18 '15 at 1:31
  • can u Elaborate please. @Eric – user40138 Jul 18 '15 at 1:32
0

See Navigation with the sforce.one Object for details on how to use SF1 specific navigation commands. Specifically, you'll want to use navigateToSObject(​recordId​[, view]).

Not the answer you're looking for? Browse other questions tagged or ask your own question.