Ik heb een .xlsx-bestand met de ArcGIS for Excel-plugin, waarin een gehoste feature-laagtafel wordt geladen die een domeingestuurd veld bevat.<\/P>
Wanneer ik het Excel-bestand opsla en sluit en later opnieuw open, krijg ik deze Microsoft Excel-foutmelding: <\/P>
"We hebben een probleem gevonden met sommige inhoud in 'TEST1234.xlsx'. Wilt u dat we proberen zoveel mogelijk te herstellen? Als u de bron van dit werkboek vertrouwt, klik dan op Ja."<\/P>
Wanneer ik op "Ja" klik en het bestand opnieuw opent, krijg ik een lijst met reparaties voor het bestand. Ik sluit het pop-upvenster met de lijst van reparaties en ga naar een van de domeingestuurde cellen. Het domein is niet langer actief (er is geen vervolgkeuzelijst meer zoals bij Gegevensvalidatie). Vervolgens ga ik naar ArcGIS for Excel en vernieuw de laag, hierdoor werkt de vervolgkeuzelijst weer. <\/P>
Het domeingestuurde veld van de laagtafel heeft een zeer lange domeinlijst van 41 items met in totaal 314 tekens, waarbij het langste item slechts 17 tekens lang is. Ik vond een Microsoft Community Forum bericht<\/A> over gegevensvalidatie in Excel waarin staat dat gegevensvalidatie een limiet van 256 tekens heeft voor alle items in de gegevensvalidatielijst. Ik besloot dit te testen. Ik heb de beschrijvingen van de domeinlijst van de AGOL-laag ingekort om het aantal tekens onder deze limiet te brengen. Hierdoor verdween de fout bij het opnieuw openen van het Excel-bestand en werkt alles prima.<\/P>Wanneer ik handmatig een gegevensvalidatielijst van 314 tekens in Excel maak (zonder gegevensinvoer vanuit ArcGIS for Excel), heeft de gegevensvalidatie geen problemen, het slaat op en opent perfect opnieuw. Het lijkt erop dat de limiet van 256 tekens niet geldt voor gegevensvalidatielijsten die volledig in Excel zijn gemaakt.<\/P>Echter, wat de ArcGIS for Excel-plugin ook doet om de gegevensvalidatie te emuleren op basis van de AGOL-laagdomeinlijsten, lijkt beïnvloed te worden door de limiet van 256 tekens.<\/P>Kan de ArcGIS for Excel-plugin worden bijgewerkt zodat deze grote domeinlijsten kan verwerken? <\/P>
Wanneer ik handmatig een gegevensvalidatielijst van 314 tekens in Excel maak (zonder gegevensinvoer vanuit ArcGIS for Excel), heeft de gegevensvalidatie geen problemen, het slaat op en opent perfect opnieuw. Het lijkt erop dat de limiet van 256 tekens niet geldt voor gegevensvalidatielijsten die volledig in Excel zijn gemaakt.<\/P>
Echter, wat de ArcGIS for Excel-plugin ook doet om de gegevensvalidatie te emuleren op basis van de AGOL-laagdomeinlijsten, lijkt beïnvloed te worden door de limiet van 256 tekens.<\/P>
Kan de ArcGIS for Excel-plugin worden bijgewerkt zodat deze grote domeinlijsten kan verwerken? <\/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,
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.