0

I want to add a new button to the ribbon called "Closed", this button will update the column to "closed" in my "Status" Column inside my list. Also all the lines that got "Closed" status the button will be not clickable anymore.

How could i add a button to the ribbon and customize my actions?

Thank you!

2
  • Any idea how could i do that ?
    – SmithBZ
    Aug 30, 2019 at 9:26
  • are you using sharepoint in classic mode? Sep 1, 2019 at 6:13

1 Answer 1

0

Add custom action by JSOM so you could add enable/disable logic for your custom action.

Create Ribbon Custom Action Using JavaScript Object Model

To eanble/disable custom action, check the demo in below thread.

Enabling custom ribbon buttons dynamically based on multiple selected item values using RefreshCommandUI and JSOM

1
  • Both of these tutorials are helpful but i want to know how can i add XML file and CustomAction.js to my SharePoint Online to test it ? @Lee_MSFT
    – SmithBZ
    Sep 4, 2019 at 17:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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