Eu tenho um arquivo .xlsx com o plugin ArcGIS for Excel, trazendo uma tabela de camada de feição hospedada que possui um campo baseado em domínio.<\/P>
Quando salvo e fecho o arquivo Excel e depois o reabro, recebo esta mensagem de erro do Microsoft Excel: <\/P>
"Encontramos um problema com algum conteúdo em 'TEST1234.xlsx'. Deseja que tentemos recuperar o máximo possível? Se você confia na fonte desta pasta de trabalho, clique em Sim."<\/P>
Quando clico em "Sim" e o arquivo reabre, recebo uma lista de reparos para o arquivo. Fecho a janela pop-up da lista de reparos e vou para uma das células baseadas em domínio. O domínio não está mais ativo (não há mais um menu suspenso como na Validação de Dados). Então, vou ao ArcGIS for Excel e atualizo a camada, isso faz o menu suspenso funcionar novamente. <\/P>
O campo baseado em domínio da tabela da camada tem uma lista muito longa de domínios com 41 itens totalizando 314 caracteres, sendo o item mais longo com apenas 17 caracteres. Encontrei um post no Fórum da Comunidade Microsoft<\/A> sobre validação de dados no Excel dizendo que a validação de dados tem um limite de 256 caracteres para todos os itens na lista de validação. Decidi testar isso. Eu encurtei as descrições da lista de domínios da camada AGOL para reduzir a contagem de caracteres abaixo desse limite. Fazer isso eliminou o erro quando reabri o arquivo Excel e tudo funcionou bem.<\/P>Quando construo manualmente uma lista de validação de dados com 314 caracteres no Excel (sem entrada de dados do ArcGIS for Excel), a validação de dados não apresenta problemas, salva e reabre perfeitamente. Parece que o limite de 256 caracteres não se aplica às listas de validação construídas inteiramente no Excel.<\/P>No entanto, qualquer que seja o método que o plugin ArcGIS for Excel esteja usando para emular a validação de dados baseada nas listas de domínio da camada AGOL parece ser afetado pelo limite de 256 caracteres.<\/P>O plugin ArcGIS for Excel pode ser atualizado para que possa lidar com listas grandes de domínios? <\/P>
Quando construo manualmente uma lista de validação de dados com 314 caracteres no Excel (sem entrada de dados do ArcGIS for Excel), a validação de dados não apresenta problemas, salva e reabre perfeitamente. Parece que o limite de 256 caracteres não se aplica às listas de validação construídas inteiramente no Excel.<\/P>
No entanto, qualquer que seja o método que o plugin ArcGIS for Excel esteja usando para emular a validação de dados baseada nas listas de domínio da camada AGOL parece ser afetado pelo limite de 256 caracteres.<\/P>
O plugin ArcGIS for Excel pode ser atualizado para que possa lidar com listas grandes de domínios? <\/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,
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.