cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mikko_K
Regular Visitor

All controls disappear from Add Control Dialog after importing PCF solution

I have created two PCF controls and a solution for them. After importing the solution, the list of controls on Add control dialog goes empty. Also the built-in controls disappear. Any ideas what is wrong or how to start debugging?

 

Other info:

I have used "pcf push" to test. This works fine.

I have one solution with two controls. I have increased version numbers for controls and solution.

I built the solution using "msbuild /t:build /restore /p:configuration=Release".

The issue is the same on multiple environments.

I'm using version 1.2 of PCF.

After import, the solution and its contents look OK on CE solutions. There are no import errors.

10 REPLIES 10
a33ik
MVP

I had similar issue. Can you please post ControlManifest.Input.xml here?

Can we get more details, is it like on import you don't get any errors and upon import the controls bound don't render? 

v-xida-msft
Community Support
Community Support

Hi @Mikko_K ,

How do you built your solution? Using "msbuild /t:build /restore /p:configuration=Release" command?

Have you taken a try with the Solution functionality in PowerApps web portal (https://make.powerapps.com)?

Could you please share a screenshot about this issue within your app?

 

Please consider take a try with the Solution functionality in PowerApps web portal (https://make.powerapps.com), then check if the issue is solved.

More details about the Solution in PowerApps, please check the following article:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/use-solution-explorer

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi,

 

- I built using "msbuild /t:build /restore /p:configuration=Release". 

Inside manifest.zip:

- Attached manifest.xml (ControlManifest.Input.xml).

- Attached solution.xml

 

As for clarification for questions above,

1. Build -> success

2. Import solution -> success

3. Go to solution editor, open a form for edit, add a field -> success

4. Change the control of the field from the default to my control -> can't do that, the list to choose from is empty. Also, the built-in CE components have disappeared from the list.

problem.png

 

So the problem is not with the component itself (it works when I update it using "push").

Mikko_K
Regular Visitor

Hi,

 

Here.

Hi

 

I have the same problem: after installing a managed solution containing one custom control of type OptionSet, all the available controls compatible with OptionSet field disappeared from the selection dialog.

 

In attachment my manifest.

 

@Mikko_K , have you solved this issue?

 

Thank you,

Davide

@dmognaschi I checked your manifest and reason why you experience issue is following property:

    <property name="icons" display-name-key="Icons" description-key="Icon list in Json format [{'value':number, 'url':'string'}]" of-type="SingleLine.TextArea" usage="input" required="true" default-value="{}" />

and to be more specific - ' characters you used in the description. Remove it or replace with other symbols, pack solution, import to your CDS and issue should disappear. 

In case the suggestion above doesn't help, I'm just letting you to know that I was never able to pinpoint the problem. After running build + install process numerous times, it just got somehow solved.

dmognaschi
Frequent Visitor

Solved,

thank you @a33ik.

I confirm that the cause was special characters in the property's description.

 

Have a nice day,

Davide

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Users online (90,237)