Forums

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

Webservice Object Referencing Field - check if property exists

Demolag
Contributor
August 21, 2025

Hi again,

I've been trying to use the WS Object Referencing Field field type with a WS that has several optional properties in it's response - If the property has value, it returns it, else it doesn't exists in the response.

Now, when I try to read those properties using the confiform field, if it doesn't exists it returns the value of the defined key.

Is there a way to check if the field exists besides comparing it to the value of the key?

 

For example, when referencing to the following responses:

{ "key":"A", "property1":"some value"}

{"key":"B"}

f.property1 will return "some value" for the first row, and for the 2nd row it currently returns "B", when I want it to return an empty string, or a way to identify that it doesn't exists for this specific response.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events