folderPicker revisited!

One of the common requirements with Data Standard is to pick the right folder. In a previous post I’ve shown how this can be done with two or more cascading combo-boxes, where each combo points to a folder-level inside Vault. With this post I’d like to show you another way of picking a folder. A while ago, we posted on a tool that we call folderPicker.


It’s a dialog that lists a tree of objects, where the user can navigate through and pick one. The resulting path is returned and can be used. Based on customer feedback, the folderPicker holds a history of recently selected paths and a list of favorites, so that re-picking similar or frequently used objects becomes easy. I deliberately say objects and not folders, as the folderPicker in realty can display any type of objects-tree. For instance, you could display BOMs, pick an item and get the path of such selection, or any other hierarchically managed object.

Anyway, we talk about folders today. But, as you know, each customer project might have particular requirements. One customer has a complete free path, another one has a fixed initial path and then a free one, the next one would like to pick just from certain folder types, such as project or other categories, and so on. So, the folder picker must be flexible in terms of his root folder and filter criteria for the child elements.

The folderPicker is an assembly you can easily load into your Data Standard project and bind for instance a button with it. As the customer hits the button, the folderPicker dialog appears. The function behind the button calls the folderPicker and the resulting value is stored in a field that can be used for creating the path. The method Show requires as arguments the root folder, so that you can choose where the tree of the folderPicker shall start, and you can pass a title and  full path in case you like that the folderPicker should already expand that path in the tree.

In order to find and display the children for the given root element, an according logic must be implemented. In the package provided with this post, the logic for finding child folders is already implemented. However, in case you like to influence the finding logic, you have to adapt the function GetChildren. This way, you may display only folders of certain categories, names, or other properties.

All right, with the coolOrange folderPicker you have a now a very elegant and flexible instrument for picking a folder, either from your local disk, or Vault. We published on the source code on GitHub, so that if you like to better understand how it works, or you like to tweak the folderPicker, you are free to do it.

Have fun!

This entry was posted in Data Standard, Free apps. Bookmark the permalink.

9 Responses to folderPicker revisited!

  1. MarceD says:


    Great tool.
    Is it possible to show Folder properties instead of the Folder Names?

    Thank you !

  2. Patrick Gilles says:

    Is it possible to use the folder picker with Vault R2?
    Thank you

  3. Tony Jones says:

    I can not get this to work, it keep offering the save to local folder option.
    How do I get this to work? Is there a set process set it up?

    • Marco Mirandola says:

      If the regular Inventor Save dialog shows up, it’s usually because of an XAML error. Have a look in the Data Standard log files in the c:\temp folder. To better help you, please send us your configuration to

  4. Lukas says:

    i try to make it work, but to put it this way: I have no idea how to implement it in mny inventor.xaml dialog window.
    Can be so kind and guide me somehow??

  5. Florian says:

    i also have problems to get the folder picker to run.
    The dialog shows up, if i click on the folder button nothing happens.
    In which folder do i have to copy the cOFolderPicker.dll?
    I insert the cOFolderPicker files (.dll / .psm1) in the cad\addins folder. Is this correct?
    Or must i copy the content of the .psm1 in the default.ps1?
    I already tried it, but then inventor crashes if click on the folder button.

  6. Florian says:

    i also have promlems to get the folder picker to run.
    The dialog in inventor shows up, if i click on the folder button nothing happens.
    I copied the cOFolderPicker files (.dll / .psm1) in the cad\addins folder. Is this correct?

  7. Jörg says:

    Folder Picker is a great tool. Will it be for 2017 availible

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s