Skip to main content
1-Visitor
February 24, 2017
Question

how can I get the field defenitions of a datashape java sdk

  • February 24, 2017
  • 4 replies
  • 2952 views

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

4 replies

20-Turquoise
February 24, 2017

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.

aluna1-VisitorAuthor
1-Visitor
February 24, 2017

where is that service getfielddefinitions? I do not find it

20-Turquoise
February 24, 2017

"testing" is my datashape, snippet accessed through a thing: