Hi,
Background: I have a folder search. When I click on properties on one of the search result item(Folder), I could see following tabs Properties, Security and Associate Entry Templates. Once I opened the Folder, it contains Documents.
When I click on properties on one of the search result item(Document), I could see follows tabs Properties, Security, Versions, FoldersFileIn, ParentDocuments and Content Elements Pane.
Requirement: I need to hide the tabs of Folder and Document except the tab Properties.
What I have tried so far: I have tried below code.
aspect.after(ecm.widget.dialog.EditPropertiesDialog.prototype, "show", function() {
//Below are document properties tabs
//folders filed in
this._itemEditPane._itemFoldersFileInPane.controlButton.domNode.style.display = "none";
//parent document pane
this._itemEditPane._itemParentDocumentsPane.controlButton.domNode.style.display = "none";
//content elements pane
this._itemEditPane._itemContentElementsPane.controlButton.domNode.style.display = "none";
//version selecor combo box
// this._itemEditPane._versionSelectorPane.domNode.style.display = "none";
//Below are folder properties tabs
//secrurity pane
this._itemEditPane._itemSecurityPane.controlButton.domNode.style.display = "none";
//associate entry template pane
this._itemEditPane._EntryTemplateFolderAssociationsPane.controlButton.domNode.style.display = "none";
});
Issue: It is hiding only document tabs but not Folder tabs.
Note: If I change the order in the above code, that is first I put the code related to Folder followed by Document. The folder tabs are hidden but not Document tabs.
Please suggest me how to hide both Folder and Document tabs.
#IBMContentNavigator(ICN)#Support#SupportMigration