I wrote a command and put it in layout set AdminExplorer - AdminMenu - AdminMassGroup. However, during navigation, method this.getResource() is null in
IRenderingEvent execute(IScreenflowData arg0).
If I put the command in the context menu of a document, not in the menu bar, I can get the current resource using this.getResource.
So how can I get the Rid the user is working on in a command in the menu?