I am using FormTemplate in a FeatureForm to show elements from a Featurelayer, which works fine. But when I try to replace the field with a calculated expression using the FormTemplates ExpressionInfos, nothing happens and the value from the Featurelayer field is still showing. I have tried with 4.27 and 4.28 and I get no errors in console.
So, in this simplified example I would like to display the Field2 value (as calculated in the expression) instead of Field1 but Field1 is still displayed. Of course, my plan is to perform a more complex expression once I get this to work. Can someone help?
Hi Jan,
From what I understand it appears that a Field Element in a Form is pretty strict about the schema/rules of the underlying table/servcie endpoint, and cannot return a value from an ExpressionInfo unless that targeted field is set to not be editable.