cancel
Showing results for 
Search instead for 
Did you mean: 

Links between document

anovotny
Champ in-the-making
Champ in-the-making
Hello,
I have following problem:
I have links between documents - hyperlink from docA to docB in MS Word or data source in fileA for fileB in MS Excel.
All of these documents are stored in alfresco DM.
But if I move the document to different folder, the links stop working.
Is there a way how to define the links in the document to work the same like the peer-to-peer association in alfresco?
Thank you.
Ales
6 REPLIES 6

norgan
Champ in-the-making
Champ in-the-making
Hi,
you would have to write a parser, which is able to edit MS Office documents. Even with a "normal" Web CMS, what you want is nontrivial, and doing it in "foreign format files" is even more fun, I am afraid.

Alternately, I guess, you would need to setup a "redirection" space with something like a redirection service, using a kind of "permalink" to http://myserver.com/Alfresco/Doclink?docid=08154711, like tiny urls. Moving the doc would then only change the url inside Alfresco, leaving the external link  with "docid=08154711" intact. you could generate somethine like this via an action "makePermaLink", which registers your document with the "tracer app" and generates this string, your editor is to use.

Second idea - maybe you can use metadata properties to make word parse the data into a form field. Only, that word will not update these fields automatically, the user has to push "F9" to do this. You would need a macro inside word as well, which is ugly.

Norgan

anovotny
Champ in-the-making
Champ in-the-making
Thank you for the answer.
It really doesn't look very simple… :?
I though, that might be some way, how to specify the link based on the identification which is e.g.
http://192.168.1.75:8080/alfresco/d/d/workspace/SpacesStore/a7a0180d-36c7-4638-ad6d-b0bb55e29a83/Wor...

Is it somehow possible? If not, I will have to the way you described…
Ales

norgan
Champ in-the-making
Champ in-the-making
Hi Ales,
just go into the details page and test the different URLs, listed up there, if any changes when you move the document. If you find one that stays the same, there you have your URL. Then you only need to find a way to automatically offer this to your users.

Norgan

chaibi
Champ in-the-making
Champ in-the-making
Hi,
I am facing the problem of relative links in OpenOffice documents. Relative links works fine in local folders, in my machine but not in Alfresco.
Have any idea ?

Thank you.

norgan
Champ in-the-making
Champ in-the-making
Relative links inside a CIFS drive should work…. never testet it though

david_greenbaum
Champ in-the-making
Champ in-the-making
There is a program called LinkFixerPlus that fixes this broken links issue.

What you would do is:
– Run a process called "Inoculate" on all the XLS files.
– Rename and/or move the XLS files however and wherever you want, including into a WebDAV repository.
– Run a process called "Cure" and all the links are automatically repaired. When an XLS file is checked out of the repository, it should point now to the destination XLS file in the repository.

It works with Excel files and also Word, PowerPoint, InDesign, PDF, PageMaker, HTML, MicroStation, AutoCAD and other common file formats.

The link is http://www.LinkTek.com.

David Greenbaum