web
You’re offline. This is a read only version of the page.
close
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....?

I have the same question (0)
  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi,

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

  • ShubhamJain7 Profile Picture
    20 on at

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

  • meelamri Profile Picture
    13,216 User Group Leader on at

    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

    Thanks it would be very helpful .

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans