Skip to main content
1-Visitor
August 10, 2016
Question

How to select a different version of sub-project within a Sandbox

  • August 10, 2016
  • 2 replies
  • 3879 views

Hello Support,

I have a Sandbox containing a sub-project hierarchy.

1> How to I select a particular version of sub-project within the Sandbox, similar to "Update Member Revision..." pop-up menu for member history view and RESYNCHRONIZE to populate the Sandbox with another version of sub-project contents?

2> How do I determine by looking at the history view of sub-project from the Sandbox GUI about the currently selected sub-project version, similar to "WORKING" item shown in the member history view?

Thank you.

Regards

    2 replies

    11-Garnet
    August 11, 2016

    Hello Pashan None‌,

    Have you tried with "Snapshot" operation for sandbox sub project? Using this you could easily "Snapshot" the sub project based on your require sub project version, and doing so the require sub project version content alone will be fetched and this will not affect the "project configuration".

    Note:

    After Snapshot close the opened sub project of sandbox and reopen from corresponding Sandbox tabs. For example if you snapshot from revision 1.2 to 1.5, then close the 1.2 and go to build sandbox view and look for 1.5 sandbox. Then you will be obtaining require content.

    Also this will work for Toplevel sandbox. So the snapshot path should be your sandbox parent path. So create sandbox at require sub project level

    Hope this helps.

    Regards,

    Sathish

    pnone1-VisitorAuthor
    1-Visitor
    August 11, 2016

    Hello Sathish,

    Which menu is "Snapshot"? I am unable to find anything in the menu called "Snapshot".

    Thank you.

    Regards

    11-Garnet
    August 12, 2016

    Hello Pashan None‌,

    I think its "invisible" in your viewset. You could make it visible by selecting "Viewset ==> Customize ==> Actions ==> Configuration Management ==> Sandbox" and make "Snapshot" as visible. If not just select the require sandbox sub project, right click and choose "Customize This Menu" and click on "+" button at bottom and select "Sandox" from Action dropdown and choose "Snapshot".

    Regards,

    Sathish

    12-Amethyst
    August 24, 2016

    For 1

    The only way for non root sandboxes I know is to use Subproject->Configure but this is dangerous since it affects all users

    that are currently using the parent project (this is a server side operation).

    One workaround for this problem is to create a new root project with shared subprojects (Subproject->Add Shared)

    These shared projects can then be configured to an arbitrary project/checkpoint version without affecting their original parent project.

    However it will affect users of the newly created root project of course.

    For 2

    If the version hierarchy of the parent project is not to complex select the head of the parents project history

    an use "View Project" from the context menu. You can then see a build project view with version infos for subprojects.

    Note that this may not reflect the latest checkpoints since checkpoints can be done from every subproject.

    In the end the safest way is to use Project->Views->View Information on the subproject to get the version of the last checkpoint.

    Again this last checkpoint may not reflect the current state of the project, there may be newer members.

    (or even older if Update Member Revision was used). The curent state of the project has no version info yet.

    You can see such differences to the current state if you apply "View Project Differences" on one specific revision from the project history.