Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Smartlist Designer Custom Smartlist and Export to Excel Error

(0) ShareShare
ReportReport
Posted on by
Has anyone encountered an issue when developing a custom SL using Smartlist Designer that when you export to Excel, the following error message is received? 
“Excel found unreadable content in '2015122-17153.xlsx' Recover the contents of this workbook..."
If I click yes to recover the data, I receive the following status message: 
The data is in Excel but all the QTY and Currency fields appear as text, dates appear as =DATE(2015, 1, 22). 
I receive the error on my test VM machine, the client’s server, and on a user’s machine. In all environments, Excel 2010 is being used.
I created a SQL View to pull the necessary data, made sure the DYNGRP role has SELECT ON access to the SQL View.
I only receive the error message when exporting the custom SL to Excel – all pre-built SL export with no issues.  I created 2 custom Smartlists - both in the Purchasing module, one from the existing Receiving Line Items SL and one from the SQL View I created – both generate the export error.  
To continue to troubleshoot, I created another Custom SL using the AccountTransactions view. It doesn’t generate the error message but it does convert the debit and credit amount to text instead of currency. I did one using the Items By Site and it does the same thing with the QTY fields – converts them to text. It only converts them back to integer if F2 is pressed to edit the cell. 
Any thoughts on the error message? 

*This post is locked for comments

  • Mick Egan Profile Picture
    Mick Egan 3,561 on at
    RE: Smartlist Designer Custom Smartlist and Export to Excel Error

    Lisa,

    One other step I found was to have any Date Columns to the left of any Value columns in the Smartlist, as sometimes the export causes issues with quantity values.

    This was when using a custom created view for the Smartlist.  

    We still get the problem with the quantity fields not appearing as values in excel.

    Mick

  • Suggested answer
    RE: Smartlist Designer Custom Smartlist and Export to Excel Error

    I added the "Undocumented" dex.ini setting SmartlistEnhancedExcelExport=TRUE and it appears to also resolve this type of issue as well.

  • RE: Smartlist Designer Custom Smartlist and Export to Excel Error

    Images did't upload

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,387 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans