Removing items from AM right-click menu

Hey guys,


I seem to have the Document Importer mostly working (well for OOo docs anyway) and am just doing some tidying up.



I’m having some issues removing Web Paths and Relevance Weights from the right click menu. I’ve removed everything else but the expected…

      unset($this->static_screens[‘webPaths’]);
 unset($this->static_screens[‘relevanceWeights’]);
…didn’t work as expected. There’s a number of assets that don’t have these but I’m unable to see how these have been removed.



Anone able to assist on this?

Anyone at all?

Sorry, must have missed this post.
You remove these screen from the edit_interface_screens.xml file. If you dont have one in your asset, it inherits from the parent.



Copy one over and remove the entries for these two screens. You can remove the PHP code because they are not static screens so it wont be doing anything.

Cheers Greg. That did the trick.