Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

PCF control not visible from "Add control" wizard

(0) ShareShare
ReportReport
Posted on by 76

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 Profile Picture
    5 on at
    Re: PCF control not visible from "Add control" wizard

    Thankyou @a33ik  🤝

  • a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: PCF control not visible from "Add control" wizard

    @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.

  • Ashu_K Profile Picture
    5 on at
    Re: PCF control not visible from "Add control" wizard

    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?

     

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: PCF control not visible from "Add control" wizard

    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: 

    https://learn.microsoft.com/en-us/power-apps/developer/component-framework/manifest-schema-reference/property?WT.mc_id=BA-MVP-5004107#using-of-type

     

    Hope it helps!

  • Pavan Deepala Profile Picture
    32 on at
    Re: PCF control not visible from "Add control" wizard

    @Goutham @DianaBirkelbach 

    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.

     

    pavansarma_2301_0-1702364667276.png

     

     

  • Goutham A Profile Picture
    76 on at
    Re: PCF control not visible from "Add control" wizard

    Thank you @DianaBirkelbach !!

  • Verified answer
    Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: PCF control not visible from "Add control" wizard

    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

     

  • Goutham A Profile Picture
    76 on at
    Re: PCF control not visible from "Add control" wizard

    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.

     

    <manifest>
      <control namespace="namespace1" constructor="cascadingDropDownControl" version="0.0.2" display-name-key="cascadingDropDownControl" description-key="cascadingDropDownControl description" control-type="standard">
        
        <property name="lookupField" display-name-key="Look up Field" description-key="LookupField" of-type="SingleLine.Text" usage="input" required="false" /> 

        <resources>
          <code path="index.ts" order="1"/>
          <css path="css/dropdown.css"  />
        </resources>
        <feature-usage>
          <uses-feature name="Utility" required="true" />
          <uses-feature name="WebAPI" required="true" />
        </feature-usage>
      </control>
    </manifest>
  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: PCF control not visible from "Add control" wizard

    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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 57 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard