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 Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,336)