cancel
Showing results for 
Search instead for 
Did you mean: 

document link

mbayerl
Champ in-the-making
Champ in-the-making
Hi!

Is it possible to create a link between two documents?

Right now I was only able to create a link to a document and this link can only be placed in a space. Is it possible to create this link in a document so that I can relate two documents?

Thanks,
Michael
4 REPLIES 4

cneto
Champ in-the-making
Champ in-the-making
I have been asking the same question…but no one answers it  :?

If you figured it how to do that, please post it here…

I will be watching this post Smiley Happy

Regards,

rdanner
Champ in-the-making
Champ in-the-making
I have been asking the same question…but no one awsers it  :?

If you figured it how to do that, please post it here…

I will be watching this post Smiley Happy

Regards,

Sure this is possible.  You have to create a relationship in the content model (M2).  You can do this by creating a new type extended from content or by creating an aspect.

Either way the type or the aspect would have a property:

For example this aspect definition. :

      <aspect name="cm:validXmlDocument">
         <title>Valid XML Document</title>

          <associations>
            <association name="cm:xmlDocumentSchema">
               <title>Xml Schema or DTD</title>
               <source>
                  <mandatory>false</mandatory>
                  <many>false</many>
               </source>
               <target>
                  <class>cm:content</class>
                  <mandatory>false</mandatory>
                  <many>false</many>
               </target>
            </association>
         </associations>

      </aspect>

Then you must make changes to the web client in order to get the new property to show up on the properties pages.  This is well documented in the wiki.

Hope this helps

Sorry nobody got to you sooner – its easy to miss a question here – keep on top of the question and someone will get to ya! Smiley Happy

-R

rdanner
Champ in-the-making
Champ in-the-making
I have been asking the same question…but no one awsers it  :?

If you figured it how to do that, please post it here…

I will be watching this post Smiley Happy

Regards,

An interesting aspect would be some sort of general document association type aspect where you can assign the aspect which in turn would allow you to associate other documents to the aspect based on a name.

The issues with that is that it doesnt support cardinatlity and the names dont really enforce any semantics. 

I would shoot for some sort of relationship object in the middle which then would allow a much richer model.

cneto
Champ in-the-making
Champ in-the-making
thanks!

I will try this Smiley Wink