Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: conan on February 18, 2020, 08:07:05 pm
-
Hi,
I had developed a basic model addin, can anyone help me how to share this addin as XML or any reference data not as eapx or eapx-XML.
Thank you
-
A model add-in is nothing more than a script no?
In that case you can export it using Export Reference Data and then choose Automation Scripts.
If you want to filter the refdata export file then you can use this refdata splitter tool: https://github.com/GeertBellekens/EARefDataSplitter (https://github.com/GeertBellekens/EARefDataSplitter)
Geert
-
Hi,
Thank you for your reply. I tried both the way you suggested. It is exported as a script as reference data. But it is not showing an import option.
Thanking you
-
Hi,
Thank you for your reply. I tried both the way you suggested. It is exported as a script as reference data. But it is not showing an import option.
Thanking you
What do you mean by "not showing an import function"?
Import reference data menu option is located at Configure | Model | Transfer | Import Reference Data
Geert
-
Hi,
Thanks for your reply,
Using Export Reference data I had exported model addin as Automation script. While I try to import this, I had called XML file but import option is hidden.
Thank you
-
You have to select "Automation Scripts" before clicking the import button.
Geert
-
I hope you're asking "How to distribute model add-ins" across models
- First, As Geert suggested you need to do export
- Then you need to make sure all the required Signal Reference Library ( Broadcast Events ) which Defines the entry points to the add-In similar to the com class in the traditional add-ins and Referencing relevant signals in the receptions are also exported to the target model
but in most cases model addins will be used in a shared repository and will be available for all the user who has access.
HTH
Arshad
-
A model add-in is not in the reference data. It is part of the model itself and can be exported (and imported) via XMI.
-
Hi,
Thank you for your help.