3

Can anyone help me to find a solution to disable publish or unpublish button in ribbon tool bar or context menu ?

Could this be achieved using command extension from Tridion GUI extension ? If yes then what would be the process to write down the configuration file and java-script file to implement this ?

  • 1
    PeterK explained you can disable buttons in this answer: tridion.stackexchange.com/a/15406/46. Get started with a GUI extension. The Alchemy framework seems to be popular in the community as a way to get started quickly. – Alvin Reyes Oct 19 '16 at 18:16
  • 1
    Instead of implementing an extension, why not just create a security group with no permission to publish? – Robert Jin Oct 19 '16 at 23:41
  • If they shouldn't be able to publish or unpublish, remove their rights! If you want to hide it based on other conditions, this is probably worth a read: jaimesantosalcon.blogspot.com/2011/10/… – Nuno Linhares Oct 20 '16 at 12:18
8

If this makes sense per your business requirement (and do not want to restrict yourself to GUI Extension), you may follow the below approach as well:

  1. Create a group in Tridion CME and add all users for whom you want to disable the Publish/Unpublish button. Also, ensure none of the user is a system administrator in Tridion CME.
  2. Now open publication properties for all those publication in which you want to disable these buttons
  3. Navigate to the "Security" tab
  4. Select the group in left side pane that you created in step 1
  5. In the right pane ensure the "Publish to Content Distributor" is UnChecked (Not Allowed) Refer the screen shot below: enter image description here

I hope this helps.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.