Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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!
Solved! Go to Solution.
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.
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?
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.