cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
JoCas
Helper I
Helper I

Control Configuration properties of input usage only limited to 100 characters

I have a pcf control that requires more than 100 characters of input on the config property but onfiguration properties of usage type input only accepts 100 characters. Already set the property-type to SingleLine.TextArea, also tried Multiple but still no luck. My temporary workaround is inspecting the input element then modifying the maxlenght to 1000. Aside from this, is there anything I can do?

 

Thanks!

Cheers

7 REPLIES 7
vigneshR
Frequent Visitor

As a workaround 

When the text is too long more than 100 words why don't you bind a value to a field Instead of the static value.

 

Regards

Vignesh.R 

 

That would be another work around, but the scenario I'm trying to achieve is when you don't have access to the data model and not allowed to add a field where it can be bound to. But anyways, thanks for your input @vigneshR.

You are correct that this limitation is unnecessarily low. We have filed an internal bug (1485549) to investigate what the actual limit set on values here should be, so this process should be fixed in a future iteration to allow for a more reasonable limit.

In the meantime, your workaround is probably the best option short of manually updating the form definitions; please be wary that there may be limits to the size allowed my form configuration metadata that may also be hit with this solution if the value you are setting is very large.

RameelKhan
Frequent Visitor

I am having the same issue. My PCF control needs more than 100 characters of input in the config property, which currently I am not being able to.

 

@jolake any update on the internal bug, or when can we expect this to get resolved.

hi @jolake 

any update on this topic? 🙂

Kipetcoff
Frequent Visitor

You can edit page in browser dev mode. Increase maxlenght. It will save value and next time you will see whole text inside

Hi @Kipetcoff ,

It is possible to extend the length as explained in several answers and the question itself, but the workarrounds are hard to explain to a customer who wants to use the PCFs. 

A customer friendly workarround would be to use environment variables for longer strings.

Hopefuly this will be fixed soon.

Kind regards,

Diana

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,737)