Custom document type with child relation

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 05:17 AM
Hi everyone,
I have a following requirement:
Custom document type myocument (inherited from cm:content) should always have my
ataFile attached to it.
As a result we should have:
1. When we create myocument it should always have one mandatory my
ataFile.
2. When we delete myocument - my
ataFile is deleted as well.
3. myataFile should not be visible for the users (in share ui).
Any suggestions or samples will be appreciated.
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 10:27 AM
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.
