Select to view content in your preferred language

EditorViewModel - 'Creating features is unsupported or disabled.' error

664
1
Jump to solution
09-07-2022 11:51 PM
Guy_srb
Regular Contributor

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?

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
Guy_srb
Regular Contributor

the problem was I didn't mentioned the view property in the creation of the EditorViewModel.

 

View solution in original post

0 Kudos
1 Reply
Guy_srb
Regular Contributor

the problem was I didn't mentioned the view property in the creation of the EditorViewModel.

 

0 Kudos