Hi 🙂
recently I've tried to use the EditorViewModel and unfortunately when I try to create a new feature I get this error:
'Creating features is unsupported or disabled.'
In addition, the properties "canCreate" and "canUpdate" are false.
For the recored, when I published the layer I chose the option 'make this layer editable', and I know the layer is editable because when I used the Editor widget(on the same layer) I've created, updated and deleted features(it's a feature server that reference register data ).
Anyone might know what the properties 'canCreate' and 'canUpdate' are based on? or what else I am missing here?
Solved! Go to Solution.
the problem was I didn't mentioned the view property in the creation of the EditorViewModel.
the problem was I didn't mentioned the view property in the creation of the EditorViewModel.