Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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?
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,