4

I've created a global action that pulls up content from a VF page inside of Salesforce1, triggered by viewing a record, clicking + and then clicking on the custom icon.

The page displays fine, except that it always has an active 'Cancel' button and a greyed out 'Submit' button. I simply want a 'Back' button there instead, which would go back to the record regardless of any VF navigation the user performs. Is this possible or will I have to wait for a future update?

4
  • what's the difference between pressing the cancel or having a back navigation? I would to both the same right? Also, know that you could enable the submit button of the publisher action window via the Force.com Canvas SDK: salesforce.com/us/developer/docs/platform_connect/Content/… .
    – KoenVM
    Commented Jan 14, 2014 at 13:24
  • Thing is I want to display information only, so have nothing to do with Submit and Cancel isn't exactly user friendly. That aside, Cancel doesn't even seem to work!
    – Matt Lacey
    Commented Jan 14, 2014 at 22:23
  • 1
    I see. If it's just displaying information, my first idea would be to use mobile cards instead but you probably have a good reason why you wanted to show the page in a publisher action? Fact that the cancel isn't working is somewhat troubling :).
    – KoenVM
    Commented Jan 15, 2014 at 7:21
  • The content displayed is dynamic based on the record being viewed... will look at cards though!
    – Matt Lacey
    Commented Jan 16, 2014 at 0:50

1 Answer 1

2

As of Summer '15 you can hide the header in Visualforce custom actions by setting the showQuickActionVfHeader attribute to false (see the Summer '15 Release Notes).

So you could hide the buttons and then add a "back" button in your VF page that basically does the same thing as cancelling. Not perfect, but at least less confusing for the end user.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .