Hello,
Basically, we want to make the property to readOnly on selection of file/document(e.g. on click of Browse button for Add/CheckIn).I suppose it can't be done using filter. So, we tried using aspect.
Code-Snippet:
aspect.after(AddContentItemDialog, "_onFileInputChange", function(){
var commProps =this.addContentItemPropertiesPane._commonProperties;
var props = commonProps._view.properties;
array.forEach(props, function(prop, i){
var name =prop.controller.id;
if(name === "test"){
var node = prop.domNode;
dojo.style(node, "readOnly", true);
});
}
Is there any way, we can make the Property to readOnly on selection/Browse of the file??
#IBMContentNavigator(ICN)#Support#SupportMigration