Forum Discussion

Manfred_F's avatar
Manfred_F
Regular Contributor
11 years ago

Sharing stores between projects of a suite

In my Project Suite, I've added a second Project. Now, I'd like to use the stores of the first one.

When I follow the instructions ("add existing"), an error occurs: "Unable to add an element from ...file, because this element or ist child elements already exists in the Project Suite, or is a copy"



What can I do?



Thanks,

Manfred
  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    Edit: Nevermind I see what you likely did here.

    What you need to do first is add the Stores item to your project then select the individual stores item(s) by right clicking on the Stores item for that project.



    1. Right click your new project and select New Item> Stores

    2. Right click the new Stores item and select Existing Item

    3. Add your item(s)
  • Manfred_F's avatar
    Manfred_F
    Regular Contributor
    Ok, I've added a new <stores>. Now I'd like to add the <regions> and <Objects>.

    When I select <add existing>, I get the error message like before.

    So I select <add new>, add a new <regions> and <Objects> element. After that, I'd like to add the existing objects and regions to the Folders, but: add existing item is disabled.
  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    "Ok, I've added a new <stores>. Now I'd like to add the <regions> and <Objects>.

    When I select <add existing>, I get the error message like before."

    At this point you should be right clicking on the Stores object that you added to the new project (not on the project name) and then selecting the Objects.tcObjects in the Add Existing Child - Stores window.




  • Manfred_F's avatar
    Manfred_F
    Regular Contributor
    At this point you should be right clicking on the Stores object that you added to the new project (not on the project name) and then selecting the Objects.tcObjects in the Add Existing Child - Stores window.



    That's what I do - and then get the error message described above. It is the same for trying to add Objects.tcObjects, Regions.tcRegions or Stores.tcStores.

    Maybe my Project Suite is corrupt?



    In the meantime, I've created a new Test Suite with two test Projects inside. Now, I want to use the shared stores from my former Project.

    To the first new Project of the new Suite, I can easily add the existing stores like You have described it.

    But, when I try to add the existing stores to my 2nd new Project, I get the error msg again.

    Does this mean, that stores can only be referenced/used once in a suite's Projects?



    Regards,

    Manfred
  • Ryan_Moran's avatar
    Ryan_Moran
    Valued Contributor
    The link from my previous post accurately describes the relationship between parent and child objects in the project suite object tree. The other recommendation is that you follow this tip from that link:






    • Clone the existing project that contains project items you want to share and then include it in your project suite. For more information, see Cloning Projects.