I have a .xlsx file with ArcGIS for Excel plugin, bringing a hosted feature layer table that has a domain driven field.
When I save and close the Excel file and later re-open it, I receive this Microsoft Excel error message:
"We found a problem with some content in 'TEST1234.xlsx'. Do you want us to try and recover as much as we can? If you trust the source of this workbook, click Yes."
When I click "Yes" and the file re-opens, I get a list of repairs to the file. I close list of repairs pop-up window and go to one of the domain driven cells. The domain is no longer active (there is no longer a drop-down like in Data Validation). I then go to ArcGIS for Excel and refresh the layer, this makes the drop-down work again.
The domain driven field of the layer table has a very long domain list of 41 items totaling 314 characters, the longest item being only 17 characters long. I found a Microsoft Community Forum post regarding data validation in Excel saying that data validation has a 256 character count limit for all of the items in the data validation list. I decided to test this out. I shortened the AGOL layer's domain list descriptions to reduce the character count below this limit. Doing so got rid of the error when I reopened the Excel file and everything works fine.
When I manually build a 314 character data validation list in Excel (no data input from ArcGIS for Excel), the data validation has no problems, it saves and reopens perfectly fine. It appears the 256 character limit does not apply to data validation lists built entirely in Excel.
However, whatever means the ArcGIS for Excel plugin is emulating the data validation based on the AGOL layer domain lists seems to be affected by the 256 character limit.
Can the ArcGIS for Excel plugin be updated so that it can handle large domain lists?