Changing slot name

Post Reply
sandeepkhanna
Posts: 6
Joined: 30 Jan 2015, 15:54

We have created Technology Nodes with Id and Name being the same (via import specification); We now have a need to change the "Name" slot. e.g.,:
Before:
Id: Node1
Name: Node1

After:
Id: Node1
Name: NewNode1

Since we have a number of such changes, we are making the change using import specification.

Issue:
- Instance matching mode of "ByInternalId" works fine(KB_....), but we will need a way to export Name/InternalId pair from repository. Is there a way to do it?
- Instance matching mode of "ById" (Node1) does not work. It creates a new instance of "NewNode1"


Any help would be greatly appreciated.
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

Hi Sandeep,

There is a slot called :NAME that is used internally by Protege to manage the KB_... name - the internal instance ID. You can throw a switch in Protege to show this slot on the forms and then create a View that generates a CSV view that has columns of internal instance ID, Tech Node ID and Tech Node name.

You can then update that CSV (once you've downloaded it from the Viewer) to change the names or the IDs - leaving the internal instance IDs as they are.
Using an import specification set to match via internalID (using your unchanged instance IDs) you can then update the ID / name slots on the selected instances.

Jonathan
Essential Project Team
Post Reply