Skip to main content
5-Regular Member
November 30, 2017
Question

In DataShapes - what is the difference between effectiveFieldDefinition and fieldDefinition?

I'm building an extension that gets a DataShape and work with it fields.
In the JS code I'm getting two field definitions: one called effectiveFieldDefinitoins and one called fieldDefinitions.
What is the difference between the two?
Which one should I use?

1 reply

5-Regular Member
January 3, 2018

Hi Amiad Rozenberg​

getFieldDefinition Returns:

the FieldDefinition of the field with the supplied name, or null if the field does not exist

GetEffectiveFieldDefinition Returns:

result Field definitions - INFOTABLE - Aspects {dataShape:FieldDefinition}

Throws: java.lang.Exception - If an error occurs


​Regards,

Mohit Goel​

Translate