cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a secondary child association using Apache CMIS java library

IBelyaeva
Champ in-the-making
Champ in-the-making

Please point me to an example of code how to create a secondary child association, with the given association type, between the parent node and a child node using Apache Cmis Chemistry library (https://chemistry.apache.org/java/opencmis.html ).

For example, I have:

Document parentNode;

Document childNode;

child-association

    <aspect name="rn:renditioned">
         <title>Renditioned</title>
         <associations>
            <!-- This association links the source content node to the rendition -->
            <child-association name="rn:rendition">
               <source>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </source>
               <target>
                  <class>cm:content</class>
                  <mandatory>false</mandatory>
                  <many>true</many>
               </target>
            </child-association>
         </associations>
      </aspect>

How to create a secondary child association, with the association type "rn:rendition", between the parentNode and the childNode in java using Apache Cmis Chemistry library?

1 REPLY 1

Joshuadaye
Champ in-the-making
Champ in-the-making

I am aslo have a same issue. and i am still not have peoper solution. I just want to know that there are anyone has comes out and tell us what to do? Dinar Detectives Update