I am trying to run the command cmd.bp.sortPagesByBookmarks, to sort pages based on the order of the bookmarks.
I'm running it like this from code:
Code: Select all
var cmd = uiInst.CmdManager.Cmds.Find("cmd.bp.sortPagesByBookmarks");
if (cmd == null)
return false;
_Inst.ExecUICmd2(cmd.ID);
If I activate the ribbon toolbar and run it from the bookmark pane, it does work.
How can I run this from code?
I use version 8.0.336
Regards
Ronny