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 :
Dynamics 365 general forum

Custom File Upload

(0) ShareShare
ReportReport
Posted on by 142

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

I have the same question (0)
  • Suggested answer
    Adrian Begovich Profile Picture
    1,027 Moderator on at

    Hi GPrasanna,

    I recommend contacting Scaleable Solutions about this issue.

  • Emre GULCAN Profile Picture
    2,379 on at

    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

  • GPrasanna Profile Picture
    142 on at

    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!!!

  • Suggested answer
    GPrasanna Profile Picture
    142 on at

    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.

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 > Dynamics 365 general

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans