cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Highlighted
MVP

Re: All controls disappear from Add Control Dialog after importing PCF solution

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

Highlighted
Microsoft
Microsoft

Re: All controls disappear from Add Control Dialog after importing PCF solution

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? 

Highlighted
Community Support
Community Support

Re: All controls disappear from Add Control Dialog after importing PCF solution

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.
Highlighted
Regular Visitor

Re: All controls disappear from Add Control Dialog after importing PCF solution

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").

Highlighted
Regular Visitor

Re: All controls disappear from Add Control Dialog after importing PCF solution

Hi,

 

Here.

Highlighted
Frequent Visitor

Re: All controls disappear from Add Control Dialog after importing PCF solution

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

Highlighted
MVP

Re: All controls disappear from Add Control Dialog after importing PCF solution

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

Highlighted
Regular Visitor

Re: All controls disappear from Add Control Dialog after importing PCF solution

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.

Highlighted
Frequent Visitor

Re: All controls disappear from Add Control Dialog after importing PCF solution

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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (13,664)