Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: albert on April 04, 2017, 11:35:33 pm
-
Hello,
Where are stored the Document generation templates created by the user and also those that are imported via MDG Technologies ?
Thanks in advance,
Albert
-
Try
SELECT * FROM t_document WHERE ElementID="SSDOCSTYLE"
q.
-
Thanks for your help. Thanks also for your e-books, very helpful.
One more question : do you have any ideas how to import reference data (scripts and templates) via a JScript script or a C# Add-In ?
I currently encounter a bug (as admitted by the EA support) :
- fragment templates using script
- templates and scripts are embedded in a MDG technology
- after deployment of the technology, the link between the fragment templates and the script is lost due to the fact that the script groups are not included in MDG technologies, as a result any scripts included lose their special types.
Best regards
-
See on p. 39 of Scripting:
xmlres = Respository.CustomCommand("Repository", "ImportRefData", sXML);
In a former EA version I had issues importing image data where the internal IDs got mixed up. I don't know whether that has been fixed in the mean time. But ever since I use my own SQL-based import for image data which works pretty well.
q.
-
Thanks, it works fine