Extension point : hide LOCK and UNLOCK & add selection to clipboard button on some Documents
Hello,
I want to remove LOCK and UNLOCK and Add selection to clipboard on some Documents custom.
My filter is successful, because I could hidde other button, nevertheless, with this 3 actions, I couldn't find their action id name in order to apply my filter on it.
Do you know what is the XML code to redefined this 3 actions ? I failed with DOCUMENT_LOCK, DOCUMENT_UNLOCK etc…
thanks
Dear me,
All the action in document contextual tools are in
Open XML files and find all DOCUMENT_UPPER_ACTION for the good action id.
Then do :
<action id="documentLock" >
<filter-id>filterMe</filter-id>
</action>
<action id="documentUnlock" >
<filter-id>filterMe</filter-id>
</action>
<action id="addCurrentDocumentToWorklist">
<filter-id>filterMe</filter-id>
</action>
You need ALSO to filter as same the
- actions id=“DOCUMENT_LOCK”
- action id=“DOCUMENT_UNLOCK”
- action id=“CURRENT_SELECTION_ADDTOLIST”
because if not these actions will still be available in the contextual menu (opened by right-clicking on a document in a listing).