Custom document type with child relation

cancel
Showing results for 
Search instead for 
Did you mean: 
olylak
Member II

Custom document type with child relation

Hi everyone,

I have a following requirement:

Custom document type mySmiley Very Happyocument (inherited from cm:content) should always have mySmiley Very HappyataFile attached to it.

As a result we should have:

1. When we create mySmiley Very Happyocument it should always have one mandatory mySmiley Very HappyataFile.

2. When we delete mySmiley Very Happyocument - mySmiley Very HappyataFile is deleted as well.

3. mySmiley Very HappyataFile should not be visible for the users (in share ui). 

Any suggestions or samples will be appreciated.

1 Reply
angelborroy
Alfresco Employee

Re: Custom document type with child relation

Old but still relevant: https://www.ixxus.com/blog/blog201109customising-upload-files-dialog-alfresco-share/

Basically you have to define a custom content model in Repository and to customise forms and fields in Share.

Hyland Developer Evangelist