Skip to main content

Notifications

Announcements

No record found.

Service | Customer Service, Contact Center, Fie...
Unanswered

Model Gets Null On Getting Images More Then 3M File Size

Posted on by 299

Hi Everyone,

I'm having a problems getting images from front , we have a UI that get's some images from the clients.

when the files they upload get more then 3Mbytes the model gets Null , and we get error.

I'm getting the files in base64 format.

I made a  model that gets list of annotations.

public List<NoteVM> Officecontract_Annotation { get; set; }

So has anyone got any idea what should I do.
could I use httppostedfilebase?

Regards 

 
  • z.sam Profile Picture
    z.sam 299 on at
    RE: Model Gets Null On Getting Images More Then 3M File Size

    Hi Leah Ju,

    I'm using Dynamics 365 CE v9,

    The code is written in .net framwork 4.6 MVC.

    Here is the controller Sample,

    Code.png

    Regards

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Model Gets Null On Getting Images More Then 3M File Size

    Hi,

    Can you tell me what app you are using?

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans