• James Winslow
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

I am trying to pass this challenge: https://developer.salesforce.com/trailhead/force_com_dev_intermediate/visualforce_mobile_salesforce1/visualforce_mobile_salesforce1_mobile_frameworks?state=id%20api%20web
but there are conflicts with the directions/requirements (Must use the Contact standard list controller with a recordSetVar of 'contacts'. The list of contacts must be iterated through using an apex:repeat component that's bound to a var named 'c'.
).  Here is the problem, to get a visualforce page to appear in the Salesforce1 mobile app you have to create a Custom Global Action to use the visualforce page.
When you try to select a visualforce page for the action type, any visualforce pages that have a standardController does not appear in the select list and according to the Developer Guide: https://developer.salesforce.com/docs/atlas.en-us.salesforce1.meta/salesforce1/vf_dev_best_practices_pages_custom_actions.htm under the Custom Global Actions, “More specifically, Visualforce pages used as global actions can’t use any standard controller. You must write a custom controller to handle the page. Your code might create one or many records, modify found records, and so on.”
has anyone been able to pass this challenge?

Thanks in advance for any help you can provided.