I have several projects that were recently migrated from Thingworx 8 to Thingworx 9. In these projects I had FileRepository Things where I was using the built-in GetFileListingWithLinks service. In Thingworx 8, I was using the following syntax for the nameMask:
nameMask = *.jpg | *.png
if I wanted to search for either format in the repository. This no longer works in Thingworx 9. What is the new syntax for nameMask to search for files of multiple different formats? Thanks!
Solved! Go to Solution.
Just to double check, just *.jpg works?
If even that doesn't work, you might need to use an escape character.
Also have you already tried a double || for the or?
or even "*.jpg" | "*.png"?
If none of these work, I recommend filing a ticket with support.
Yep! *,jpg seems to work just fine. I went ahead and tried both suggestions above with no success. I'll go ahead and file a support ticket then.
Hi @BenAtLmco.
This issue is being addressed via code fix in the 9.3 release. Once that version has been made available, we will let you know.
Regards.
--Sharon