Tag Archives: Adding pdt attachment to D365

Add attachment from MultipartContent Stream

Requirement Create attachment in Dynamics 365 CE from the stream which will be available in MultipartContent response. Details Let’s say are getting MultipartContent in HttpResponse. This response contains stream which we want to use to create and attach pdf file in notes. We can use following code: The code first checks if the HTTP response is not null and if… Read more »