Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Custom Report on Error Messages on File Imports

(0) ShareShare
ReportReport
Posted on by 25

Has anyone written custom FetchXML reports in CRM to display errors from users doing file imports?  How would you create such a report, which entity and fields, and what criteria did you use - or would I use to get just the File-Import errors?

Categories:
  • cloflyMao Profile Picture
    25,208 on at
    RE: Custom Report on Error Messages on File Imports

    Hi Richxyz1,

    Are the Imports logs what you want ?

    https://www.marksgroup.net/blog/dynamics-365-troubleshoot-import-issues/

    0045.PNG

    If so, I found that these records are stored in importlog entity:

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/entities/importlog

    Then I build such fetchXML query in SSDT:

    <fetch mapping="logical" version="1.0">
    <entity name="importlogs">
    <attribute name="logphasecode" />
    <attribute name="sequencenumber" />
    <attribute name="errordescription" />
    <attribute name="errornumber" />
    <attribute name="headercolumn" />
    <order attribute="headercolumn" />
    <order attribute="sequencenumber" />
    <filter>
    <condition attribute="headercolumn" operator="not-null" />
    </filter>
    </entity>
    </fetch>

    8032.PNG

    However, it seems that errornumber property has a different format compared with it in system view,

    and data in errordescription field are null.

    Currently there are only Sample data imports in my environment, you could test my query in your own environment to test whether you could see error description field/property.

    Regards,

    Clofly

Under review

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans