cancel
Showing results for 
Search instead for 
Did you mean: 

Document Name as Hyperlink

urshah
Champ in-the-making
Champ in-the-making
i am using Labs 3 and share.

We currently have all documents in share, but now have a need where some of the documents actually need to be physically stored in another databases for tracking purposes.
i would still like to have a record of that document in share with tags etc…, but when a user clicks on the document name it actually gets it from the secondary location and opens it in native form.

how can i accomplish this in Alfresco. if i have to modify the document properties in the web client i can.
the final behaviour i am looking for a user can search for the document in share based on a user friendly document name, use tags to find it, but then they click on the name, instead of opening a preview, it opens the document from the secondary document repository.

Anyone know how i could accomplish this?
3 REPLIES 3

urshah
Champ in-the-making
Champ in-the-making
Would appreciate any ideas from anyone on how to include a link to a document in the doclib instead of the actual document.

mikeh
Star Contributor
Star Contributor
Share currently doesn't support this behaviour (which is why nobody has replied I guess…)

Coincidentally, we're looking at behaviour similar to this for the DOD5015 Records Management add-in we're currently developing. Essentially you need to create a repository node that inherits from cmSmiley Surprisedbject instead of cm:content (because the content is elsewhere). You'd add properties to allow your external content to be addressed - a URL would be a good start! You'd then have to update the document library repository webscripts so they return these nodes (they'd get filtered out at the moment). You'd also need to enhance the DataTable renderers so that these new types of nodes get rendered correctly in Share. Depending on what format these documents are and whether a web browser can display them natively would decide how you'd link to them on the client. You could update the Web Previewer to accept an external URL if they happen to have a .swf preview.

There's likely to be way more than just the above (and all that was off-the-top-of-my-head stuff). Good luck!

Mike

urshah
Champ in-the-making
Champ in-the-making
thank you.