Skip to content

Word Document Data fields not updating when using email sending #13619

Description

@SORMAS-JanBoehme

Bug Description

When a document template includes a dynamic data field (in this case the current date specifically) it does not update when the document is generated.

This is most likely because the field only updates when you actually open the file in Word. But in this case it is not opened before it is being sent.

Please check if there is any way of making the fields update without opening the file or if it is possible to use the SORMAS template fields to add the option to add the current date.

Reproduction Steps

  1. Create a document template with a "Date" field in it.
  2. Upload template as email template
  3. Use email template to send a document
  4. Observe sent document

Expected Behavior

The "Date" field should display the date the document was created and sent.

Affected Area(s)

Web app

SORMAS Version

Android version/Browser

User Role(s)

Server URL

No response

Additional Information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn error or misbehavior of an existing feature (ticket type)luAdaptations requested by or implemented for Luxembourg

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions