How do I select multiple files from ProjectWise?

I am trying to get a list of files to process on from the user but I have not been able to figure out how to do this.  I can get one file fine via the mdlDialog_fileOpen inside the stdmdlbltin.dll, but as far as I can tell, there is no way to allow the user to select multiple files.

What I'm looking for is the dialog you get when you try to attach a reference to a file.  It has a single "tab" at the top that says Select.  Inside there, you can select multiple documents by hitting control or shift.  Or alternatively, hitting the Add button, which adds to the bottom panel.

I've tried using the mdlFileList_Edit, but that appears to allow me to open a folder, which is not what I'm looking for.

My backup plan is to use the batch processor, but I'd prefer not to do that.

Any help would be greatly appreciated.

Thanks,

Parents
  • Essential Information

    Please follow the Forum guidelines.

    • What version (e.g. v10.x.y.z) of MicroStation are you using?  Include that information when you start a new post on any Forum.
    • What programming language (C++, C#, VBA) are you using? Include that information when you start a new post on a Programming Forum.

    ProjectWise Overview

    ProjectWise is a Document Management System (DMS).  It uses an Oracle database (DB) to manage projects.  Put simply, a project is a list of files.  PW stores the files somewhere, usually on a server.  Unless you're a PW administrator, you don't know where those files are stored, and don't need to know.  When a user requests a file from PW, she's querying that DB. If she has permission and the file is available, PW copies the file to a local folder so she can work on it.  The files on the PW server folder are protected, secure and probably not even visible to normal users, which is why I ask the question below.

    PW handles any type of file, not just DGN files.  It has a list of the app required to open each file type (e.g. MicroStation opens DGN files, Word opens .docx files, etc).

    Programming ProjectWise

    I am trying to get a list of files from ProjectWise (PW). I can get one file fine via the mdlDialog_fileOpen

    I don't know that mdlDialog_fileOpen is the right function to open a PW file. How does that work?

    The best way to interact with PW as a user is by installing PW Explorer, these days called PW Design Integration.  The best way to interact with PW as a developer is to install the PW Design Integration SDK.

    There's a dedicated ProjectWise Programming Forum.

     
    Regards, Jon Summers
    LA Solutions

Reply
  • Essential Information

    Please follow the Forum guidelines.

    • What version (e.g. v10.x.y.z) of MicroStation are you using?  Include that information when you start a new post on any Forum.
    • What programming language (C++, C#, VBA) are you using? Include that information when you start a new post on a Programming Forum.

    ProjectWise Overview

    ProjectWise is a Document Management System (DMS).  It uses an Oracle database (DB) to manage projects.  Put simply, a project is a list of files.  PW stores the files somewhere, usually on a server.  Unless you're a PW administrator, you don't know where those files are stored, and don't need to know.  When a user requests a file from PW, she's querying that DB. If she has permission and the file is available, PW copies the file to a local folder so she can work on it.  The files on the PW server folder are protected, secure and probably not even visible to normal users, which is why I ask the question below.

    PW handles any type of file, not just DGN files.  It has a list of the app required to open each file type (e.g. MicroStation opens DGN files, Word opens .docx files, etc).

    Programming ProjectWise

    I am trying to get a list of files from ProjectWise (PW). I can get one file fine via the mdlDialog_fileOpen

    I don't know that mdlDialog_fileOpen is the right function to open a PW file. How does that work?

    The best way to interact with PW as a user is by installing PW Explorer, these days called PW Design Integration.  The best way to interact with PW as a developer is to install the PW Design Integration SDK.

    There's a dedicated ProjectWise Programming Forum.

     
    Regards, Jon Summers
    LA Solutions

Children