Esri / attachment-viewer

Attachment Viewer Configurable App Template built with the 4.x ArcGIS API for JavaScript
Apache License 2.0
16 stars 27 forks source link

Not showing pop-up/tooltip information on related featurelayers in mapcentric viewer #26

Open Skiffen opened 4 years ago

Skiffen commented 4 years ago

I use a webmap with 3 featureservicelayers related to 1 other featureservicelayer. The attachmentviewer is able to get the photo's and features of the related featureservicelayers, but is unable to show the pop-up/tooltip information in the designated window in the mapcentric viewer. I made sure mapCentricTooltipEnabled is set to true in the application.json file. I get a list of errors from the ESRI JavaScript 4 API with the following message: 'A related table ID is required on a layer to retrieve related data'. I double checked the featureservice definition with the ESRI REST interface and a relatedTableID is available in the service definition. Note: For the application viewer I do not need to see the related records of a feature, this is not a new application feature request. I just wish to see the feature attributes of the selected feature. image

rslibed commented 4 years ago

Thank you for submitting an issue. Related records currently aren't taken into account in AttachmentViewer which may be causing the feature attribute issue. Will look into this for the upcoming ArcGIS Online release