I have a visualforce page that is used as a custom publisher action. How can I pass parameters to this visualforce page when calling the page from the publisher action?
Any ideas on this topic would be appreciated.
I have a visualforce page that is used as a custom publisher action. How can I pass parameters to this visualforce page when calling the page from the publisher action?
Any ideas on this topic would be appreciated.
There is a difference between global (publisher) actions and object-specific custom actions.
When you create a custom action on a specific object, the visualforce page linked to that custom action should be built using the standard controller of that type of object. When you do, then offcourse you have all access to that object's information.
From the docs (Using Visualforce Pages as Custom Actions): http://www.salesforce.com/us/developer/docs/salesforce1/index_Left.htm#CSHID=vf_dev_best_practices_navigation.htm|StartTopic=Content%2Fvf_dev_best_practices_navigation.htm|SkinName=webhelp
Also from the docs (Standard Controllers): http://www.salesforce.com/us/developer/docs/pages/Content/pages_controller_std.htm
Have a look also to this presentation, might be is algo helpful. A good summary and demos about what can we do with Chatter Publisher Actions ( Micro Moments) http://www.youtube.com/watch?v=AEBJE3qwtXQ