Topic
4 replies Latest Post - ‏2013-07-09T04:20:19Z by XB3V_Keshav_Chauhan
XB3V_Keshav_Chauhan
XB3V_Keshav_Chauhan
31 Posts
ACCEPTED ANSWER

Pinned topic FolderContextMenu in Plugin

‏2013-06-20T12:16:32Z |

Greetings,

I have developed an action for FolderContextMenu,Can i restrict this action to be available only on a specific folder

 

Thanks & Regards,

Lakshya Agarwal

  • damorris
    damorris
    656 Posts
    ACCEPTED ANSWER

    Re: FolderContextMenu in Plugin

    ‏2013-06-21T02:54:03Z  in response to XB3V_Keshav_Chauhan

    Yes

    • XB3V_Keshav_Chauhan
      XB3V_Keshav_Chauhan
      31 Posts
      ACCEPTED ANSWER

      Re: FolderContextMenu in Plugin

      ‏2013-06-21T07:13:03Z  in response to damorris

      Thanks for reply damorris,

      How to restrict it??

      • BJOwings
        BJOwings
        185 Posts
        ACCEPTED ANSWER

        Re: FolderContextMenu in Plugin

        ‏2013-07-08T20:32:17Z  in response to XB3V_Keshav_Chauhan

        Take a look at the sample plugin's CustomAction.  Your custom action should be extending ecm.model.Action.  Then, you can override isEnabled to enable the action for only certain folders.