laptop and a wrench

Erro

The URL added to a text in the pop-up is truncated when there is a curly bracket '{}' after the equal sign in the URL.

ArcGIS Online
Número de ID do Erro BUG-000173571
EnviadoJanuary 13, 2025
Última ModificaçãoJune 18, 2025
Aplica-se àArcGIS Online
Versão encontradaNov 2024
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusAs Designed

Informações Adicionais

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.

Solução Provisória

There are several safe options for generating a URL for pop-ups that include a specific value or have a value change dynamically.

  1. 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.
  2. 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.

Etapas para Reproduzir

ID do Erro: BUG-000173571

Software:

  • ArcGIS Online

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download