AnsweredAssumed Answered

Custom document type with child relation

Question asked by olylak on May 2, 2018
Latest reply on May 2, 2018 by angelborroy

Hi everyone,

 

I have a following requirement:

 

Custom document type my:Document (inherited from cm:content) should always have my:DataFile attached to it.

 

As a result we should have:

 

1. When we create my:Document it should always have one mandatory my:DataFile.

2. When we delete my:Document - my:DataFile is deleted as well.

3. my:DataFile should not be visible for the users (in share ui). 

 

Any suggestions or samples will be appreciated.

Outcomes