I have designed a new PCF field control for enhancing visualization of Textbox
I have defined field template when initializing project file. After pushing the control to dev environment, i was able to see the control when i navigate to "custom controls" from d365/power platform solutions. however, when i try to add this by clicking field properties->add control, i could not see the control in the list. Am i missing any?? Appreciate any inputs!!
I have tried searcjing for thsi control on following field types but of no avail- single line of text, whole number, multiple lines of text, lookup,optionset, subgrid.
Command used for project file : pac pcf init --namespace loanDepot --name <control name>--template field
@Ashu_K what's the type of your control? If it's the field - it won't show up for grids. You have to create a control with "dataset" type.
Hi @DianaBirkelbach,
I created a PCF control, and it only shows up in the ‘Add Control’ section of forms, but not in the Entity view control. Could you please let me know what needs to be changed in my code?
Hi @pavansarma_2301 ,
You can use the type "SingleLine.Phone" instead of "SingleLine.Text" in your manifest. Then you wouild target the Phone fields. Here is the list of all available types:
Hope it helps!
This might be useful to others, since yours is already solved. I encountered same issue but with me it was because of the Format selected for the column. for eg: I had PhoneNumber selected as Format, which was causing issue ( As there is an already applied format , it was not taking my control. Strangely though it is picking some OOTB controls) . Which might be applicable for that format.
After switching to Text. It fixed for me. So we also need to check the format.
Hi @Goutham ,
I think the first property (lookupField for you) must be of usage="bound". You don't need to provide a changed value though.
Hope it helps!
Kind regards,
Diana
Thank you @DianaBirkelbach !!
Please find my Manifest below if that helps. I am able to see all OOB controls and also other custom controls(of type dataset\field) created by me\team.
Hi @Goutham ,
Maybe you can share share the Manifest with us.
If you go to field -> properties -> add control, are you still able to see the out of the box controls? Sometimes there are special chars in the manifest, which cause all the controls to disappear.
Also I've noticed that you were talking about field of type "subgrid": there is no such field type. Subgrids are implemeneted by using PCFs of type dataset. Maybe that's the problem.
Hope this helps!
Kind regards,
Diana
WarrenBelz
85
Most Valuable Professional
Michael E. Gernaey
57
Super User 2025 Season 1
mmbr1606
55
Super User 2025 Season 1