不具合 ID 番号 |
BUG-000173571 |
送信されました | January 13, 2025 |
最終更新日 | June 18, 2025 |
適用対象 | ArcGIS Online |
見つかったバージョン | Nov 2024 |
オペレーティング システム | Windows OS |
オペレーティング システムのバージョン | 11.0 64 bit |
ステータス | As Designed
開発チームによる確認後に、この動作が設計どおりであると判断されました。 詳細については、「参考情報」セクションをご参照ください。
|
参考情報
Curly braces are designated as unsafe characters to include within URLs and must be encoded to be used safely. Otherwise, the values will be sanitized from the URL. Refer to this documentation: https://support.exactonline.com/community/s/knowledge-base#All-All-DNO-Content-urlcharacters for more information.
Links containing curly braces can be successfully launched from other places, e.g. the attribute table. This is a bug and will be fixed in the next updates of ArcGIS Online and Enterprise.
対処法
There are several safe options for generating a URL for pop-ups that include a specific value or have a value change dynamically.
- Use the link tool in the text editor to create the link. The link can be static or dynamic, e.g., baseURL + {field_name}. The curly braces in this case are not part of the URL. They are ArcGIS's way of referencing a field or attribute expression so that values from the dataset can be dynamically inserted.
- Alternatively, use Arcade to generate the URL, either by using attribute expressions or Arcade elements. For example, return 'baseURL' + $feature.ID, or leverage text functions such as Right() and EncodeURL() to extract and encode the value enclosed in curly braces, then append it to the base URL.
再現の手順