Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

PCF field Error while binding the output - You have exceeded the maximum number of 1048576 characters in this field

Posted on by Microsoft Employee

Hi folks,

I'm new to PCF controllers. I have build a PCF controller for single line text which will render a HTML and the HTML fields are defaulted with the values in the form. and then I'm calling an API.
after getting result I'm binding the data back to CRM fields. But after binding I'm getting error for  exceeding the max character of the field.

I have changed the PCF controller to a multi-line text(max length) and but still after binding data I'm getting the same error.

Due to this error, I'm not able to save the record. 

pastedimage1631287823743v1.png

Any leads will be highly appreciated. 

Thanks in advance

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: PCF field Error while binding the output - You have exceeded the maximum number of 1048576 characters in this field

    Hi Shivanshu,

    The above screenshot show the UI of ONE PCF controls. Which means you have developed the PCF controls consisting three HTML fields as 
    1. Reference ID, Amount and Date Performed? and after saving your getting error? please confirm.

    Also, how you are updating the field from PCF Control (i.e. Using WebAPI or PCF Method)?

    As per my experience, For field level PCF control, I use the getoutput() method to bind data back to CRM field from PCF control.

    i.e. Whenever we setup field level PCF control then we get one bind parameter in ControlMenifest.xml file and that parameter will be responsible for updating the field value.

    Thanks,
    pradeep.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans