cancel
Showing results for 
Search instead for 
Did you mean: 

Open/edit documents directly on server

wesleyhwt
Champ in-the-making
Champ in-the-making
Hey,

I'm trying to implement a way to, instead of opening a flash preview of each pdf document, I'd like to have it open in Tracker Software's pdf Xchange. I don't want to have to edit files via downloading, editing, re-uploading.

I was thinking perhaps change the onComponentsLoaded function in web-preview.js to load a pdf Xchange, but I have no idea how to do that?

Is this the right way to go? If so, where do I start?

Any help or direction would be greatly appreciated. Thank you.

Sincerely,
Wesley
4 REPLIES 4

wesleyhwt
Champ in-the-making
Champ in-the-making
If this can't be done, then I was thinking of implementing a way to open documents remotely, where I can open documents, edit them, and when I hit save, it'll save directly to the server. Again, bypassing the need to download,  edit, and re-upload.

Any ideas?

mikeh
Star Contributor
Star Contributor
Have a look at how we've implemented Google Docs in the latest Community version, 3.3G

Thanks,
Mike

wesleyhwt
Champ in-the-making
Champ in-the-making
This is more of a question about JavaScript than it is about Share. But seeing as how I would like to just open the document, instead of downloading it, how can I retrieve a document's URL in JavaScript? I understand underneath 'Document Actions' you can expand [+] Share to find a Document's URL. How can I retrieve that in JavaScript?

I'm an Intern and very new to all of this.

zaizi
Champ in-the-making
Champ in-the-making
There's a webscript to stream the content from the repo. The URL is http://localhost:8080/share/proxy/alfresco/api/node/workspace/SpacesStore/7a6c35fd-ef53-4f93-85ca-4a.... You can build this URL in javascript to stream it down.

We've implemented online editing of MS Office documents in the browser using this.

Ainga