laptop and a wrench

Erro

Changing the field order in the Cartographic Information Model (CIM) does not update the order in pop-ups.

ArcGIS Pro
Número de ID do Erro BUG-000165908
EnviadoMarch 13, 2024
Última ModificaçãoDecember 11, 2024
Aplica-se àArcGIS Pro
Versão encontrada2.9
Sistema OperacionalWindows OS
Versão do Sistema Operacional10.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

The correct way to change field order is to use the layer FieldDescription collection. The CIMViewer is a diagnostic tool and is not supported. The correct workflow for changing field order is as follows: "fl" is a feature layer. Assume it has fields in the following order: [0] OBJECTID, OBJECTID [1] FACILITYID, Facility Identifier [2] NAME, Name of Facility [3] OWNER, Owner Name [4] OWNTYPE, Owner Type then: QueuedTask.Run(() => { var fld_desc_change_order = new List(); var fld_descriptions = fl.GetFieldDescriptions(); //put owner and owner type 2nd and 3rd respectively fld_desc_change_order.Add(fld_descriptions[0]);//OBJECTID fld_desc_change_order.Add(fld_descriptions[1]);//Fac ID fld_desc_change_order.Add(fld_descriptions.First(fd => fd.Name == "OWNER")); fld_desc_change_order.Add(fld_descriptions.First(fd => fd.Name == "OWNTYPE")); foreach (var fld in fld_descriptions.Skip(2)) { //add the rest if (fld.Name == "OWNER" || fld.Name == "OWNTYPE") continue;//previously added fld_desc_change_order.Add(fld); } fl.SetFieldDescriptions(fld_desc_change_order); }); will change the field order to: (which will also be reflected in the popup window) [0] OBJECTID, OBJECTID [1] FACILITYID, Facility Identifier [2] OWNER, Owner Name [3] OWNTYPE, Owner Type [4] NAME, Name of Facility This is user error.

Etapas para Reproduzir

ID do Erro: BUG-000165908

Software:

  • ArcGIS Pro

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