Is it possible to have two objects with the same name in the

Posted by mopfer on 06-Sep-2017 13:27

We have two sets of image files that have the same file names but different actual images.  Each set is in its own directory in the file system, and we use the propath at deployment time to have the application pick up the proper images for that particular installation of our product.

We already have an "images" product module in our workspaces for one set of the images, and we would like to use Roundtable for source control for the second set as well.  

Our original thought was that we would add a new product module "other-images" and then put the modified copies of the original image files in there.  When we tried to add the first new object we got an error message that said the object name already existed in the workspace, so we could not add it.

We looked into the Object Variant functionality, but that moves the object to another product module rather than creating a separate copy, so there is still only one actual object with that name in the workspace.

Is there a good approach to use for what we're trying to do?

Thanks,

Mark Opfer | Senior Architect

DMSi Software | 402.330.6620 (e) 114
mopfer@dmsi.comdmsi.com

Posted by Jeff Ledbetter on 06-Sep-2017 13:33

Hi Mark.

Yes, duplicate Object names are allowed as long as a) they reside in different Product Modules, and b) those Product Modules resolve to different physical locations (Workspace Modules).

You have to enable this behavior though. Take a look at the 'Allow Non-Unique Object Names' in the System Preferences.

All Replies

Posted by Jeff Ledbetter on 06-Sep-2017 13:33

Hi Mark.

Yes, duplicate Object names are allowed as long as a) they reside in different Product Modules, and b) those Product Modules resolve to different physical locations (Workspace Modules).

You have to enable this behavior though. Take a look at the 'Allow Non-Unique Object Names' in the System Preferences.

Posted by mopfer on 06-Sep-2017 13:41

Thank you!

The situation you describe is exactly what we want to do, and that setting is the part I was missing.  There for a minute I thought we had found the first thing that Roundtable made harder instead of easier, but I should have known better.  :-)

Thanks,

Mark

Posted by Jeff Ledbetter on 06-Sep-2017 13:46

Thank you. :)

We changed that behavior starting in 11.0. For a long time, you could not have duplicate Object names and had to define aliases (which you still can do by the way).  With an alias, you put an @ symbol in front of the Object name when you create it and then you can call it anything you want. It's cool because you can name the the Object whatever you like really.

This thread is closed