Mám soubor .xlsx s pluginem ArcGIS pro Excel, který přináší tabulku hostované vrstvy prvků, která má pole řízené doménou.<\/P>
Když soubor Excel uložím a zavřu a později jej znovu otevřu, obdržím tuto chybovou zprávu Microsoft Excel: <\/P>
"Našli jsme problém s některým obsahem v 'TEST1234.xlsx'. Chcete, abychom se pokusili obnovit co nejvíce? Pokud důvěřujete zdroji tohoto sešitu, klikněte na Ano."<\/P>
Když kliknu na "Ano" a soubor se znovu otevře, zobrazí se seznam oprav souboru. Zavřu okno s tímto seznamem oprav a přejdu k jedné z buněk řízených doménou. Doména již není aktivní (už tam není rozbalovací nabídka jako v Ověření dat). Poté přejdu do ArcGIS pro Excel a obnovím vrstvu, což opět umožní fungování rozbalovací nabídky. <\/P>
Pole řízené doménou v tabulce vrstvy má velmi dlouhý seznam domén o 41 položkách celkem 314 znaků, nejdelší položka má pouze 17 znaků. Našel jsem příspěvek na Microsoft Community Forum<\/A> týkající se ověření dat v Excelu, který uvádí, že ověření dat má limit 256 znaků pro všechny položky v seznamu ověření dat. Rozhodl jsem se to vyzkoušet. Zkrátil jsem popisy seznamu domén vrstvy AGOL tak, aby počet znaků byl pod tímto limitem. Tím se chyba při opětovném otevření souboru Excel odstranila a vše funguje správně.<\/P>Když ručně vytvořím seznam ověření dat o délce 314 znaků v Excelu (bez vstupu dat z ArcGIS pro Excel), ověření dat nemá žádné problémy, ukládá se a znovu otevírá bez problémů. Zdá se tedy, že limit 256 znaků neplatí pro seznamy ověření dat vytvořené zcela v Excelu.<\/P>Nicméně způsob, jakým plugin ArcGIS pro Excel emuluje ověření dat na základě seznamů domén vrstvy AGOL, je zřejmě ovlivněn limitem 256 znaků.<\/P>Lze aktualizovat plugin ArcGIS pro Excel tak, aby zvládal velké seznamy domén?<\/P>
Když ručně vytvořím seznam ověření dat o délce 314 znaků v Excelu (bez vstupu dat z ArcGIS pro Excel), ověření dat nemá žádné problémy, ukládá se a znovu otevírá bez problémů. Zdá se tedy, že limit 256 znaků neplatí pro seznamy ověření dat vytvořené zcela v Excelu.<\/P>
Nicméně způsob, jakým plugin ArcGIS pro Excel emuluje ověření dat na základě seznamů domén vrstvy AGOL, je zřejmě ovlivněn limitem 256 znaků.<\/P>
Lze aktualizovat plugin ArcGIS pro Excel tak, aby zvládal velké seznamy domén?<\/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,
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.