Select to view content in your preferred language

map viewer: enable editing in popup for tables

1669
10
Jump to solution
06-04-2024 10:58 AM
mikaël
Frequent Contributor

In map viewer, I have a feature layer added that comes from a Survey123 form, which contains 1 table related to 1 point layer related to 1 table related to 1 table.

Users can click on the point layer to access the related tables through a popup.

The popup has an "Edit" option which they can click to change values stored in the point layer.

mikAMD_0-1717523428859.png

I also have this parameter enabled in the point layer properties.

mikAMD_1-1717523455470.png

 

In the popup, when I click on related records from other tables, I do not see this "edit" button.

mikAMD_2-1717523590789.png

mikAMD_3-1717523601064.png

Plus the "enable editing" option is not present in the properties.

The feature layer containing all these tables and layer has editing enabled.

mikAMD_4-1717523707161.png

 

So, any way to easily edit related tables to a layer records in map viewer?

Thanks!

0 Kudos
1 Solution

Accepted Solutions
Laura
by MVP Regular Contributor
MVP Regular Contributor

Service Repair/Work is my related table

Laura_0-1717593015044.png

Laura_1-1717593068405.png

 

Once I click Edit it is set up to how I made it look within the smart forms. Have you configured your smart form and added the related records there?

Laura_3-1717593272477.png

Laura_4-1717593651501.png

 

View solution in original post

10 Replies
Laura
by MVP Regular Contributor
MVP Regular Contributor

I can edit a related table in the corresponding layer popup. Once I click edit in the popup it takes you to the right side pane where there I can add & edit the related table at the bottom. You need to click edit on the initial popup. You don't need to click into the related data and then click edit. The related table data should be at the bottom of the same edit pane they use for the points. 

mikaël
Frequent Contributor

Hey Laura,

If I click on a feature in the map on the point layer, I get the popup where I can click edit, and as you said, the edit pane on the right side shows up. However I only see fields for the point layer, not related tables.
At the top there is a small "Settings" section, then all the fields where I can change values (in the point layer), attachments (pictures) at the end and then the possibility to "+ Add" a feature through a file. Finally at the bottom, buttons "Update" and "Delete".

mikAMD_0-1717589317653.png

mikAMD_1-1717589329298.png

 

So let's say you have more than 1 records in the table related to the layer, all the records show in the edit pane? I'm curious, would you mind sending me a screenshot?

I think I'll contact ESRI support with your image, if that's ok with you.

Thanks for your help!

 

0 Kudos
mikaël
Frequent Contributor

I noticed in my previous screenshot that there is a message saying "Editing is disabled but you have privileges to edit this layer". I don't know where this is coming from because editing is enabled in the feature layer properties.

I searched in the map and found this in the layer/table properties:

mikAMD_0-1717591875840.png

I saw then "Some properties are stored in this web map", clicked on it and this is what pop-uped:

mikAMD_1-1717591912289.png

I thought maybe the problem was that "Pop-ups and attributes" were stored in the web map.

So I tried to "Reset to source layer properties"

mikAMD_2-1717591954218.png

But this basically removed all my layers and tables. I added them back and tried again to edit, but same problem and then the properties are stored in the web map again.

So this did not work.

 

 

 

 

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

Service Repair/Work is my related table

Laura_0-1717593015044.png

Laura_1-1717593068405.png

 

Once I click Edit it is set up to how I made it look within the smart forms. Have you configured your smart form and added the related records there?

Laura_3-1717593272477.png

Laura_4-1717593651501.png

 

mikaël
Frequent Contributor

I did NOT configure smart forms!! Just used related tables and values generated from Survey123 forms.

Gotta do a couple of things first and then will try it out.

Will report back with status, I'm sure this is the problem.

Thanks Laura!

mikaël
Frequent Contributor

Problem solved!
Thank you @Laura, your solution did the trick !

mikaël
Frequent Contributor

@Laura, quick question,  not sure if I should create another post or not.

Is it possible in the edit pane to navigate to a parent layer/table?

  1. When I click edit on the popup of my layer and then click on related records, I get to the related children records table. But then I can't go back to the parent layer. I have to exit the edit pane.
  2. My layer actually consists of children records from a parent table. I can't seem to enter edit mode for this parent table. The relationship options in Smart Forms seem to only be from parent to children, not "backwards".

Thanks!

0 Kudos
Laura
by MVP Regular Contributor
MVP Regular Contributor

If I am understanding right - 

There is a way in EXB & map viewer by using this arrow

Laura_1-1717687360083.png

 

 

 

mikaël
Frequent Contributor

Yeah when I click edit in a popup for a selected feature, then click on a related feature, then click on that top left arrow, it brings back to the the basic edit pane like when no feature is selected, doesn't bring me back to the parent layer. I'll contact ESRI.

Thank you so much for your help!

0 Kudos