declare an EntityStore as local variable

Hi All,
is there a method to define a variable as a Entity Data?
I am using the function a!writeToDataStoreEntity(<dataStoreEntity>, <valueToStore>)

I would create data object (valueToStore) to fill it with data inserted by the user

I have tried to declare it as local!newContainmentAction:a!entityData(cons!NCContainmentAction, null)

I am am receiving the message

Could not display interface. Please check definition and inputs.
Interface Definition: Expression evaluation error at function a!textField [line 327]: Invalid index: Cannot index property 'delegateMail' of type Text into type EntityData

OriginalPostID-248689

  Discussion posts and replies are publicly visible