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

Community Tip - You can change your system assigned username to something more personal in your community settings. X

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

ptc-6052641
5-Regular Member

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 1
mgoel
17-Peridot
(To:ptc-6052641)

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

Top Tags