Advanced Advanced Find 2013

Update:  Click here for the 2014 version

Moving down the list of apps to update, Advanced Advanced Find is up next.  I’m a bit surprised.  The app really doesn’t do much despite the name.  I intended it more as a code sample.  But if you guys want it, you got it.  Here is the 2013 version of Advanced Advanced Find.

If you are not familiar with the app, it’s a simplified version of the Advanced Find feature, but it allows for OR style searches.  The Must rule is the default AND behavior.  The May rule gives you new OR style behavior.

Again, I didn’t have much time to add features.  There is now support for Folder and Custom Object searches, but that’s it.

Requirements:
Vault Workgroup/Collaboration/Professional 2013

Click here to download the application
Click here to download the source code

Click here for the 2011 version.  Sorry, there is no 2012 version.

As with all the sample apps on this site, the legal disclaimer applies.


Comments

10 responses to “Advanced Advanced Find 2013”

  1. I wonder if there any way to save AAF-searches?
    Got Error230 on couple cditeries:
    Checked Out By Must be not empty
    Checked Out Must < 21.10.2012
    Seems like there is a problem with dates.
    In fact I’m trying to create a search that returns list of files that are in check out for more than a week.

  2. I don’t understand how it works.
    Let say our company policy requires Item to be 10 digits length.
    Let say I’d like to find all that brake policy – I create couple Item-criteries:
    “Number” “May” “<” “??????????”
    “Number” “May” “>” “??????????”
    AAF returnes just all Items…
    What’s wrong with my logic?

  3. If you are editing the code, then yes you can add a save/load feature. The easiest way is to use XML Serialization on the SrchCond objects.
    http://justonesandzeros.typepad.com/blog/2009/11/xml-serialization-is-your-friend.html
    I didn’t program in any special handling of date types. That’s a bug on my part. The correct thing to do is convert the user text to a DateTime object, then convert to Universal Time, and then print to the format “MM/dd/yyyy HH:mm:ss”. See SrchCond documentation.

  4. I don’t think you can search on character length. For more on how searched work, see the Vault Wiki.
    http://wikihelp.autodesk.com/Vault/enu/Help/Help/0001-Using_Va1/0003-Essentia3/0017-Searchin17

  5. Wrong question/wrong answer. I meant the structure of saved search (standard) differs to that used by AAF. So even if somebody would add some saving to AAFmod add-in there would be no way to use the result as standard saved search. The only way to use it – to load it back to AAFmod, right?
    Ok I see.

  6. Just FYI “Number” “is” “??????????” works fine in a standard Advanced Search.

  7. If so, then “Number must equal ??????????” should give you the same result in AAF.

  8. The saved search feature uses it’s own XML format and doesn’t have support for OR style searches. So, no, it can’t be used with AAF.

  9. You are right. In my example one AAF criteria is more than enough. “Number” “Must” “<>” “??????????” did the trick. The operator “<>” slipped out of my attention.
    I’ll return with another example soon :)

  10. Andrew Canfield Avatar
    Andrew Canfield

    Trying to search for a value A where A is between 400 & 450.
    ie find A>400 & A<450
    also see for more detal
    http://forums.autodesk.com/t5/Autodesk-Vault/Custom-iProperty-value-range/m-p/3771788

Leave a Reply

Discover more from Autodesk Developer Blog

Subscribe now to keep reading and get access to the full archive.

Continue reading