4

I would like to be able to conditionally enable/disable specific Publisher Actions on a record based on some execution logic. Is there any way to do that? I haven't been able to find any way to have a Publisher Action be displayed but disabled.

My current best solution is to simply take the user to a screen which explains why they cannot perform the action they've attempted, but that is definitely sub-optimal behavior.

1
  • Unfortunately, there is no way to do that for the moment. You can close by javascript the page but can't disable or hide the button.
    – brovasi
    Commented Apr 8, 2014 at 23:25

1 Answer 1

1

I would suggest using different record types + page layouts. Based on your execution logic, you could switch a record type to another one and then, on the page layout linked to that record type you can decide which publisher actions you want to show.

But of course, if this would lead you to creating tons of record types / page layouts, it could quickly become a maintenance issue so be cautious with this approach as well.

You must log in to answer this question.

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