I'm unable to open the Salesforce links in Salesforce App. The links are directly opening in Safari, but they need to open in the Salesforce App rather than the browser.
Is there some settings involved so that iOS is able to recognise the App by clicking on a link? How do I get this to work?
Best Answer
To open Salesforce links within Salesforce app, you should encode them following the correct scheme.
A request to Salesforce for Android and iOS URL scheme follows this format:
Let’s break down each parameter of the URL scheme format:
For example, to open Salesforce for Android and iOS and navigate to a specific record, the URL scheme will look similar to:
Scheme Names
Salesforce supports the following scheme_name parameters for URL schemes:
Actions
These are the available action parameters for URL schemes.
Note: The user must have proper permissions to view, edit, download, etc within Salesforce directly, so if it's not opening the correct section of the Salesforce app - first validate they have access to the actions you're attempting to bring them to - otherwise they usually end up on the home screen.
Resource Links: https://resources.docs.salesforce.com/sfdc/pdf/salesforce1_url_schemes.pdf https://success.salesforce.com/answers?id=9063A000000l3wlQAA