06-09-2020 06:47 AM
Hi,
My issue is when i am trying to hide the side library/document tree the one highlighted with upload/create also gets hidden. Can you please guide me how i can hide only side document tree/library.Thanks!!
06-10-2020 12:52 AM
How you are hiding?
Which files you are modifying?
06-10-2020 12:59 AM
I am using below xml file in site-data to hide component.
<!-- This files is to remove tree component from site -->
<extension>
<modules>
<module>
<id>Hide Document Tree</id>
<version>1.0</version>
<auto-deploy>true</auto-deploy>
<components>
<component>
<region-id>tree</region-id>
<source-id>documentlibrary</source-id>
<scope>template</scope>
<sub-components>
<sub-component id="default">
<evaluations>
<evaluation id="ToHideDocumentTree">
<render>false</render>
</evaluation>
</evaluations>
</sub-component>
</sub-components>
</component>
</components>
</module>
</modules>
</extension>
06-10-2020 02:47 AM
Hi,
With given code, for me it is hiding only document tree, not toolbar.
Path of extension module file : web-extension\site-data\extensions\demo-xxx.xml
06-10-2020 04:19 AM
Hi @sanjaybandhniya ,
Thanks for replicating the issue .If you notice that above the document the value got changed as "node.root"(below create action ). Also if you hide sidebar components like categories and tags then it will hide the mentioned upper menus also
06-11-2020 12:52 AM
May be you can override tree.js file to remove treeview.
Explore our Alfresco products with the links below. Use labels to filter content by product module.