Skip to main content

Notifications

Community site session details

Community site session details

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

Deploying a Custom PCF Control

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I build a custom PCF control. The control is working properly on PCF Control Sandbox. Then I created a Solution, added the Control Components to the solution and deployed to CRM. The solution is on CRM and the content (custom control was visible). 

I tried to use the control on a form field but the control is not available.

 

What is the root cause if this issue?

 

Thanks

 

Zsolt

  • Verified answer
    Hemant Gaur Profile Picture
    on at
    Re: Deploying a Custom PCF Control

    thats correct.  See the list of supported (and unsupported) types here - https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/property#remarks

     

    hemant

  • Danish N. Profile Picture
    186 on at
    Re: Deploying a Custom PCF Control

    What is the datatype of field where you want to bind it? As suggested by @a33ik make usage as bound which will work only for SingleLine.Text fields.

  • a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: Deploying a Custom PCF Control

    Try to change the type of the field from "input" to "bound" like:

     

    <property name="boundTo" display-name-key="Bound To" description-key="Field name to bind to" of-type="SingleLine.Text" usage="bound" required="true" />
  • Community Power Platform Member Profile Picture
    on at
    Re: Deploying a Custom PCF Control

    hello,

    the manifest

     

    <?xml version="1.0" encoding="utf-8"?>
    <manifest>
    <control namespace="Storm.CRM.PCF" constructor="PeoplePickerControl" version="0.0.3" display-name-key="PeoplePickerControl" description-key="PeoplePickerControl description" control-type="standard">
    <!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
    <!--
    Property node's of-type attribute can be of-type-group attribute.
    Example:
    <type-group name="numbers">
    <type>Whole.None</type>
    <type>Currency</type>
    <type>FP</type>
    <type>Decimal</type>
    </type-group>-->

    <property name="boundTo" display-name-key="Bound To" description-key="Field name to bind to" of-type="SingleLine.Text" usage="input" required="true" />

    <resources>
    <code path="index.ts" order="1" />
    <!-- UNCOMMENT TO ADD MORE RESOURCES
    <css path="css/PeoplePickerControl.css" order="1" />
    <resx path="strings/PeoplePickerControl.1033.resx" version="1.0.0" />
    -->
    </resources>
    <!-- UNCOMMENT TO ENABLE THE SPECIFIED API -->
    <feature-usage>
    <uses-feature name="Utility" required="true" />
    <uses-feature name="WebAPI" required="true" />
    </feature-usage>
    </control>
    </manifest>

     

    and the field type is single-line

     

  • Hemant Gaur Profile Picture
    on at
    Re: Deploying a Custom PCF Control

    "Data type declared is the manifest doesn't match the field you are trying to configure" would be my guess.

    Please share the manifest and field type you are trying to configure .

     

    hemant 

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 55 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 44 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 31 Super User 2025 Season 1

Overall leaderboard