AnsweredAssumed Answered

Hide Meta data of Custom Content Type from client side js

Question asked by riya.soni42 on Mar 23, 2017
Latest reply on Mar 24, 2017 by afaust

Hi,

 

I have created custom model and created 5 custom type in that and also add meta data fields in each content type by doing confiuration in share-config-custom.xml,

 

Now I want to add or remove some meta data fields from selected type which we have selected in Alfresco Advanced Search Screen,
I have referred below link :

 

Hide default metadata in view properties 

 

But, I don't want that meta data field is always hidden. So, I can not use <hide-property> tag for that.
So I have to change it from client side js, may be from advsearch.js or form.js contained in path Alfresco/tomcat/webapps/share/components/search and Alfresco/tomcat/webapps/share/components/form respectively.

But I don't know how to change it from client side js.

Please provide me the way to remove the meta data fields without affecting the custom model in share-config-custom.xml.

I am using alfresco-5.2.

 

Thanks in advance.

Outcomes