Edit Related Table Directly in Web App Builder ??

2430
10
11-15-2019 10:12 AM
JarrettLivesey1
New Contributor II

Hello all !! 

My Organization has a Web App Editor set up for our Police department to edit Traffic data.  The data-set has a related table attached to it.  I am wondering if it is possible to click a point on the map, using Smart Editor, and have only the Related table come up to be edited  (see pic below) ?? The idea is to simplify the process so the Officers don't have to spend the time to find the place where they would enter the new Related table entry.

Thanks for your help.

Jarrett

0 Kudos
10 Replies
AlixVezina
Esri Regular Contributor

Jarrett Livesey

An enhancement in the Smart Editor widget should now allow you to do this.

In the widget configuration, check the box for Expand all related tables/layers on load.

When clicking a feature on the map, the fields for the parent feature will be collapsed and the available related records will be shown expanded. The record itself won't be open, so the user will still need to click on a record to edit it, but this still removes a few clicks for the person editing related records.

0 Kudos
JarrettLivesey1
New Contributor II

Hi Alix,

Thanks for letting me know about this upgrade !! You’re right it does save some mouse clicks and, perhaps, make it a more intuitive process for the editor.

Thanks again, and all the best.

Jarrett Livesey

GIS Specialist

City of New Berlin, WI

262-797-2445 X 2555

0 Kudos
SeanLavallee__MES_
New Contributor II

Is this not for ArcGIS Enterprise? We are on 10.8.1

0 Kudos
HayleighPervorse2
New Contributor III

Hi,

I have a feature service that has related features (points, lines, polygons) and a related table. I am only able to add features the related table via the smart editor, the related features are marked as "update only" however I am able to add features in Field Maps/Collector to these records. Is there a step I am missing to enable these to be editable in the smart editor? Currently it is grayed out-- see screenshot below all the point/line/polygon features say update only with a warning symbol but the table I can edit (add/delete) records from

HayleighPervorse2_1-1623447133886.png

 

 

 

Thank you,

Hayleigh 

0 Kudos
AlixVezina
Esri Regular Contributor

Hi @HayleighPervorse2 ,

The Smart Editor only supports updating related tables (which means you can create new rows in the related table for a given related feature), but does not support creating new related feature geometries.

0 Kudos
HayleighPervorse2
New Contributor III

Hi, 

Thank you for the response. Is there any way to edit (add/delete/update) related feature geometries? Our group wants to be able to not only generated related features in the field but in the office as well via a web application. Perhaps a different widget or workaround? 

 

Thanks,

Hayleigh 

0 Kudos
AlixVezina
Esri Regular Contributor

Perhaps the Edit widget will be more appropriate for your workflow as it will allow you to edit the geometry of a related feature from its source feature?

For example below, if I click to edit the Line layer, the related point feature is listed in the edit pop-up.

AlixVezina_1-1623780465121.png

And if I click through, I can now edit the point feature.

AlixVezina_3-1623780535567.png

 

AlixVezina_2-1623780502059.png

 

 

0 Kudos
HayleighPervorse2
New Contributor III

Hi,

Thanks again for the quick response. I will take a deeper look into the edit widget, however it is not very user friendly or intuitive to get to those related features and I believe you can't add new records. Do you know if there is any plans to enhance the smart editor to allow related feature creation? Or if this can be customized via the widget code? Our users are looking for a editing experience similar to field maps/collector-- create a main record, then add related records easily and quickly. 

 

Thanks again for your help,

Hayleigh 

0 Kudos
AlixVezina
Esri Regular Contributor

We are aware this capability is missing but it is not currently in the project plan since development is starting to focus on the next generation editor for Experience Builder where new capabilities will be provided over time. If this changes, I will make sure to let you know. You are welcome to expand the Smart Editor widget as a custom widget for your needs with WebAppbuilder Developer Edition. You would need to expand the widget code to provide the capability to create new related features directly from an existing feature's attribute inspector.

0 Kudos