cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Power Apps
Power Apps

Re: Deploying a Custom PCF Control

5 REPLIES 5
Highlighted
Power Apps
Power Apps

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 

Highlighted
Frequent Visitor

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

 

Highlighted
MVP

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" />
Highlighted

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.

Highlighted
Power Apps
Power Apps

Re: Deploying a Custom PCF Control

Helpful resources

Announcements
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (7,674)