All code will be initiated from a js function (set as JsFunctionName) which you'll need to add to your class that implements IAction. For example, to open a dialog from a context menu, add this code
public string JsFunctionName { get { return startDialog();"; } }
Add new context menu item
I have seen the code / video to add a new context menu ... however, I am not completely clear on how to add "real world" code for the menu item.
I need to add code that will copy a node from one place to another and publish, etc.
All code will be initiated from a js function (set as JsFunctionName) which you'll need to add to your class that implements IAction. For example, to open a dialog from a context menu, add this code
Does that help?
Cheers,
/Dirk
Yes, I think so - doing it tomorrow, so I'll find out then ;-)
It worked! :-)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.