Referring to the Project Templates
Last updated
Was this helpful?
Last updated
Was this helpful?
1. To inform the application about where to find project templates, use a File Explorer to create the template root folder to a location/folder on the Windows Server. We suggest the path: C:/AlignedTemplates for the root folder.
2. And in the web.config, modify the existing serverTemplates entry: Company Name: The name of the organisation using this Web Server.
1) A copy of the templates needs to be placed somewhere on the web server machine
2) The ServerRoot value needs to be the physical location of the parent directory to the directory in 1) SeverRoot: The physical path of the parent directory to your template directories on the server machine.
3) The TemplateRoot value needs to be the path to the parent directory of the template directories, as known to the Windows Clients. TemplateRoot: If Aligned Elements is used from both Windows and Web servers and the template sets reside in a location to which the web server does not have access (e.g. a File Share somewhere known to the Windows clients but not to the web server)
Example: The Windows Aligned Clients have access to the aligned elements templates via a file share mapping called Z:/AETemplates (which is the parent directory to all template sets such as Z:/AETemplates/IEC 62304 Templates.) The Web server does not have access to Z:/AETemplates location.
The steps forward are thus:
1) Create a directory on the Web server (e.g. C:/AlignedTemplates) and place a copy of the IEC 62304 templates in this location
2) Configure the web.config such as: ServerRoot=”C:/AlignedTemplates” TemplateRoot=”Z:/AETemplates”
If no Aligned Elements Windows clients are used, the TemplateRoot value can be set to the same value as ServerRoot.
StorageConnectionString: This field is only used when the Templates reside in an Azure File Storage. Contact support@aligned.ch for more information.
If you have multiple template locations, you may set up multiple entries.