cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

GetFileListingWithLinks nameMask input changed from Thingworx 8 to Thingworx 9?

BenAtLmco
12-Amethyst

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!

1 ACCEPTED SOLUTION

Accepted Solutions
slangley
23-Emerald II
(To:slangley)

Hi @BenAtLmco.

 

ThingWorx 9.3 is now available for download.  

 

Regards.

 

--Sharon

View solution in original post

5 REPLIES 5
PaiChung
22-Sapphire I
(To:BenAtLmco)

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.

BenAtLmco
12-Amethyst
(To:PaiChung)

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. 

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

slangley
23-Emerald II
(To:BenAtLmco)

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

slangley
23-Emerald II
(To:slangley)

Hi @BenAtLmco.

 

ThingWorx 9.3 is now available for download.  

 

Regards.

 

--Sharon

Announcements