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?
Solved! Go to Solution.
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.
Hope that helps! Emily
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:
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:
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:
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...
@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?
How do I
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.
Hope that helps! Emily
@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.
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.
@EmilyGeo
Okay, so back in the map viewer: