[OpenVPMS Developers] [JIRA] Created: (OVPMS-976) Add WebDAV support to edit documents

Add WebDAV support to edit documents ------------------------------------

Key: OVPMS-976 URL: https://openvpms.atlassian.net/browse/OVPMS-976 Project: VPMS Web Application Issue Type: New Feature Components: Customer, General, Investigations, Patient Affects Versions: 1.4 Reporter: Tim Anderson Assignee: Tony De Keizer

Editing documents in OpenVPMS is currently a laborious process as it involves downloading documents to the user's PC in order to edit them, followed by re-uploading to OpenVPMS. If documents are exposed as WebDAV resources, they can be edited directly by WebDAV enabled editors such as Microsoft Word and OpenOffice, thus avoiding the download/upload steps.

Typically, to edit a document via WebDAV, you paste its URL into the editor's File -> Open dialog. This can be simplified further by providing a small Web Start application that automatically launches the appropriate editor for the document when you click it's link. This is the approach we will take.

h3. Requirements

The initial requirements are as follows: # exposes documents as WebDAV resources Only those documents for which there is a WebDAV client should be supported. Initially this should be the formats supported by OpenOffice/Word. This should be configurable # restrict editing to the most recent version of a document Versioning won't be supported - just replacement of existing content. # add links (or buttons) for editable documents in the following workspaces: #* Patient -> Summary #* Patient -> Medical Records -> Documents #* Customer -> Documents #* Supplier -> Documents #* Administration -> Templates # provide a Web Start launcher to run the appropriate editor when a document is selected for editing

h4. Editable documents Letters, Attachments, Investigations and Images that have an attachment document in a Word/OpenOffice format are editable. This includes the following archetypes: * act.patientDocumentLetter * act.customerDocumentLetter * act.supplierDocumentLetter * act.patientDocumentAttachment * act.customerDocumentAttachment * act.supplierDocumentAttachment * act.patientDocumentInvestigation * act.patientDocumentImage (image would need to be wrapped in a .doc etc)

h4. Non-editable documents Documents that are generated on demand aren't saved. This applies to the Forms: * act.patientDocumentForm * act.customerDocumentForm * act.supplierDocumentForm.

h4. Web Start Editor Launcher To edit a document, the user should click a link which contains a URL like: {noformat} http://mysite.com/openvpms/launch.jnlp?document.other-55 {noformat} The *document.other-55* part is the encoded document reference which in turn is converted to a WebDAV URL like: {noformat} http://mysite.com/openvpms/documents/document.other-55 {noformat} The launch.jnlp file downloaded to the client includes this URL as an argument to the editor Launcher. The Launcher is then run on the client's PC by Web Start. The Launcher then uses Eclipse SWT to find a editor for the URL, which it then runs.

-- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://openvpms.atlassian.net/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira

_______________________________________________ OpenVPMS Developers Mailing List developers@lists.openvpms.org To unsubscribe or change your subscription visit: http://lists.openvpms.org/listinfo/developers Posts from this mailing list can be viewed online and replied to in the OpenVPMS Developer's forum- http://tinyurl.com/openvdf

Syndicate content