Through the Salesforce1 navigation menu

If you have created a Flow and allow your users to access it from the Salesforce1 mobile application, then you have to embed the Flow into a Visualforce page.

Let's look at a business scenario. Helina Jolly, who is working as a system administrator at Universal Container, developed the Clean Chatter Group Feeds Flow in Chapter 3, Manipulating Records in Visual Workflow. She's received another requirement from her manager to make this Flow available for Salesforce1 users.

To make a Flow available for Salesforce1 users through the navigation menu, perform the following steps:

  1. Create a Visualforce page by navigating to Setup | Build | Develop | Pages to embed the flow. The following is the sample code, where Delete_Chatter_Group_feeds is the Flow's unique name:
        <apex:page> 
<flow:interview name="Delete_Chatter_Group_feeds"/>
</apex:page>
  1. Save this Flow with the name Clean Chatter Group Feed, and don't forget to select the Available for Salesforce mobile apps checkbox to make this Visualforce page available for Salesforce1.
  2. The next step is to create a Visualforce tab for it; to do this, navigate to Setup | Build | Create | Tabs, and then navigate to the Visualforce Tabs related list and click on the New button. It will redirect you to another page, where you will be required to enter the following details:
    • Visualforce Page: Select a Visualforce page to display in the Visualforce tab.
    • Tab Label: Enter the tab label. It will appear in the user interface. Enter Clean Chatter Group as the tab label.
    • Tab Name: This will be autopopulated based on the tab label.
    • Tab Style: Select the tab style.
  1. Once you are done, click on the Next button, and select tab visibility for profiles, followed by adding the tab to apps.
  2. The final task is to add this Visualforce tab to the Salesforce1 navigation menu. To do that, navigate to Setup | Administer | Mobile Administration | Mobile Navigation, and move the  Clean Chatter Group Visualforce tab from Available to the Selected pane, as shown in the following screenshot:
  1. Once you are done, click on the Save button.
  2. Now log in to Salesforce through the Salesforce1 mobile application; you can find it under the navigation menu.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.59.174