Forum Discussion

CBleunven's avatar
CBleunven
Contributor
12 years ago

Sharing ODT Classes through different project or project suite

Hi,

I've started the development of a sort of Framework to test our application, defining several ODT Classes related to the various component. Each ODT classes defines properties and methods, and has an associated script to implement the method.  But it seems that I can use the defined classes only inside of the project. Is there a way to share the classes through the different project or better through different project suite ?

Thanks for your help.



Christophe

1 Reply

  • Julia_K's avatar
    Julia_K
    SmartBear Alumni (Retired)
    Hello Christophe,

    Unfortunately, there is no way to share ODT classes among projects that belong to the same project suite. We already have an appropriate request in our database, and your message has increases its rating. Thank you.

    You still can share ODT classes among projects that belong to different project suites. To learn how to share projects items, please see the "Sharing Project Items and Their Child Elements Among Several Projects" Help topic.

    If you need to have several copies of your ODT structure in several projects that belong to the same project suite, you can use the project cloning feature. Please see the "Cloning Projects" Help topic to learn how to do this.

    Another possible workaround is not to share the ODT structure among projects, but to create it dynamically from scripts and share the scripts among projects. To learn how to create ODT structures from scripts, please see the "Creating Custom Objects Programmatically" Help topic.

    Please let us know if this information does not help or if you have any additional questions.

    Thank you.