Document Input Fields - Order of presentation in Openvpms

Does anyone know how to regulate the order of presentation in Document Input fields...for Letters ?

We have a few documents with around 15-20 input fields when they are generated.....the order seems completely random. 


For those in development, it was suggested that opening the Letter template (odt) file as an archive (did you know that ODT files are actually an archive!) and looking at the context.xml file you would see the order...but that is not correct. The OOO java  api must parse the fields to OPVMS which then gerenates the display window

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Document Input Fields - Order of presentation in Openvpms

An issue for us as well...

Re: Document Input Fields - Order of presentation in Openvpms

This is currently not supported, as OpenOffice returns the fields in random order.

There may be a workaround by using each fields X-Y position in the document to determine the order, or simply sort them in alphabetical order.

I've created a JIRA here: https://openvpms.atlassian.net/browse/OVPMS-1278

-Tim

Re: Document Input Fields - Order of presentation in Openvpms

Hi,

Has anyone come up with a solution for this?

Greta

Re: Document Input Fields - Order of presentation in Openvpms

If you are generating PDFs, one workaround is to use JasperReports instead of OpenOffice/Word templates. These present fields in the order they are declared as parameters in the report.

Another possibility is to use the External Edit facility in 1.9 i.e. don't use fields, but instead edit the document manually in OpenOffice.

Syndicate content