web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SDK/API available for ...
Power Apps
Unanswered

SDK/API available for Excel export/import

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

If we want to build a custom UI with CDS as backend and implement excel import/export functionality (as in model-driven app), does the CDS sdk/api have support for the same?

I have the same question (0)
  • David Jennaway Profile Picture
    716 on at

    The API supports data import - see https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/data-import-entities as a starting point. However, there's no equivalent for the export functionality

  • Suchism Profile Picture
    Microsoft Employee on at

    Thanks @DavidJennaway  for your response ! I was looking more in terms of how its from the Model-Driven UI , for example given the View name the api/sdk method should be able to export the records to excel file and upon updating the excel importing back , the api/SDK method should write it back to the entity.

  • David Jennaway Profile Picture
    716 on at

    There is no documented functionality available in the API to export records to Excel. It might be possible to find out what calls are made in the model-driven UI to export to Excel, and to replicate these, but as they are not documented, this approach would be unsupported.

    The import functions in the API (as per my previous post), should work for importing from Excel, but the problem you have is that you'll need to have generated the Excel file in exactly the format that CDS expects

  • Joel CustomerEffective Profile Picture
    3,224 on at

    something like this may work https://dreamingincrm.com/2016/11/10/export-to-excel-using-dynamics-365-sdk/, and you could also look at how Natraj does it in his XrmToolBox tool https://github.com/rajyraman/mscrmexporttoexcel

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 525 Most Valuable Professional

#2
Haque Profile Picture

Haque 273

#3
Kalathiya Profile Picture

Kalathiya 232 Super User 2026 Season 1

Last 30 days Overall leaderboard