You need to sign in to do that
Don't have an account?
Muhariz Jabeer
Field Service Lightning - App Extension - Passing Tokens to Salesforce App
Is it possible to pass tokens (i.e.: custom field values within a Work Order or Service Appointment) from the FSL Mobile App to the Salesforce App, without using a fully qualified url?
I have successfully created a custom App Extension (under Field Service Mobile Settings) to launch the main Salesforce App and bring up a Lightning Page Tab. I simply specified the name of the Lightning Page in the Launch Value of the App Extension.
However, this lightning page houses a VisualForce page that requires parameters to be sent to it from the FSL app. I have not been able to do this using the above method.
Thoug, I have managed to get it working by explicitly setting the Launch Value in the App Extension to the URL of the VisualForce page (with the parameter I want tacked to the end. (i.e.: https://XXX/apex/FSLExtensionA?myparameter=someValue). This method works fine on Android, as Android prompts whether to open this link via the Salesforce App (as opposed to a web browser). It does NOT work on iOS as it simply opens the link on safari.
In summary, is there a way to pass parameters to a VisualForce page without using a fully qualified url? The Doco claims it is possible, if you house a VisualForce page within a lightning tab in the Salesforce app --> https://help.salesforce.com/articleView?id=mfs_extension.htm&type=5 - unfortunately I haven't been able to figure out how.
I have successfully created a custom App Extension (under Field Service Mobile Settings) to launch the main Salesforce App and bring up a Lightning Page Tab. I simply specified the name of the Lightning Page in the Launch Value of the App Extension.
However, this lightning page houses a VisualForce page that requires parameters to be sent to it from the FSL app. I have not been able to do this using the above method.
Thoug, I have managed to get it working by explicitly setting the Launch Value in the App Extension to the URL of the VisualForce page (with the parameter I want tacked to the end. (i.e.: https://XXX/apex/FSLExtensionA?myparameter=someValue). This method works fine on Android, as Android prompts whether to open this link via the Salesforce App (as opposed to a web browser). It does NOT work on iOS as it simply opens the link on safari.
In summary, is there a way to pass parameters to a VisualForce page without using a fully qualified url? The Doco claims it is possible, if you house a VisualForce page within a lightning tab in the Salesforce app --> https://help.salesforce.com/articleView?id=mfs_extension.htm&type=5 - unfortunately I haven't been able to figure out how.
https://resources.docs.salesforce.com/sfdc/pdf/salesforce1_url_schemes.pdf
All Answers
https://resources.docs.salesforce.com/sfdc/pdf/salesforce1_url_schemes.pdf
I decided to add a bit more detail to my above answer to clarify the solution:
To get to an edit screen of an Opportunity you might generate a deepl link like: salesforce1://sObject/006R0000003r7Rq/edit
Or to get to the view page of an Account: salesforce1://sObject/001D000000Jwj9v/view
I was also trying with the same issue. I had Visuaforce page which I need to pass ID as a parameter.
Can I know how did you launch VF page using deep link.
Did u used App extension with Lightning page tab or directly launched Visualforce page with ID
Thanks in adavance!!
Mounisha