Hello, I am new to PCF, I tried the following this example to create a custom component, it works.
I was able to package the component and deploy it to my environment
i followed this tutorial to add the component to an entity but i could not see the custom component in Add Control
I hope somebody can help me, thank you for reading.
Best Regards,
Minh Pham
Hi @MinhPham96 ,
Do you want to use CLI command to generate the web resource file?
If you want to use CLI command to generate the web resource file, I afriad that there is no way to achieve your needs in PowerApps currently.
As an alternative solution, you could consider update your Code Custom Component. Please consider refer to the following article:
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/updating-existing-controls
Best regards,
Dear @v-xida-msft ,
I did a quick check and found out that the display name is defined in a web resource file. This web resource file is within the sample code which it uses the display name key from the Manifest to get the value from the web resource file
I just want to clarify a bit more, Is it possible for us to generate this file using some CLI command ? Or we have to create this file from scratch ? Thank you.
Best Regards,
Minh Pham
Hi @MinhPham96 ,
Actually, the displayname of the Custom Code Component is defined within the Manifest.Input.xml file for your code component as below:
If you want to change the DisplayName of your Custom Component, please update the corresponding Manifest.Input.xml, then update your Custom Component again.
The Manifest.xml file of your custom component should be like below:
Please consider update the Manifest.xml file on your side.
Best regards,
Dear @v-xida-msft ,
Thank you for your reply, but I already updated the situation in my second comment, can you have a look at it for me ? Thank you.
Best Regards,
Minh Pham
HI @MinhPham96 ,
Please consider select the Forms you want to add your Custom component within the Solution explorer, then edit it as below:
Then within the opening Entity Form, select the field where you want to add your Custom Component, then click "Change properties" option as below:
Then switch to "Controls" tab, click "Add control", check if the Custom Component is existed there.
Also please make sure the Entity you are expanding is in same Solution as your imported Custom Conponent package.
Best regards,
Ok, It was actually shown in the 'Add Control' list, but it was displayed in a different name. So can somebody help me where the name is defined ? Because the display name is different from the project name, as well as the namespace, I cannot remember where we defined this name. Thank you for reading.
Best Regards,
Minh Pham
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
65
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1