皆さん、こんにちは。
属性テーブルに関連テーブルのデータが表示されません。 Michael Kellyのブログ記事(https://community.esri.com/people/MKellyesri-ireland-ie-esridist/blog/2016/11/18/related-data-in-arcgis-online )では、AGOLの新しいリリースで、AGOLの属性テーブル内の関連データの表示と編集がサポートされたと説明されています。私のマップでは関連レコードがあることは確認できますが、実際のデータを表示できません。下のスクリーンショットでは、選択した「Case」に2件の関連する「Waste Items」があることは正しく表示されていますが、属性テーブルには関連データのレコードがまったく表示されていません。
関連データを表示できるようにするには、何をすればよいでしょうか?
ホストフィーチャサービスを使用しています。データの所有者は私です。 関連テーブルにはサブタイプがあり、各サブタイプでいくつかのコード値ドメインを使用しています。コード値ドメインが原因で問題が起きているのでしょうか?
Hi Tom,
I suspect that the relationships have not been setup as expected - you need to have a Global ID field in the parent table, and then a Guid field in the child table which references the parent Global ID field. Check out the videos in the blog post you mentioned above to see how you can do this in ArcGIS Pro/ArcMap/Survey123 Connect.
If you have setup the related tables in this way, then I'm not sure what the problem is. I wouldn't expect the domains/subtypes to cause problems but perhaps they have. I would suggest you get onto Esri support or send on a link to the feature layer in question.
Michael
Hi Michael.
Thanks for your reply. I have not used the Global ID as the related field; instead where are using the ID that our organization assigns to the record when it is created - we call it the 'Case Number'. Within the feature service, we have one feature class and three related tables, and all the relationships are based off of 'Case Number'. For two of the tables the related table data displays as expected in the Attribute Table. It's just that one table - with the subtypes and domains - where the data are not displayed.
I'd be happy to share the feature service URL with you directly, however, it is private to our organization though and i don't think i can make it public. Is there a way that i could add your account on a temporary basis to our org account? or some other way to grant you access?
Thanks again,
Tom
I tend to use Global ID's for defining relationships as it removes the risk of duplicating primary key values. In this case, I would suggest you get in touch with Esri support as it needs a more detailed review.
Best wishes,
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.