You need to sign in to do that
Don't have an account?
ios redirection from native app to Salesforce1 visualforce page
We need to figure out the format for the callback URLs to allow another iOS app to open a visual force page in SF1 with a parameter. For example... the PDF doc says to use the following format...
salesforce1://sObject/{!record.id}/view
However, other (scarce) resources I can find say to use a different format...
com.salesforce.salesforce1://entity/view?entityId={!record.id}
Both seem to work... this blog entry (https://plus.google.com/108841584505265827017
/posts/GjHbMRmQzC3) says that you can open APEX pages using "apex/pageName" as the record id in the second format, but it does not seem to work. So there are conflicting sources of information and limited documentation.
Basically, I can find no clear documentation on this.
from IOS app try to open/redirect to a Visualforce Page on SF1
Here is what we are trying to do, and what works so far....
1. Have a visualforce page with a x-callback protocol link in it to an external barcode scanner app. This works.
2. On success from the barcode scanner, call a x-callback protocol link to return the user to SalesForce1. This works so long as we are linking back to a specific record id. HOWEVER, we want to link instead to a VisualForce page and pass it as a parameter the data from the barcode scanner.
salesforce1://sObject/{!record.id}/view
However, other (scarce) resources I can find say to use a different format...
com.salesforce.salesforce1://entity/view?entityId={!record.id}
Both seem to work... this blog entry (https://plus.google.com/108841584505265827017
/posts/GjHbMRmQzC3) says that you can open APEX pages using "apex/pageName" as the record id in the second format, but it does not seem to work. So there are conflicting sources of information and limited documentation.
Basically, I can find no clear documentation on this.
from IOS app try to open/redirect to a Visualforce Page on SF1
Here is what we are trying to do, and what works so far....
1. Have a visualforce page with a x-callback protocol link in it to an external barcode scanner app. This works.
2. On success from the barcode scanner, call a x-callback protocol link to return the user to SalesForce1. This works so long as we are linking back to a specific record id. HOWEVER, we want to link instead to a VisualForce page and pass it as a parameter the data from the barcode scanner.
You mentioned -> "you can open APEX pages using "apex/pageName" as the record id in the second format, but it does not seem to work."
I'm sure this is officially NOT supported. The way to do it is for a specific record using
To answer your other question, "we want to link instead to a VisualForce page and pass it as a parameter the data from the barcode scanner."
I would recommend you look at the query parameters and try passing the VF page using
I hope that helps.
If my answer helps resolve your query, please select it as a 'Best Answer' so that it benefits others and helps us improve the overall quality of the forums.
Where you ever succesful in geting your bar code scanner app to post the scanned values back to a specified Visualforce page in Salesforce1?
- Ron
How can i get "record.id" from barcode scanner?
Regards.
Fedor
I want to pass scanned barcode to Salesforce1 and showing details on Salesforce1 app.
Please help me.
Thanks,
Fedor