AnsweredAssumed Answered

API IEdmSearch5 does not file files with [ ] in file name

Question asked by Shaun Salisbury on Jan 16, 2019
Latest reply on Jan 21, 2019 by Shaun Salisbury

I am using the vault API to generate reports and do some maintenance functions. I noticed that if I pass a string to theSearch.FileName that contains square brackets, the search returns null. I saw in the help files that square brackets are used to prevent % and _ from being parsed as wildcards and I assume this is why the search fails. There is no mention of how to have [ or ] treated literally. Using the search feature in the vault itself does not suffer from this limitation. Is there a work around for the API to search for a file such as "1234[2].sldprt" ?

Outcomes