Skip to main content
13-Aquamarine
August 28, 2021
Solved

GetFileListingWithLinks nameMask input changed from Thingworx 8 to Thingworx 9?

  • August 28, 2021
  • 2 replies
  • 2778 views

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!

Best answer by slangley

Hi @BenAtLmco.

 

ThingWorx 9.3 is now available for download.  

 

Regards.

 

--Sharon

2 replies

22-Sapphire I
August 30, 2021

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.

BenAtLmco13-AquamarineAuthor
13-Aquamarine
August 30, 2021

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. 

BenAtLmco13-AquamarineAuthor
13-Aquamarine
September 13, 2021

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

Support
October 26, 2021

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

slangleyCommunity ManagerAnswer
Support
January 5, 2022

Hi @BenAtLmco.

 

ThingWorx 9.3 is now available for download.  

 

Regards.

 

--Sharon