Document Templates Mover

This XrmToolBox tool allows you to copy Word document templates across different Microsoft Dataverse environments (developed by Tanguy Touzard).

Retaining the template GUIDs when deploying Document Templates to different environments is required when it is referenced in other configurations (e.g. classic workflow). But the problem is that Document Template is not solution aware and uploading the document would cause the problem for custom tables with different ObjectTypeCode in a different environment because tables in Word Templates are referenced by their ObjectTypeCode.
To overcome this issue, you can use this tool to transfer word document templates from one environment to another easily while maintaining the same GUID for the template.
  • Tool Information
  • Blog Mention
  • Functionalities
    • Copy over the document template to the target environment (Fig. 1, Pt. 2)
      • Load the Word templates in the environment (Fig. 1, Pt. 1)
      • Connect to the target environment (Fig. 1, Pt. 4)
      • Select the Word template(s) to copy (Fig. 1, Pt. 3)
    • Additionally, the tool can
      • Show the status of the actions in the logs (Fig. 1, Pt. 5)

    Fig. 1 - Document Templates Mover

    This is part of the #TooLDR series where I test and review the tools for Power Platform. You can check out the information for the other tools on this page.

    Comments

    1. Hello Linn, do you have any blog post that shows how to query word template table in dataverse to get a specific template associated with the quote table (as an example), configure the mapping for the fields, export it to PDF and send it by email automatically through Power Automate? Or is it possible for perform a bound action to an entity directly and export a specific template as PDF and send it in an email through power automate? Please let me know your feedback and would highly appreciate it if you can provide an example.

      https://imgur.com/ZpGeXFG

      ReplyDelete
      Replies
      1. Yes, it is possible. Try to follow this solution which uses a classic workflow to generate the Word Template and attach it to Notes + a cloud flow to send the Note attachment as an email and delete the Note.
        https://barhead.com/power-automate-dataverse-autogenerate-attach-document-templates-email/

        Just a bit of update to that solution. Since that blog post was written, there was an update to the Dataverse connector and we can now create an email attachment without using the Dataverse (legacy) connector anymore.
        Refer to step 5 in my blog post.
        https://linnzawwin.blogspot.com/2020/05/send-email-from-dynamics-365cds-with.html#CreateAttachment

        Delete

    Post a Comment

    Popular Posts