Can we Show up the multi operational commands for a specific node or node type ?

jsingh
edited October 10, 2022 in CSIDE and OScript #1

I have been trying to implement the custom multi-operational command and successfully implemented one.

It's working fine. I am just curious if we can have this custom multi-operational command for a specific node only.

I want this command to be present in just a specific folder of my choice.

Could someone help me with how to do so or this is possible or not?

Tagged:

Comments

  • Within the MSB you have an IsEnabled function so you can set that so that the button only appears when those conditions are met - e.g. if the container is of SubType X, in tree Y, has dataid Z etc (the last being your use case).

    The WebNode object contains an _IncludeMultiButtons and _ExcludeMultiButtons which acts as a secondary filter on all available, and enabled, buttons.

    For processing of content, e.g. only allowing processing of Documents but not emails, you would need to include that in your JavaScript (if fExecutesOnClient is TRUE) or OScript to handle that.