Connected Apps Guide Integration with Salesforce1 Mobile Applications
With Guide Designer, you can integrate guides with your Salesforce1 mobile applications. This type of integration requires you to use the Salesforce managed package as a Connected App.
Before you start:
•Download the Salesforce1 app.
•Log in to the Salesforce1 app and verify that your environment is working correctly.
The integration requires the following steps:
1Create a Visualforce page and enable it for Mobile Apps.
2Create a new Action for the object in Salesforce.
3Enable Publisher actions in Salesforce.
4Put the new Action on the Salesforce object page.
5Verify the Mobile App runs as expected.
Step 1: Create a Visualforce Page and Enable it for Mobile Apps
1Log in to your Salesforce organization as a system administrator.
2From the Setup menu, selectApp Setup > Develop > Pages.
3Click New.
4Enter a label, for example, aeOpportunityGuideMobileEnabled.
For other objects, adapt the Visualforce page code for the object you want to work with.
7ClickQuick Save to verify that there are no errors.
Step 2: Create a New Action for the Object
1From the Setup menu, select the App Setup option for the object you want to work with. For example, App Setup > Customize > Opportunities > Buttons, Links and Actions.
2Click New Action and add the Visualforce page created in Step 1.
2Click Edit. Locate the newly-defined action in the Actions list.
3Drag and drop items to the location within the Publisher Actions section. This is before the Post Action.
4Save the layout.
Step 5: Verify
Verify the newly added action in the SFDC1 mobile app.
1Login to the mobile app.
2Select an opportunity.
3Press the "+" button that brings up the publisher actions, which includes the "CE Process Apps" action.
4Press CE Process Apps to display the Designer Visualforce page. It may take a few seconds to load.
You should see the list of guides that are marked to run on a mobile device.
5Choose one of those guides to see if it runs successfully.
Creating a Salesforce1 App
1Create a Visualforce Tab
2Add it to the Mobile Navigation menu.
3Add a new tab and add the Visualforce page you just created.
aSelect Setup > Create > Tabs.
bIn the Visualforce Tabs section, click New.
cIn the Visualforce Page drop-down list, select the page you created in the previous step.
dIn the Tab Label field, enter a label name. Note that, this label appears on the navigation menu in Salesforce1.
eClick into the Tab Style field, and select some a style. The icon for this style appears as the icon for the page in the Salesforce1 navigation menu.
fClick Next.
gClick Next to accept the visibility defaults.
hDeselect the Include Tab checkbox so that the tab isn't included in any of the apps in the organization. You only want this tab to appear when users are viewing it on their mobile device.
iClick Save.
jOn the Custom Tabs screen in the Visualforce Tabs section, click Edit next to the new tab that you created..
4Add the new tab to the navigation menu. Here, it is added as a navigation menu item. It will instantly become available to Salesforce1 app users that have access to it.
aSelect Setup > Mobile Administration > Mobile Navigation.
bSelect the newly added tab and click Add to move it over to the selected list in the right.
cClick Save.
5When your Salesforce1 users log in, they'll see the CE Opportunities menu item in the navigation menu.
6Test it out by opening the app. You should be able to open your side menu in Salesforce1 and see your Visualforce Tab in this menu
Note: You might need to clear the cache for the app if the page does not display immediately.