I can't find any tools in the Web map toolbar or in the Web appbuilder widgets.
I can add multipart polygon in ArcMap for the feature class, that's not a problem. In order to let the users add multipart polygons themselves, I published the feature class as a hosted service, built a webmap and then shared the map using a web application template. but there's no tool to allow the user to add multiple parts for a polygon feature.
So I guess AGOL does not support multipart polygon editing, please correct me if I am wrong...
Creating a multipart feature—Help | ArcGIS for Desktop make them in arcmap
Create maps, scenes and apps—ArcGIS Online Help | ArcGIS most of AGOL is in creating from existing content
I can't find any reference to 'multipart' but you can have a look
Yes Karen, I found a work around.
The Edit widget in the Web Appbuilder is able to merge multiple polygons into one, so you'll get a multipart polygon. the steps are:
1.Publish a polygon feature service in AGOL/ Portal
2.Build a Web map including the polygon layer in the feature service created in step 1; And define the feature template also.
3.Create a web app in Web appbuilder and choose the Web map built in previous step
4. Choose the Edit widget, enable the Merge function in the Edit widget by checking the box right to the Merge text.
5. Save and Launch the Web app and start adding polygons in the app.
6.After adding multiple polygons, use the Selection tool and select the polygons
7.Click the Union tool and you get the multipart polygon.
Hope it works for you.
Would the union tool work on lines as well as polygons? If so maybe I am missing a step. I am able to select multiple line features but when I try to click on the union button in the edit widget it doesn't appear to do anything?
Any help is appreciated.
Hi @simoxu ,
While you cannot manually create multi-part features using the Smart Editor, you can generate multi-part features from existing features using the Copy capability (available for lines and polygons only).
1. Select the layer's template you would like to append the new features into.
2. Select to copy features.
3. Select the features to be copied.
4. Select to Create Multi-Geometry (Multi-part) features
5. The multi-part feature is added to your target layer.
Enabled this capability in the General Settings of the widget configuration.