Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
ProjectWise
  • Product Communities
ProjectWise
ProjectWise Design Integration Wiki How to delete the active version of a file with versions
    • Sign In
    • ProjectWise Design Integration Wiki
    • ProjectWise Software Download
    • +ProjectWise Learning
    • +Projectwise Licensing
    • ProjectWise Programming and PowerShell
    • +Projectwise Documentation
    • -ProjectWise Explorer Client
      • +ProjectWise Client
      • +Featured Articles - Projectwise Explorer
      • +Audit Trail - ProjectWise Explorer Client
      • +Bentley IMS Login
      • +BS1192 Rules Engine - ProjectWise Explorer Client
      • +Check In Dialog - ProjectWise Explorer Client
      • +Document Code - ProjectWise Explorer Client
      • +Document Creation - ProjectWise Explorer Client
      • +Documentation & Help - ProjectWise Explorer Client
      • +Environments and Attributes - PWE
      • +Export / Import Tool - ProjectWise Explorer Client
      • +Folders / Subfolders - ProjectWise Explorer Client
      • +GUI - ProjectWise Explorer Client
      • +Installation - ProjectWise Explorer Client
      • +Integration - General
      • +Integration - AutoCAD - ProjectWise Explorer Client
      • +Integration - Civil 3D - ProjectWise Explorer Client
      • +Integration - DGN Platform - ProjectWise Explorer Client
      • +Integration - MicroStation - ProjectWise Explorer Client
      • +Integration - Office - ProjectWise Explorer Client
      • +Integration - Revit - ProjectWise Explorer Client
      • +Logs Troubleshooting- ProjectWise Explorer Client
      • +Messaging Service - ProjectWise Explorer Client
      • +MISC - ProjectWise Explorer Client
      • -Open / Save / Copy / Move - ProjectWise Explorer Client
        • Last Error 58174. Error moving document
        • Cannot open file class not registered
        • Copy files with document codes
        • Error 2627
        • Error on thread and file stuck with coming in status
        • Invalid socket The connection to the remote host is broken
        • "Error 55037 File not found on server"
        • Default attribute values not set correctly when using another PW document as template for new document
        • Error 58502 when deleting document
        • How can I move the active file and not the versions.
        • Last Error 58040 Folder Copy Failed. Access Denied.
        • Last Error 58218. Error copying document. The checkout location is already in use.
        • Last error [50000]. Error copying out folder. Not found.
        • Last Error [50132] Error creating new document. The file does not exist.
        • Latency when checking out files from ProjectWise
        • MicroStation file does not prompt to check in on close
        • ProjectWise Explorer crashes creating new folders when integrated with Bluebeam
        • ProjectWise Point Cloud Streaming Not Functioning Correctly
        • Security Block error when clicking on ProjectWise link out of pdf file
        • User cannot delete file
        • Why are files copying local when moving between folders?
        • Error 11371704 checking out files
        • Error 58040 Error copying document
        • Error code - 32768 when trying to delete documents
        • How to delete the active version of a file with versions
        • Last error 58217 when purging document or opening file
        • Unable to delete folder in ProjectWise Explorer
        • Issue uploading documents from Windows to ProjectWise – Last error [50132] Can not create document. The file does not exist
      • +Photo Preview - ProjectWise Explorer Client
      • +ProjectWise Managed Workspaces
      • +Project - ProjectWise Explorer Client
      • +Search - ProjectWise Explorer Client
      • +Security and Permissions - ProjectWise Explorer Client
      • +User Tools - ProjectWise Explorer Client
      • +Views - ProjectWise Explorer Client
      • +Workflows & States - ProjectWise Explorer Client
    • +ProjectWise Administrator
    • +ProjectWise Integration Server
    • +ProjectWise Caching Server
    • +ProjectWise Gateway Server
    • +ProjectWise User Synchronization Service
    • +ProjectWise Orchestration Framework
    • +ProjectWise Connected Services
    • +Working from Home with ProjectWise
    • +ProjectWise Glossary
    • ProjectWise Hosting - Manage Services

     
     Questions about this article, topic, or product? Click here. 

    How to delete the active version of a file with versions

      Product(s): ProjectWise V8i
      Version(s): 08.11.05.37
      Area:  General
      Original Author: Bentley Technical Support Group

    Problem

    How to delete the active version of a file with versions

    1. I create a new document in Project wise suing the Advanced Wizard Tool (000-00001-00149) - State is DRAFT
    2. I then set this document to the APPROVED state as if it were already issued and approved.
    3. I then right click on this document and create a new version of it (New, Version).
    4. The new version of this document is now in DRAFT state for modification.
    5. If I now decide that I do not need this Version anymore, how do I delete it without deleting the APPROVED document?
    6. I right click on the DRAFT document, click delete and the message comes up.
    7. If I click NO, nothing happens and both documents still exist. If I click YES, both documents are deleted
    How do I just delete the version and not the latest APPROVED document?

    Solution

    As you can see you cannot delete an active file if it has versions as it will delete all versions as well.
    So to solve the problem you need to promote the version you want to be active.
    Here's how you do that.

    In my scenario I have versions A,B, and C and C is my active version (the one you are trying to delete).
    But I don't want to keep C and I want B to be the active version.
    Right click on the active version (C) and choose new version.
    In the dialog that comes up click on the 'edit' button
    Provide a version number (for my scenario I used D)
    Highlight version B then click change
    "do you want to change this version to become the active documents" click okay.
    Version D is an exact copy of B, and version C becomes a non active version.
    Now you can delete version C which is the one you wanted to get rid of in the first place.
    In the end you have versions A, B, and D

    In your scenario, you would then need to change the state to approved for the active version.
    The idea behind versions was that nothing ever gets deleted so that if needed, an old version of a document could be retrieved.

    See Also

    Product TechNotes and FAQs

    External Links

    Bentley Technical Support KnowledgeBase

    Bentley LEARN Server

    Comments or Corrections?

    Bentley's Technical Support Group requests that you please confine any comments you have on this Wiki entry to this " Comments or Corrections?" section. THANK YOU!

    • ProjectWise Explorer Client
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Elisabeth Pry Created by Bentley Colleague Elisabeth Pry
    • When: Mon, Oct 21 2013 11:10 AM
    • Dana Guthrie Last revision by Bentley Colleague Dana Guthrie
    • When: Fri, Oct 7 2022 3:37 PM
    • Revisions: 4
    • Comments: 1
    Recommended
    Related
    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