How To hide the section in document viewer
Hi I want to hide the document actions tab in the document view. i have tried hiding using the comments but it will be hidden in all over the documents.
Please see the screenshot below screenshot. https://prnt.sc/il8puu
in the above link i want to hide section1 not section2.
when i tried to hide it will hide both the documents.
Please help me solve the issue.
Activate debug mode, retrieve the id of the action you want to hide, configure the XML extension of the action accordingly (disable the action or define a filter).
an XML file under templates/custom/config is fine
I don't have debug configured on my server but if I remember well, you have to enable debug in the upper menuand then shift click on the part of the UI. Otherwise you can look for the action contribution in platform explorer : http://explorer.nuxeo.com/nuxeo/site/distribution/
<component name="org.nuxeo.ecm.platform.threed.layouts.override">
<require>org.nuxeo.ecm.platform.threed.layouts</require>
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
<action id="summary_threed_viewer" order="50" type="widget">
<category>SUMMARY_PANEL_LEFT</category>
<properties>
<property name="widgetName">summary_threed_viewer</property>
</properties>
<filter-id>hasThreeDFacet</filter-id>
</action>
</extension>
</component>
component = custom name
require = the component you want override
Platform explorer generates XML files such as
<component name="org.nuxeo.XXX.override">
There is no required component to override
Cannot find any nuxeo-document-viewer action in LTS2017, that 's the name name of a dom module in Polymer
asking 3 times the same question won t help
Please see the screenshot. http://prntscr.com/ilveik
<component name="org.nuxeo.ecm.liveconnect.action.override">
<require>org.nuxeo.ecm.liveconnect.action</require>
<!--...-->
<extension target="org.nuxeo.ecm.platform.actions.ActionService" point="actions">
<action id="blobAppLinks" type="template">
<category>BLOB_ACTIONS</category>
<properties>
<property name="template">/incl/action/app_links_action_template.xhtml</property>
</properties>
</action>
</component>