I created a custom VisualForce page to be used in Salesforce1, this page displays events and I have a button to create new events.
This button is currently calling
sforce.one.createRecord('Event')
and it works.
The issue is that in the publisher actions I also added the New Event Global Action with a specific Layout, while the sforce.one.createRecord is using a different Layout.
So to have something consistent I would like the button to call this "New Event" Global Action but I cannot find how to do that.
Best Answer
Unfortunately there isn't currently a way to assign an action to a button. sforce.one.createRecord() uses the standard page layout for the profile/record type, not an action layout.
You could fake it out by creating a Visualforce page that dynamically generates the form based on the action layout, something like this (this is a lead because it's code I had on hand, you can do something similar for your New Event action):
Then your Visualforce page looks something like this:
It's a hack and I don't recommend it as a solution, but I thought it was interesting to know it could be done. :-)