I am writing a service to create a datashape, but before creating it, I want to verify if there is already a datashape with all the fields that the user want to create, so if there a way to get the field definitios of a datashape? my aproach is get the entty list of datashape, and then per each datashape verify all fields definitions and if they match return a error message that there is already a datashape with those fields
You may use a service "getfielddefinitions" to return an infotable with the field of a requested datashape:
You may try implementing try/catch with the getfielddefinitions function.
where is that service getfielddefinitions? I do not find it
"testing" is my datashape, snippet accessed through a thing:
Armando,
Any update on this? Was Polina Osipova's post helpful? If so, could you click on the "correct answer" button and let us know?