操作方法
在某些情况下,在 ArcGIS Instant Apps 的 Attachment Viewer 应用程序中使用具有大量要素或附件的要素图层时,启用“仅显示带有附件的要素”设置可能会导致在应用程序或以地图为中心的布局中加载附件时性能降低,并可能导致没有附件的要素在“附件”面板中填充“损坏的图像”图标,如以下屏幕截图所示。
本文章提供了一种解决方法,可以从 Attachment Viewer 应用程序中过滤掉不含附件的要素,并且只有具有附件的要素才会显示在“附件”面板中,如下图所示。
Note: You must be the data owner to make these changes.
请执行以下步骤:
// Create a field that shows how many attachments to filter on var stands = $feature var featAttach = Count(Attachments(stands)) // Value that will be returned if there are attachments present var yes = "Yes" // Value that will be returned if there are no attachments present var none = "None" IIf(featAttach > 0, yes, none)
文章 ID: 000026475
获取来自 ArcGIS 专家的帮助
下载 Esri 支持应用程序