Activity Forums Salesforce® Discussions PageRedirection is not working in Salesforce1

  • Shubham

    April 26, 2018 at 5:17 pm

    I am trying to redirect to specific record type's edit page layout of an object. Redirection works in Full salesforce site but not Salesforce1.

  • Manpreet

    April 26, 2018 at 5:24 pm

    Hi Shubham,

    Salesforce1 unfortunately does not have a way to load a specific Record Type for the Edit page other than what is default. Also, try to avoid any use of the standard object URL identifiers like "006" etc. since those are only designed for the full desktop site. For Salesforce1 the following call should be used, but again it only accepts an ID and goes to the default Record Type the record is defined with:
    view sourceprint?​recordId)


  • Aman

    April 26, 2018 at 6:50 pm

    Hi shubham,

    It is a known issue to salesforce. Developers can only use the PageReference class to control navigation for the full site, it isn't supported for the Salesforce mobile app and may not work as expected. Some pages load using PageReference, but that may change with any update.


Viewing 1 - 3 of 3 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos