Merge Projects

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

Hi, I merged two projects but encountered some issues with certain instances/classes.

Some instances had merged two types of classes with information from two instances. For example, Business_process 1 and Information_view 1 were combined into one instance in the classes: business_process_type and information_view_type. To resolve this, I deleted one class from the instance—in this case, I deleted the Information_view class—and manually added the instance: information_view 1. However, when I published the project, I still see Information_view 1 in the process catalog, but only as the name of the instance, not as an actual instance.

And I also used import_utility before I merged projects. Some of the attributes, such as the 'external repository instance reference,' change as instances within other instances.

I hope I explained that well. :geek:
JohnM
Posts: 583
Joined: 17 Feb 2009, 20:19

Hi,

When you say you merged, how did you do that? Was it using the merge in Protege? If so, then it can cause problems where you are merging classes that are populated in both repositories, and instances with the same name will have problems, and relationship classes will be retained, so you may have orphan instances being created (which may be the cause of your issue with data showing). We don't recommend merging using the Protege merge.

The best way is to export the data using Launchpad Exported, combine in Excel and reimport (with unique IDs). You would be better to try that approach.
al01
Posts: 9
Joined: 19 Sep 2024, 19:03

Hi,

I did use merged in Protege. I had to redo some class relationships and also deleted certain instances. I now understand that using a Launchpad Export is preferable for future merges.

However, I encountered an issue when creating a new class. I'm unable to import it, which means that if I need to merge two projects and include a new class, I would have to manually recreate the instances in the project where the merge is performed. Is that right, or is there another alternative that I could use?

Thank you so much for your anwser. :geek:
JohnM
Posts: 583
Joined: 17 Feb 2009, 20:19

You'd need to export the class data from repo 1, and then write an import spec to import it. You could do this as a view, putting the data into a dataTable.

If you have captured relations against the class data in repo 1, you would need to export that too then import the data back into your new repo.

In the Cloud/Docker versions you can use the DQT to get the data out and then just write the import spec to bring the data in.

Not sure if that helps.
al01
Posts: 9
Joined: 19 Sep 2024, 19:03

Do you have any tutorials or materials within the Essential University that cover exporting data classes and relations?
I am using Essential OS, and the View Library does not allow me to use the Launchpad Spreadsheet Exporter. I couldn't find another way to export the data.

Thanks for your support!  :geek:
Post Reply