How to create link between 2 documents in Alfresco WebClient

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2006 08:42 AM
can anybody let me know the steps to provide a link between 2 documents. Eg. document1 uploaded to Alfresco will have a link to document2 uploaded to Alfresco.
How do I create this link ?
Need this info urgently.
-Thanx.
How do I create this link ?
Need this info urgently.
-Thanx.
Labels:
- Labels:
-
Archive
5 REPLIES 5

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2006 09:03 AM
hi,
this has been answered here : http://forums.alfresco.com/viewtopic.php?t=3359&highlight=link
however, it only shows path of the other document in the properties, but not as an hyperlink, i'm looking for a solution for how to do it.
this has been answered here : http://forums.alfresco.com/viewtopic.php?t=3359&highlight=link
however, it only shows path of the other document in the properties, but not as an hyperlink, i'm looking for a solution for how to do it.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2006 01:46 AM
Thanx. I saw that link mentioned.
Has anybody tried that solution ? If yes pl let me know the steps which files need to be changed ?
thanx in advance.
Has anybody tried that solution ? If yes pl let me know the steps which files need to be changed ?
thanx in advance.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2007 05:34 AM
only these 3 files need to be modified :
- rename example-model.context.xml.sample to example-model.context.xml
- you can add for instance this aspect in exampleModel.xml :
HTH
- rename example-model.context.xml.sample to example-model.context.xml
- you can add for instance this aspect in exampleModel.xml :
<aspect name="cm:validXmlDocument"> <title>Linkable</title> <associations> <child-association name="cm:xmlDocumentSchema"> <title>Document link</title> <source> <mandatory>false</mandatory> <many>false</many> </source> <target> <class>cm:content</class> <mandatory>false</mandatory> <many>true</many> </target> </child-association> </associations> </aspect>
- configure the web client for this aspect to appear in the interface by modifying web-client-config-custom.xml :<config evaluator="aspect-name" condition="cm:validXmlDocument"> <property-sheet> <show-child-association name="cm:xmlDocumentSchema" component-generator="cm:xmlDocumentSchema" display-label="Linked Documents"/> </property-sheet> </config> <config evaluator="string-compare" condition="Action Wizards"> <aspects> <aspect name="cm:validXmlDocument"/> </aspects> </config>
HTH
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2007 11:58 AM
I have been able to display a link to an associated document using a template. Linking directly to the document works well, but there is a problem linking to the detail view of the document. Details are in the thread http://forums.alfresco.com/viewtopic.php?t=5019
Hope this helps. If you find a solution to the problem in this thread, please post a response.
/jon
Hope this helps. If you find a solution to the problem in this thread, please post a response.
/jon
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2007 10:43 AM
I followed the instructions above and now I have the following error when adding the aspect.
Please correct the errors below then click Finish.
* Failed to run Actions due to error: The aspect is invalid: {http://www.alfresco.org/model/content/1.0}validXmlDocument
Somebody fimiliar with this error?
Please correct the errors below then click Finish.
* Failed to run Actions due to error: The aspect is invalid: {http://www.alfresco.org/model/content/1.0}validXmlDocument
Somebody fimiliar with this error?
