Select to view content in your preferred language

Cannot edit related records fields in the map viewer form

258
8
Jump to solution
2 weeks ago
SaraWazir
Emerging Contributor

I want to edit the fields that show up for my related records in the map viewer form. However, it says that I don't have any related records when I clearly do.
I can see that I have related records and they show up in the popup but then I get this message (see attached) which says that I don't. How do I get around this?

SaraWazir_0-1749189834379.png

 

 

1 Solution

Accepted Solutions
EmilyGeo
Esri Regular Contributor

Hi @SaraWazir 

Oh okay, thanks for clarifying your question. You want to know if you can create a form for the related records. Yes, you can do that 😊

The screenshot you show is the form for the parent layer. That is not the place to do that.

To create a form for the related layer (or table), you need to select the related layer (or table), then click Configure editing > Forms. Then you can build the form for the related records. 

EmilyGeo_0-1749510155446.png

Hope that helps! Emily

View solution in original post

8 Replies
EvanManrow
Occasional Contributor

I saw your comment to the 2023 post, but I'll chime in here to agree: relates are broken. Creating an EB application makes this clear, because I can pull up the relate right next to the "No records found" on the PopUp:

EvanManrow_0-1749218253774.png

Here's a clean example. The Smart Form editor also doesn't see the Relate, so I can't edit the records in any capacity in AGO. Editing them in Pro works perfectly fine. 🤷‍:male_sign:




0 Kudos
EmilyGeo
Esri Regular Contributor

Hi @SaraWazir

You are on the right track. From the screenshot you shared, I can see that you have configured the form correctly. In your screenshot:

  • The area on the left side is where you added the related record element to your form so that you'll be able to view and edit related records in the form. 
  • The message you highlighted on the right:

EmilyGeo_0-1749595052777.png

 

just tells you that there are no other related record elements in your dataset. If you had a datatset with more than 1 relationship, additional related tables or layers that were not already added to your form would be listed here. 

If you still need assistance, you can check out this blog article about configuring forms for editing related records in Map Viewer: https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/introducing-related-record-editing-i...

0 Kudos
SaraWazir
Emerging Contributor

@EmilyGeo  Thank you for your response.  

I am designing this form to be edited in an Experience Builder app by users using the 'Edit Widget'. The problem that I am facing is that map viewer does not allow me to curate the form for the related table. I want to choose which fields from the related table to display and how to format them. It does not let me do that and instead says no related records found. Do you have a different solution for this or is there a bug with AGOL?

SaraWazir_0-1749506686064.png

 

 

 

How do I 

0 Kudos
EmilyGeo
Esri Regular Contributor

Hi @SaraWazir 

Oh okay, thanks for clarifying your question. You want to know if you can create a form for the related records. Yes, you can do that 😊

The screenshot you show is the form for the parent layer. That is not the place to do that.

To create a form for the related layer (or table), you need to select the related layer (or table), then click Configure editing > Forms. Then you can build the form for the related records. 

EmilyGeo_0-1749510155446.png

Hope that helps! Emily

SaraWazir
Emerging Contributor

@EmilyGeo  ah thank you, I was not looking in the right place. I was able to edit which fields display in my related table. 

My biggest road block is still there. I cannot access these related records for editing in the experience builder app. I can edit the parent layer's attributes but I cannot even view/edit the related records in the experience builder edit widget. I want to give users the ability to add related records to the parent feature layer and also update/edit them as needed. Am I missing a step? See in the attached screenshot. I have the contacts for related records, entity as the parent layer. 

SaraWazir_0-1749582183272.png

 

0 Kudos
EmilyGeo
Esri Regular Contributor

Hi @SaraWazir

I don't see the related records element in this screenshot, but based on a screenshot above it looks like you placed it on the bottom of the form.

  • Can you scroll down to the bottom of the form to see if it is there? 
  • Can you confirm that you can see related records on the form in Map Viewer? 
  • You may need to save / refresh for everything to sync up

 

0 Kudos
SaraWazir
Emerging Contributor

@EmilyGeo 

Okay, so back in the map viewer:

  • Here is what it looks like now. I brought the related records to the top of the form and saved it. See attached below. This did not make a difference for me in the Exp Builder app. Even though I brought it to the top of the form. 
    • SaraWazir_1-1749594408575.png
  • I can confirm that the related records exist when I click on a pop up in the map viewer. See below:
    • SaraWazir_2-1749594499550.png

       

0 Kudos
SaraWazir
Emerging Contributor

@EmilyGeo EmilyGeo
This is solved, maybe I just had to republish my app. Thank you very much for your support! 

0 Kudos