Skip to main content
Aug 28, 2021 2:56 AM UTC
Solved

GetFileListingWithLinks nameMask input changed from Thingworx 8 to Thingworx 9?

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!

slangleyAnswer
Jan 5, 2022 6:53 PM UTC

Hi @BenAtLmco.

 

ThingWorx 9.3 is now available for download.  

 

Regards.

 

--Sharon

5 replies

Aug 30, 2021 11:50 AM UTC

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.

BenAtLmcoAuthor
Aug 30, 2021 1:10 PM UTC

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. 

BenAtLmcoAuthor
Sep 13, 2021 1:57 PM UTC

We've opened Case 16029623 w/ PTC support regarding this issue.

Oct 26, 2021 3:17 PM UTC

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

slangleyAnswer
Jan 5, 2022 6:53 PM UTC

Hi @BenAtLmco.

 

ThingWorx 9.3 is now available for download.  

 

Regards.

 

--Sharon