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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

It's possible hidden o remove generic properties?

rodbastidas
7-Bedrock

It's possible hidden o remove generic properties?

Hi Community!

 

I'm creating an application for tank measurement, then I'm generating a CSV file with data from a Thing with service GetPropertiesValues, Is there any way to hidden the generic properties and only binding my properties?

 

Thanks in advance!

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:rodbastidas)

Ok it ate my code example it seems to not like javascript in this field

but you just create a new service on your Thing

call GetPropertyValues from that service

use RemoveField to drop columns

set your output to result

also you should create a DataShape to match what you want to put out.

View solution in original post

3 REPLIES 3
PaiChung
22-Sapphire I
(To:rodbastidas)

Create a wrapper service that removes the fields (or assign to a datashape that doesn't have the fields)

Could you please give any example how to do the wrapper service?

PaiChung
22-Sapphire I
(To:rodbastidas)

Ok it ate my code example it seems to not like javascript in this field

but you just create a new service on your Thing

call GetPropertyValues from that service

use RemoveField to drop columns

set your output to result

also you should create a DataShape to match what you want to put out.

Announcements


Top Tags