Skip to main content
Dynamics 365 general forum
Suggested answer

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

editSubscribe (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
    ShubhamJain7 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
    meelamri 13,188 UG 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
    ShubhamJain7 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
    meelamri 13,188 UG 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/

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans