M.App Enterprise Discussions

Discuss topics with other M.App Enterprise Product pioneers and experts to get the most out of it.
Showing results for 
Search instead for 
Do you mean 
Frequent Contributor
Posts: 159
Registered: ‎01-14-2018

Error when digitizing multipoint features

Dear all,


I have a point feature in the postgres database with geometry type (MultiPoint), and I made a workflow inorder to add (create) new point using the action 

SC.digitize('structures', {commands: ['NEWPOINT'], startOnLoad: 'NEWPOINT'})

and I get the error geometry type (Point) does not match column type (MultiPoint)


Should I alter the geometry type in the database to be point instead of multipoint? If YES, do I have to re register the layer again in the content?


Another Question:

What to edit in the above script inorder to restrict adding the points (representing buildings) only on another layer (canals)?


Best Regards