Reminder Resend Preview

While working on email templates the other day - for the grouped reminder template.  

Is it still an issue for preview ? ...ie it appeared that when I previewed what would typically be a grouped reminder.  And certainly the attached document was a grouped reminder.   The object being passed to the Email template was the customer object.  not The document as per the special template fields.

I couldnt use `openvpms:get(.,'customer.entity.firstName')` but `openvpms:get(.,'firstName')` works fine

I had assumed the `.` would be the fields associated with the special grouped reminders.  https://openvpms.org/documentation/csh/2.1/reference/reportFields#special

which would indicate customer is a field.

 

Comment viewing options

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

Re: Reminder Resend Preview

What version are you running? There was a bug fixed for 1.9.3 and 2.0 back in September last year along these lines: OVPMS-1944

Re: Reminder Resend Preview

Version: 2.1-SNAPSHOT (20180921-133129.8cefde0)
 
Regards
 
Ben 
OpenVPMS Installer and Helper (Smalltime Developer) 
Ph: +61423044823 
Email: benjicharlton[at]gmail[dot]com

Re: Reminder Resend Preview

Keep in mind this is in the PREVIEW screen found in Reporting-Reminders

Regards
 
Ben 
OpenVPMS Installer and Helper (Smalltime Developer) 
Ph: +61423044823 
Email: benjicharlton[at]gmail[dot]com

Re: Reminder Resend Preview

This is a bug. See OVPMS-2086

If you use a JasperReport template it will work correctly.

Note that if you want to use expresssions, you can use $customer to access the customer.
E.g. concat('Dear ', $customer.firstName, ' ', $customer.lastName)
If you have a single reminder, or are grouping on patient, you can use $patient to access the patient as well.

Syndicate content