Skip to main content
1-Visitor
October 9, 2014
Solved

in MKS Source : Transforming a folder in subproject

  • October 9, 2014
  • 2 replies
  • 7079 views

Hello,

is there a way to do the change from a folder to subproject (a lot of folder have been created by errors they should be subproject).

BR

Lionel

    Best answer by LLawton

    Just a couple more details to add to Matthias' response:

    - I guess step 1.1 is for safety so you have a local backup, since everything can be done from the Project view.

    - Step 3 is optional: if you use the "Create Subprojects" option or you set it as a policy as explained before, the subprojects will be created automatically when you add the members. That can save you a lot of work if you have large projects and many nested folders.

    2 replies

    1-Visitor
    October 10, 2014

    I thought all "folders" in source integrity actually are subprojects? How did you create folders which are not subprojects?

    kind regards, Jens

    16-Pearl
    October 10, 2014

    Actually "creating a subproject for each folder" is an option in the "addMember", "AddMembersFromArchive"m "moveMember" and "MoveSubprojects" command.

    I'd not recommend to set this option to false, as it limits your options for future use of these folders.

    • You cannot checkpoint or label them individually, as you can do with subprojects.
    • You cannot create specific ACLs, as you can do with subprojects.
    • You cannot share them individually, as you can do with subprojects.

    So to avoid any of this, you can "enforce" a true using the Configuration Management global policies in the admingui.

    Just add this in the text field on the "Other" tab.

    si.AddMembers.createSubprojects=true

    si.AddMembers.createSubprojects;locked=true

    si.AddMembersFromArchive.createSubprojects=true

    si.AddMembersFromArchive.createSubprojects;locked=true

    si.MoveMembers.createSubprojects=true

    si.MoveMembers.createSubprojects;locked=true

    si.MoveSubprojects.createSubprojects=true

    si.MoveSubprojects.createSubprojects;locked=true

    HTH Matthias

    1-Visitor
    October 10, 2014

    Yes matthias you're right. and you answer to Jens correctly, But not to mine 😉

    Policies has already been changed after seeing this problem so we won't have new folders, but is it possible to transform folder in subproject ?

    1-Visitor
    October 14, 2014

    Hello all,

    I have almost done as mathias describe, just I have not dropped the folders in 2 but at the end.

    So after having create subprojects, I can add non members drom sandbox menu, and then delete the folders.

    After that I have to delete entirely my sand box and recreate a new one because file seemed lost.

    But they were effectively here.

    So thank you for your help.

    BR

    Lionel

    16-Pearl
    October 14, 2014

    Hello Lionel,

    To let everyone know what what helped you resolve this issue, please click theCorrect Image button on Mattias' answer.

    Doing this lets anyone else looking for this information see the answer you chose to solve your problem.

    Thanks,

    Kael