04-12-2024 08:00 AM
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?
04-15-2024 05:25 AM
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/
04-15-2024 05:25 AM
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/
04-15-2024 06:13 AM
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>
Explore our Alfresco products with the links below. Use labels to filter content by product module.