Tengo un archivo .xlsx con el complemento ArcGIS para Excel, que trae una tabla de capa de entidades alojada que tiene un campo basado en dominio.<\/P>
Cuando guardo y cierro el archivo de Excel y luego lo vuelvo a abrir, recibo este mensaje de error de Microsoft Excel: <\/P>
"Encontramos un problema con algún contenido en 'TEST1234.xlsx'. ¿Desea que intentemos recuperar todo lo que podamos? Si confía en la fuente de este libro, haga clic en Sí."<\/P>
Cuando hago clic en "Sí" y el archivo se vuelve a abrir, obtengo una lista de reparaciones para el archivo. Cierro la ventana emergente de la lista de reparaciones y voy a una de las celdas basadas en dominio. El dominio ya no está activo (ya no hay un menú desplegable como en Validación de Datos). Luego voy a ArcGIS para Excel y actualizo la capa, esto hace que el menú desplegable funcione nuevamente. <\/P>
El campo basado en dominio de la tabla de la capa tiene una lista de dominio muy larga de 41 elementos que suman 314 caracteres, siendo el elemento más largo solo de 17 caracteres. Encontré una publicación en el Foro Comunitario de Microsoft<\/A> sobre validación de datos en Excel que dice que la validación de datos tiene un límite de 256 caracteres para todos los elementos en la lista de validación. Decidí probar esto. Acorté las descripciones de la lista de dominios de la capa AGOL para reducir el conteo de caracteres por debajo de este límite. Hacer esto eliminó el error cuando volví a abrir el archivo Excel y todo funciona bien.<\/P>Cuando construyo manualmente una lista de validación de datos con 314 caracteres en Excel (sin entrada de datos desde ArcGIS para Excel), la validación no tiene problemas, se guarda y se vuelve a abrir perfectamente. Parece que el límite de 256 caracteres no se aplica a las listas de validación construidas completamente en Excel.<\/P>Sin embargo, cualquier método que use el complemento ArcGIS para Excel para emular la validación basada en las listas de dominio AGOL parece verse afectado por el límite de 256 caracteres.<\/P>¿Puede actualizarse el complemento ArcGIS para Excel para que pueda manejar listas grandes de dominios? <\/P>
Cuando construyo manualmente una lista de validación de datos con 314 caracteres en Excel (sin entrada de datos desde ArcGIS para Excel), la validación no tiene problemas, se guarda y se vuelve a abrir perfectamente. Parece que el límite de 256 caracteres no se aplica a las listas de validación construidas completamente en Excel.<\/P>
Sin embargo, cualquier método que use el complemento ArcGIS para Excel para emular la validación basada en las listas de dominio AGOL parece verse afectado por el límite de 256 caracteres.<\/P>
¿Puede actualizarse el complemento ArcGIS para Excel para que pueda manejar listas grandes de dominios? <\/P>
I am having the exact same problem. It appears that there is probably a bug that needs to be brought up to Esri. I will try submitting a case using your excellent description above.
Thank you so much @EMorgan for reporting this. We can definitely take a look at the limits we currently support for the domain list.
@JaromHlebasko If you were able to log the bug with Esri Support Services, do you have the bug number?
If not, I can log this for tracking and post updates here as well.
Thank you kindly,
SC
I created a case and have been on the phone with Esri about this issue. Unfortunately, this is a Microsoft Excel issue and not a defect/bug with the ArcGIS Excel plug-in. Esri provided me a workaround to create a list in a separate sheet and reference that list in the Data Validation formula window (ex: "=NameofList"). This does work; however, if you need to refresh your map with the newest data, it will wipe out this formula every time. If there is another workaround, I will post it once Esri gets back with me. Otherwise, Esri has suggested submitting an enhancement for the plug-in for them to somehow work around the data validation issue in Excel.
Two things:
1) We opened an ESRI support case about the plug-in, and had a call with a tech. During that call, we demonstrated that the issue is in the plug-in and not in Excel. We did this by manually building a Data Validation list in Excel that exceeded the supposed 256 character limit mentioned in the Microsoft Community Forum post (see link in original post above) and it worked without a problem, so the fault is in how the plug-in emulates Data Validation, and not Data Validation itself.
2) Until a proper solution is found, this is the workaround we are using: We are abbreviating the Domain descriptions to come in below 256 characters. Remember to include delimiters in the character count of the list. For example, we have a domain of 40 entries which means there are 39 delimiters, leaving us with 217 (256-39=217) characters for the descriptions. So the average character count for each description is 5 (217/40=5.425, rounded down). So our abbreviated descriptions are mostly 5 letter abbreviations, a few 4's and a few 6's. We know this is contrary to the purpose of the descriptions in a domain list in ESRI feature classes, but it works and it continues to work even when we refresh the data in the ArcGIS for Excel plug-in. We will continue to use this method until this issue with the plug-in is corrected.
Good afternoon @JaromHlebasko, thank you for the further details. Do you have the case number for your call?
-SC
@EMorgan Thank you for the further details you also provided. Can you share the case number you were provided?
Yes, Esri Case #03701614
Good morning! To those who posted here and logged cases with Support services, we are happy to report this bug is fixed in the current release.
Best,
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.