cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
zsoltzombik
Level: Powered On

Deploying a Custom PCF Control

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

1 ACCEPTED SOLUTION

Accepted Solutions
PowerApps Staff HemantG
PowerApps Staff

Re: Deploying a Custom PCF Control

5 REPLIES 5
PowerApps Staff HemantG
PowerApps Staff

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 

zsoltzombik
Level: Powered On

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

 

a33ik
Level: Powered On

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" />
DanzMaverick
Level: Powered On

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.

PowerApps Staff HemantG
PowerApps Staff

Re: Deploying a Custom PCF Control

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 130 members 5,349 guests
Please welcome our newest community members: