Book a Demo

Author Topic: Model Template  (Read 3509 times)

furman76

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
    • View Profile
Model Template
« on: January 16, 2017, 07:36:13 am »
How do I package model templates with MDG Technology file? When technology is imported, the file is copied to the APPDATA, but the template doesn't, and I have no control over its location on the users computer.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Model Template
« Reply #1 on: January 18, 2017, 09:43:58 pm »
Hello,

Model templates are not packaged or distributed with an MDG Technology. The technology XML file simply contains the location of the template XMI file, which you've added to the technology's MTS file.

In order for the EA client to find the template XMI file, it must be placed in a shared folder which is accessible from the clients' machines.
So place the templates in a shared folder, and make sure to use UNC path names in your MTS files.

If you don't have any shared folders which all clients can access, model templates are essentially unviable. You could create an MSI installer which places the template XMI files in some specific folder on the client machine, refer to that location in the MTS file and then make sure that all clients install the MSI package, but that's an awful lot of work for very little gain.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.