Hi GOPALKRISHNA ,
do not change files in the navigator deployment directly. There is a plugin interface that can be used to make adjustments - for example, using aspect as described above.
These extensions also work in the compressed scripts of the navigator (beyond the debug mode).
Or find a partner who can support you.
Best regards
Christoph
------------------------------
Christoph Sünderkamp
------------------------------
Original Message:
Sent: Wed May 31, 2023 12:09 PM
From: GOPALKRISHNA PARVATIKAR
Subject: Content Navigator: Customization to hide tabs Security, Versions, Parent Document not working
Hi Shashi,
We also want to disable Multipart tab in properties but not finding way. You showed sample code to disable tabs in properties. Just for our clarity exactly which file we need to make change (custom code) . Pardon me for this question as we are new to ICN coding.
Presently we tried to comment " this._addContentElementsTab()" in ItemEditPane.js.
It removes Multipart tab but only in debug mode .
If it worked for you then your help is appreciated.
------------------------------
GOPALKRISHNA PARVATIKAR
------------------------------
Original Message:
Sent: Thu March 16, 2023 03:09 AM
From: shashi kumar
Subject: Content Navigator: Customization to hide tabs Security, Versions, Parent Document not working
Hi Ravi ,
It looks like by the time your aspect intercept show method of EditPropertiesDialog item properties pane is not loaded completely in dialog domNode. It's better we add same logic after item properties pane is fully completed it's rendering. adding a sample code for your reference
code
require(["dojo/aspect","ecm/widget/ItemEditPane" , "dojo/_base/array","dojo/_base/lang","dojo/dom-class"], function(aspect,ItemEditPane,array,lang,domClass) { aspect.after(ItemEditPane.prototype, "onCompleteRendering", function() { var tabs = this._tabContainer.tablist.getChildren(); array.forEach(tabs,lang.hitch(this,function(tab) { if( (tab && tab.label == "Comments") || (tab && tab.label == "Security") || (tab && tab.label == "Versions") || (tab && tab.label == "Parent Documents") || (tab && tab.label == "Content Elements") || (tab && tab.label == "Folders Filed In") ) { domClass.add(tab.domNode, "dijitHidden"); } })); }); });
UI

Best Regards,
shashi kumar.L
------------------------------
shashi kumar