This post is part of a series of posts. Please use the links below to navigate through the related posts:
- Macro Templates Introduction
- Deployment
- Dataverse Tables
- Custom Page Dialog
- Power Automate Flow
- Javascripts
- Template File
- Final Notes
- Git Sources
To deploy the solution, follow these steps (loosely):
- Choose a sharepoint site you are going to use
- Add MacrosTemplates folder and Data folder under it (all in the “Documents” library)
- Upload DataExportTemplate.xlsx into MacrosTemplates folder
![](https://www.itaintboring.com/wp-content/uploads/2024/03/image-27.png)
- Now deploy the solution
- When deploying, configure SharepointSiteUrl variable to point to the Sharepoint site (as in, for example: https://<org name>.sharepoint.com/sites/Dynamics )
- Open Templates Demo application and add at least one template (there is a sample template in git)
![](https://www.itaintboring.com/wp-content/uploads/2024/03/image-28-1024x477.png)
Finally, to test it out, create a record in the Template Demo table and use “New Document” button to test it all out:
![](https://www.itaintboring.com/wp-content/uploads/2024/03/image-29-1024x552.png)