[OGo-Users] links to documents

Sebastian Reitenbach users@opengroupware.org
Tue, 08 Apr 2008 14:07:11 +0200


users@opengroupware.org wrote: 
> On 08.04.2008, at 12:30, Sebastian Reitenbach wrote:
> > Is there a way for an ordinary user to retrieve the DocumentId from a
> > docuement via the OGo WebUI, or even better, the complete link to the
> > docuement?
> 
> Don't know what you want to do but the documentId is not a user  
> accessible ID. In fact its not a valid marker since there can be  
> multiple 'documentIds' per document (check-out copy, versions, etc).  
I did not know that the DocumentId changes when a new version of a docuement 
is created. How does ogo find the "latest" version of a document, when there 
are versions, and the versions have different DocumentId's.
When i click on a versions tab of a document, and then "enter" an older 
version, then the send button disappears.

> Well and of course there are no docIds for FS projects anyways.
No problem here, I only have DB projects.
> 
> You can use the path of the file as an identifier (eg its exposed in  
> the download link). You can even refer to versions using ';' (eg  
> hello.txt;3).



when I use the send button, to send me a link to the file, then the link 
looks like:
https://ogoserver/OpenGroupware/wa/LSWViewAction/viewDocument?documentId=1049780
So no path of the file in it, how would I use the path of the file when I 
want to create links that point to the file into OGo?

How would such a link, containing the file path instead of DocumentId, look 
like?

Or do you are talking about the download link in the contents tab of a file?
Do I can share it, when I remove parts of it with other people, so that they 
can "jump in", just like using viewDocument direct action link? I removed 
everything after the actual file name, but when I then enter the link into 
the URL field of a browser, I only get an empty page.

kind regards
Sebastian