Some custom actions in SharePoint display an additional message with possible reason of the action being disabled. Is there a simple way of adding such a message only when the action is disabled (for example a specific CAML property) or can it be achieved only using JavaScript/jQuery?



You can use ToolTipTitle and  ToolTipDescription of the Button element in custom action.

  • But aren't tooltips displayed always when the action is pointed on, no matter whether it's disabled or enabled? – Szab Apr 15 '15 at 22:20
  • Yes. You can check that by hovering mouse over disabled ribbon buttons. – Amal Hashim Apr 15 '15 at 22:21
  • Yeah, and what I wanted to achieve is to display the hint ONLY when the action is disabled. – Szab Apr 16 '15 at 11:43

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.