Add a Visualforce Page to the Salesforce App Navigation Menu
Create a simple ‘hello world’-style Visualforce page and add it to the Salesforce app navigation menu. The page:
- Must be named ‘HelloMobile’.
- Must display a simple ‘Hello mobile world’ message.
- Must be made available for the Salesforce mobile app.
- Must be included in a tab also with a label ‘HelloMobile’. The tab must be added to the Salesforce app
Create a mobile friendly Visualforce page using SLDS
Use SLDS to create a simple, mobile-friendly list of existing contact names and phone numbers and display the page in the Salesforce mobile app.
- Create a Visualforce page named MobileContactList.
- It must import the Lightning Design System.
- It must use the Lightning Design System Name Value List utility class.
- It must use the Contact standard list controller with a recordSetVar of contacts.
- It must iterate through the list of contacts using an apex:repeat component that’s bound to a var named c.
- It must display the name and phone number of the contacts on the page.
- It must be made available for the Salesforce mobile app.
- It must be included in a tab named MobileContacts. The tab must be added to the Salesforce app navigation menu.
Create a Global Action that Displays a User’s Business Card Information
Your users have asked for a quick way to share information about themselves with their clients from their mobile phone. Create a global action for the Salesforce app that displays information similar to a user’s business card (first and last name, email, phone, and title).
- The global action must be labeled ‘My Business Card’.
- The global action must reference a Visualforce page named ‘BusinessCard’.
- The ‘BusinessCard’ page must be made available for the Salesforce mobile app.
- The ‘BusinessCard’ page must display the current user’s first name, last name, email, phone, and title information using the appropriate Visualforce global variables.
- The page should have an input field to enter an email address and a ‘Send’ button that allows users to quickly email their contact information to others. Implementing this requirement is optional for passing this challenge.
Add a Visualforce Page for a Contact Record Action
Your sales team needs a fast and easy way to call the assistant of a contact. Create an object-specific action on the standard Contact object that uses a Visualforce page to display the assistant’s name and phone number.
- The Visualforce page must be named ‘ShowAssistantInfo’.
- The Visualforce page must use the Contact standard controller.
- The Visualforce page must use the respective Contact standard fields to display the assistant’s name and phone number.
- The Visualforce page must display the assistant’s phone number using a ‘tel:’ hyperlink.
- The object-specific action on the Contact object must be labeled ‘Call Assistant’.
- The ‘Call Assistant’ action must use the ‘ShowAssistantInfo’ Visualforce page.
- The ‘Call Assistant’ action must be added to the ‘Contact Layout’ page layout.
Add a Mobile Card that Displays Content Based on Opportunity Stage
To help the sales team with common objections at each stage of the sales process, create a mobile card with scripts and helpful content. Create a Visualforce page which will display a different piece of content depending on the current stage of the opportunity and add it as a mobile card to the Opportunity layout. The Visualforce page:
- The Visualforce page must be called 'OpportunityStageTips'.
- 'OpportunityStageTips' must evaluate the current stage of the opportunity and display different tips for the Prospecting, Needs Analysis, Proposal/Price Quote and Negotiation/Review stages. You can use any placeholder content to display for each stage.
- 'OpportunityStageTips' must use the Opportunity standard controller.
- 'OpportunityStageTips' must be added as a mobile card to the 'Opportunity Layout' page layout.