Activity Forums Salesforce® Discussions PageRedirection is not working in Salesforce1

  • Manpreet

    Member
    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?
    sforce.one.editRecord(​recordId)

    Thanks.

  • Aman

    Member
    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.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos