function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
CW83CW83 

Visualforce page in Publisher/Quick Action

I have a request that came to me from an end user.  They are asking if it is possible when they create an activity in the publisher/quick action in the desktop if they can also attach a file to the activity that is created, ie. Call Notes. I know I could do it with a flow but I was trying to utlize publisher actions.  Would a VF page as a quick action work?  If so where would I start?  Any help is apprectiated 
SonamSonam (Salesforce Developers) 
Yes, you can have a visualforce page as a global action..reference:http://blog.jeffdouglas.com/2010/04/28/uploading-an-attachment-using-visualforce-and-a-custom-controller/

Code to get a VF page to upload attachment:
http://blog.jeffdouglas.com/2010/04/28/uploading-an-attachment-using-visualforce-and-a-custom-controller/