I have a custom context menu item added to
/sitecore/content/Applications/Content Editor/Context Menues/Default.
I only want it to be displayed based on the item the context menu is being triggered on.
How do I modify the Command implementation to account for this logic?
Also is it possible to have it rules based instead of coding it into the Command Logic?