Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

How to read data from the Excel file which is uploaded in file type field

(0) ShareShare
ReportReport
Posted on by 20

I  tried to achieve this through JavaScript but there also i am geting data in base64 , no idea how to convert that into json array or object(code-https://debajmecrm.com/retrieve-contents-of-file-data-type-field-in-dynamics-365-cds-using-javascript-client-code/) so that i can create json-data for record creation request

 

Can anyone help me to convert or better approach for creating records from the attached file in CDS....?

  • ShubhamJain7 Profile Picture
    20 on at
    RE: How to read data from the Excel file which is uploaded in file type field

    Thanks it would be very helpful .

  • meelamri Profile Picture
    13,212 User Group Leader on at
    RE: How to read data from the Excel file which is uploaded in file type field

    I don't have an example at the moment. I will try to implement a complete example as soon as possible.

  • ShubhamJain7 Profile Picture
    20 on at
    RE: How to read data from the Excel file which is uploaded in file type field

    do u have any code example of how to convert the base64 file content with this excel parser..?

  • Suggested answer
    meelamri Profile Picture
    13,212 User Group Leader on at
    RE: How to read data from the Excel file which is uploaded in file type field

    Hi,

    You need an Excel Parser like https://docs.sheetjs.com/

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,025 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,837 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans