Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Reporting
    • Labels:
      None
    • Sprint:

      Description

      Extend templateload to support the loading of email templates, and linking them to entity.documentTemplates.

      E.g.

      <templates>
      
          <email-template name="Grouped Reminders Email"
                                     description="Reminder template for grouped reminders sent via email"
                                     subject="A friendly reminder"
                                     subjectType="TEXT"
                                     path="Reporting/Reminders/A4/Grouped Reminders Email.jrxml"
                                     system="true"/>
      
          <template name="Grouped Reminders Report" archetype="GROUPED_REMINDERS" reportType="PATIENT"
                    description="Used by Reporting|Reminders|Print &#038; Send All buttons for Grouped Reminders" 
      			  path="Reporting/Reminders/A4/Grouped Reminders.jrxml"
                    mimeType="text/xml" docType="document.other">
              <email-template name=""Grouped Reminders Email"/>
          </template>
      </templates>
      
      

      Specifying system=true will create an entity.documentTemplateEmailSystem (and therefore not be listed as an option in the Mail editor).
      Specifying system=false (the default) will create an entity.documentTemplateEmailUser.

      This will only support email templates with DOCUMENT contentType. i.e. there is currently no requirement to support TEXT, MACRO, or XPATH.

        Attachments

          Activity

            People

            • Assignee:
              tanderson Tim Anderson
              Reporter:
              tanderson Tim Anderson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 6.5h
                6.5h

                  Who's Looking?