Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

Custom File Upload

(0) ShareShare
ReportReport
Posted on by 140

Hi,

I wanted to have custom file upload button which will attach the files to the notes. I tried using below to upload files,but it is throwing 500 internal error while uploading email attachments. can anyone help me with it.

scaleablesolutions.com/upload-notes-attachments-using-javascript-and-rest

  • Suggested answer
    GPrasanna Profile Picture
    GPrasanna 140 on at
    RE: Custom File Upload

    Was able to find the issue. When a email attachment is uploaded the file type is passed as blank.so checking if the file type is .msg then assigning the file type.This resolved my issue.

  • GPrasanna Profile Picture
    GPrasanna 140 on at
    RE: Custom File Upload

    Thanks for the response. I tried reaching the Scaleable solution but haven't got any response . Also, tried to debug from the developer tools .Couldn't figure out the issue. Any help is highly appreciated!!!

  • Emre GULCAN Profile Picture
    Emre GULCAN 2,379 on at
    RE: Custom File Upload

    Hi,

    Maybe you can find something useful inside your browser's developer tools / network section.

    This screenshot is for example, please find url/file that caused to exception (line color is red) and click it to see exception details.

    1638.Capture.PNG

  • Suggested answer
    Adrian Begovich Profile Picture
    Adrian Begovich 1,014 Super User 2024 Season 2 on at
    RE: Custom File Upload

    Hi GPrasanna,

    I recommend contacting Scaleable Solutions about this issue.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,458 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans