Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: st33ve on June 19, 2014, 10:44:56 pm

Title: Access to Internal Artifact File
Post by: st33ve on June 19, 2014, 10:44:56 pm
Is it possible to access (at least export) file represented by internal artifact? And btw can I retrieve original file name?
I´d like to implement add-in that processes files stored in model as artifacts.

Thanx

Stepan
Title: Re: Access to Internal Artifact File
Post by: qwerty on June 20, 2014, 12:17:30 am
If I see that right the artifact created as external link does not have any reference to the original file. I created one and could not open the original file in any way. Or is there some hidden menu I could not find?

For those stores as internal: the contents is stored in the according record in t_document.

q.
Title: Re: Access to Internal Artifact File
Post by: st33ve on June 20, 2014, 08:14:32 pm
Thank you for pointer to the t_document table. Is this table accessible via automation API? I didn't find any reference in documentation.

S.
Title: Re: Access to Internal Artifact File
Post by: qwerty on June 21, 2014, 12:22:30 am
I cant remember that there is any API method. However, the Repository.SQLQuery allows to read that table.

q.