Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: dangel on December 10, 2014, 09:37:37 am
-
Is there any mechanism to determine the ID,GUID of the EA-file which being opened by a user,
The goal is to know some signature of the file to recognize if I use this File before or not, so I assumed there is guid of each EA-file if so, where can I find this ID in DB-Tables?
Regards
-
You might use that of (one of) the root packages. Use Repository.Models to find them. There you also find a guid.
In the tables use SELECT t_package.ea_guid from t_package where t_package.Package_ID = 0
q.
-
You mean: parent_ID=0 ?
if so, I think this is not prefect because in one file we could have 1 or more pakage as root package with no parent_id ?
Thanks
-
This looks promising:
SELECT Value FROM usys_system WHERE Property='ProjectGUID'
-
You mean: parent_ID=0 ?
Of course :-[
q.
-
perfect