cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove alfresco default properties for any file

ankitjainmanit
Champ on-the-rise
Champ on-the-rise

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 ACCEPTED ANSWER

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

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 answer in original post

2 REPLIES 2

sanjaybandhaniya
Elite Collaborator
Elite Collaborator

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/

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>

Getting started

Explore our Alfresco products with the links below. Use labels to filter content by product module.