In Collector for ArcGIS (iOS), the feature of the pop-up media does not display when the image URL contains a space or %20.
上次发布: November 27, 2019ArcGIS Collector
漏洞 ID 编号
BUG-000126192
已提交
October 22, 2019
上次修改时间
June 5, 2024
适用范围
ArcGIS Collector
找到的版本
19.1.0
操作系统
Apple iOS
操作系统版本
N/A
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
This is expected behavior when including non-URL encoded spaces for the image URL within the popup media.
In this scenario, since image names are being concatenated from an attribute field to a common URL, if/when the image name contains spaces, you can utilize Arcade expressions in the popup to encode them. Such as:
if (Find($feature.PhotoNameField," ") < 0)
// URL encode the string
return UrlEncode(Text($feature.PhotoNameField))
or
if (Find($feature.PhotoNameField," ") < 0)
// or manually encode spaces
return Replace($feature.PhotoNameField, " ", "%20", True)
else
return $feature.PhotoNameField