How to remove alfresco default properties for any file

cancel
Showing results for 
Search instead for 
Did you mean: 
ankitjainmanit
Active Member

How to remove alfresco default properties for any file

Jump to solution

Hi,

I wanted to check if I want to remove the below default properties for any file in Alfresco , is there any way to achieve this in Alfresco community version, would be very helpful if someone can asnwer.

Basically I am adding my own content-model.xml and adding own attributes via custom content model using custom types but not able to remove Alfresco default properties, so is there a way to override them/remove them?

Name: 
Title: 
Description: 
Author:
Mimetype:
Size: 
Creator: admin
Created Date: 
Modifier: admin
Modified Date: 
1 Solution

Accepted Solutions
sanjaybandhniya
Intermediate

Re: How to remove alfresco default properties for any file

Jump to solution

You can create your own content type and configure all required properties in share-custom-config.xml

Content Type: https://docs.alfresco.com/content-services/7.4/config/models/

 

View solution in original post

2 Replies
sanjaybandhniya
Intermediate

Re: How to remove alfresco default properties for any file

Jump to solution

You can create your own content type and configure all required properties in share-custom-config.xml

Content Type: https://docs.alfresco.com/content-services/7.4/config/models/

 

ankitjainmanit
Active Member

Re: How to remove alfresco default properties for any file

Jump to solution

Thanks a lot, was able to achieve using below code in share-config-custom.xml:

 

<config evaluator="node-type" condition="cm:content">
<forms>
<form>
<field-visibility>
<hide id="cm:name" />
<hide id="cm:title" force="true" />
<hide id="cm:description" force="true" />
<hide id="mimetype" />
<hide id="cm:author" force="true" />
<hide id="size" for-mode="view" />
</field-visibility>
</form>
</forms>
</config>