Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Forum change folder environment in batch
    • Sign In

    • State Suggested Answer
    • +1 person also asked this people also asked this
    • Replies 9 replies
    • Answers 1 answer
    • Subscribers 65 subscribers
    • Views 5297 views
    • Users 0 members are here

    change folder environment in batch

    Luc Poulin
    Offline Luc Poulin over 7 years ago

    Hi All

    I wanted to delete an environment, but i suspect i can't because it is being used by folders

    I find the folders using this specific envrionment, However I have 1000 of those folders....

    Any tool to change in batch the environment associate to a folder? or we still rely on the one by one method?

    • Sign in to reply
    • Cancel
    Parents
    • Yann GREISCHER
      0 Offline Yann GREISCHER Thu, Nov 30 2017 8:43 AM

      Hi all,

      I have the same problem.

      We have 1 folder containing thousands of subfolders and 30.000+ documnents that all need to change the environment.

      I tried the PowerShell method, but that does not work for folders containing documents.

      I also tried the PWEXPT & PWIMPT Method, which worked OK, but for documents with different versions, only the last one is exported/imported, and all version information is lost.

      Is there a way to export/import the folders with documnents and keeping all the versions of the documents?

      Kind regards,

      Yann

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Reply
    • Yann GREISCHER
      0 Offline Yann GREISCHER Thu, Nov 30 2017 8:43 AM

      Hi all,

      I have the same problem.

      We have 1 folder containing thousands of subfolders and 30.000+ documnents that all need to change the environment.

      I tried the PowerShell method, but that does not work for folders containing documents.

      I also tried the PWEXPT & PWIMPT Method, which worked OK, but for documents with different versions, only the last one is exported/imported, and all version information is lost.

      Is there a way to export/import the folders with documnents and keeping all the versions of the documents?

      Kind regards,

      Yann

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    Children
    • Matt Kovach
      0 Offline Matt Kovach Fri, Jul 1 2022 6:48 AM in reply to Yann GREISCHER

      Hello Yann,

      Unfortunately, you will need to remove/clear Document Attribute values for any and all Documents that have assigned Document Attribute values BEFORE changing or removing the Environment assigned to the Folder containing said Documents. This will be a challenge if your Folders contain Document Versions as you will not be able to change (remove) Document Attribute values for these "previous" Document Versions.

      It seems your only course of action, in this situation, would be to copy Documents from the originating Folder(s) to a new or different Folder. This method will allow you to:

      • Set the desired, new Environment to the new Folder (or not set an Environment at all; Environment = none).
      • Keep all versions of Documents.

      One downside to this is option that these "copies" would be new Documents. Dependencies (ex. CAD References) would be tricky to handle. You would have to resolve these for these new Documents and you may have trouble removing the "original" Folders and Documents due to previous versions of Documents that contain Dependencies to specific versions of Documents. I haven' tested all of this as we are not using versioned Dependencies. I know...this can be confusing. It's best to not have to change the Environment for a Folder.

      ProjectWise Explorer CONNECT Edition, Version 10.00.03.453

      ProjectWise Drive, Version 2022.1.328

      OpenRoads Designer CONNECT Edition, Version 10.09.00.91

      OpenRoads Designer CE 202 Release 2, Version 10.10.21.4

      Power GEOPAK V8i (SELECTseries 10), Version 08.11.09.918

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel
    • Josh Miller
      0 Offline Josh Miller Tue, Jul 5 2022 8:51 AM in reply to Matt Kovach

      Matt, 

      Fortunately we are early in our PW deployment. I have removed all of the document attributes. I don't believe we have any document versions. I would like to avoid copying documents from folder to folder. I was hoping the solution previously outlined here would be viable. If any of this information changes what we would need to do please let me know. I appreciate the help you have already provided. 

      Thanks, 

      Josh 

      • Cancel
      • Vote Up 0 Vote Down
      • Sign in to reply
      • Verify Answer
      • Cancel

    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2023 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies