web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Bug when single quote/...
Power Apps
Answered

Bug when single quote/apostrophe in property-set description

(0) ShareShare
ReportReport
Posted on by 200

We came across a bug, because of which we were not able to add or remove our PCF control from the Grid.

 

Repo Steps –

 

Step 1 - Add one property-set in Control Manifest when I added a single quote in the 
description key and then build the solution (no error is thrown).

 

Example -  <property-set name="sampleproperty" display-name-key="sampleproperty" description-key="Issue when using single quote example: card's " of-type-group="SupportedFields" usage="bound" required="false" />

 

Step 2 - Then import the solution in your environment

 

Step 3 – Navigate to customization to add control to your Entity Grid.

 

propertysetImage.png

 

 

 

Default Read-only grid doesn’t show and Add control click event is also not working leading to which we can’t add or remove control.

 

If we add the control without single quote in property-set description-key and then select our PCF control everything will work as expected, but again you update the property-set description-key by adding single quote then import the updated solution then control will work as fine but in control configuration same issue which was mentioned above occurs i.e can’t add or remove control from form.

 

And as this workaround is not stable we would not able to use it in our PCF control development.

 

Thanks!

 

Sheldon

I have the same question (0)
  • Verified answer
    JP-09110045-0 Profile Picture
    Microsoft Employee on at

    Hi Sheldon,

     

    Display-name-key and description-key aren't really meant to be used to store full strings with single quotes.  The actual purpose is to map to the value in a resx file to display the value in the resx file based on language.

     

    If you want to use strings with ' in them, I would add a resx file to the control by referencing the file in the manifest.  An example of how to do this can be found here - https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/localization-api-control

  • Sheldon Copper Profile Picture
    200 on at

    Thanks for the reply

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @sheldoncopper73 ,

    Have you solved your problem?

     

    The description-key attribute within the <property-set> node is used in customization screens as localized strings that describe the description of the property, which would retrieve the correspondind value from the data resource defined within a .resx file.

     

    More details about the .resx file in Compoent App, please refer to the following link:

    https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/resx

     

    If you have solved your problem, please consider go ahead to click "Accept as Solution" to identify this thread has been solved.

     

    Best regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 762

#2
11manish Profile Picture

11manish 640

#3
Valantis Profile Picture

Valantis 548

Last 30 days Overall leaderboard