sforce.one.navigateToSObject(recordId, view) issue for Salesforce1 Chatter page or Related Lists
Last updated 2020-06-04 ·Reference W-1895770 ·Reported By 45 users
At present VisualForce navigation methods for sforce.one SOjects are not working for Chatter or Related lists.
sforce.one.navigateToSObject(recordId, "chatter") and sforce.one.navigateToSObject(recordId, "related")
will always default to sforce.one.navigateToSObject(recordId, "detail")
** NOTE: Calls to sforce.one.navigateToURL may result in an “Unsupported Page” error if the URL references standard pages for objects or Chatter pages. To avoid this error, ensure that the URL begins with a backslash (/_ui instead of _ui). **
1# Create a Test VF Page (replacing recordId with a specific record Id from your org)
<apex:page showHeader="true" sidebar="true">
<a href="#" data-role="button" id="NavigateToSobjectDetail" onclick="navSObjectChatter()">Navigate To SObject Chatter</a>
<a href="#" data-role="button" id="NavigateToSobjectDetail" onclick="navSObjectRelated()">Navigate To SObject Related</a>
2# Assign to a VF Tab and Add to Mobile navigation
3# Navigate to instance/one/one.app
4# Open VF page and choose either the "Navigate To SObject Chatter" or "Navigate To SObject Chatter" link , you will be brought to the record detail page.
Please see Developer docs for more info:
Reported By (45)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.