Edit Import Specification

Post Reply
al01
Posts: 9
Joined: 19 Sep 2024, 19:03

Hi
I am trying to "edit import specification". But when I am creating a Essential Class Name in a Simple Instance, It shows an error: Invalid Class Name.

I am using this tutorial: https://enterprise-architecture.org/uni ... ification/. The error is in the section "4.2".

4.2 Essential Class Name – Type the name of the class i.e. Business_Domain. As you type a list of possible classes will appear and you can select the relevant class.

In my case I don't see this list of possible classes while I type. And when I write any class name appears this error: Invalid Class Name.

Another question: Can I create a new class ?? I am trying to import a new class that is not in the metamotel.

Thank you. :geek:
jasonp
Posts: 74
Joined: 01 Jul 2017, 07:05

I believe this issue is occurring because there is an issue with your Target Environment setup. Target Environments are set up in the Import Utility to provide the list of Classes and Slots defined in Import Specs. In your case, you need to define a Target Environment that includes your custom Class.

To do this, you will need to follow the instructions provided in the Import Utility for Essential Open Source -> Setting Up the Import Utility section of Essential University here: https://enterprise-architecture.org/uni ... t-utility/

Once you have selected the radio button in the Reference? column of your new Target Environment, you should then be able to see your custom Class when defining your Import Spec.
al01
Posts: 9
Joined: 19 Sep 2024, 19:03

Hi, I also think that was the step I missed because I used an environment with a base project. When I uploaded the zipped version of my repository, I could see my custom classes.

Maybe this note could be included in the tutorial.

Thank you for your support. :geek:
Post Reply