Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Does the "File" data type support D365 On-premises?

Posted on by 5

Hello Everyone,

I can able to add file data type field in D365 on-premises. But when I retrieving the attachment from file data type through JavaScript I am getting this response “downloading in multiple chunks is not supported for files stored in the database.” But same script is working if it is online version. Is there any way that I can get it?

This is the link I used to get the attachment in online version.

http://debajmecrm.com/retrieve-contents-of-file-data-type-field-in-dynamics-365-cds-using-javascript-client-code/

This is On-premise version.

pastedimage1637737557583v1.png

Looking forward to your response. 

Thanks,

Kanagaraj S.

  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: Does the "File" data type support D365 On-premises?

    Hi,

    Please check below link:

    https://nishantrana.me/2021/10/01/using-file-and-image-data-type-in-dataverse-dynamics-365/

    Thanks,
    Pradeep

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: Does the "File" data type support D365 On-premises?

    Hi,

    Have you tried writting C# code in custom action to download the file content and execute Custom action from Javascript in your onpremise instance ?

    See below blog for C# code to download file content -

    xrmdynamicscrm.wordpress.com/.../

    Please mark my answer verified if this is helpful!

    Regards,

    Bipin Kumar

    Follow my Blog: xrmdynamicscrm.wordpress.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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans