cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ben-thompson
Level 8

Cannot choose Custom control when editing a PowerApp Model form in the PowerApp (modern) form editor

I have a number of Single text field PCF controls that are administrative that I would like to package up separately and make generally available. All of them follow the same pattern - 1 bound singleline.text field that contains the output and another bound singleline.text field that pulls in the entity name from the previous field to provide the context for the control.

 

Now when I use the classic former editor all the controls are visible but when I use the PowerApps editor they don't appear - see screenshots below.

 

So I have 2 questions:-

 

1) Am I missing something in my controlmanifest file

 

 

 

 

 

 

 

<?xml version="1.0" encoding="utf-8" ?>
<manifest>
  <control namespace="abc" constructor="AttributeList" version="0.0.1" display-name-key="AttributeList" description-key="AttributeList description" control-type="standard">
    <!-- property node identifies a specific, configurable piece of data that the control expects from CDS -->
    <property name="Attribute" display-name-key="Attribute" description-key="Attribute (single)" of-type="SingleLine.Text" usage="bound" required="true" />
     <property name="Entity" display-name-key="Entity" description-key="Entity" of-type="SingleLine.Text" usage="bound" required="true" /> 
    <resources>
      <code path="index.ts" order="1"/>
      <css path="css/AttributeList.css" order="1" />
      <img path="img/DownArrowTransparent.png" />
   </resources>
  </control>
</manifest>

 

 

 

 

 

 

 

2) If not when is this issue likely to be fixed so I can work out how to document using the control.

 

Classic Interface.pngClassic Interface (works)Powerapp Interface.pngModern Interface (cannot be found)

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft namohant
Microsoft

Re: Cannot choose Custom control when editing a PowerrApp Model form in the PowerApp (modern) edit form form

Hi @ben-thompson ,

 

We are currently working on having the option enabled for controls built using powerapps component framework. We will be ensuring to have it addressed soon and have it documented. I do apologize for the inconvenience and thanks for raising this. If you have any more questions please let us know. 

 

Regards

Nandi

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Cannot choose Custom control when editing a PowerrApp Model form in the PowerApp (modern) edit form form

Hi @ben-thompson ,

Do you mean that your pcf control will become invisible in form editor?

Here's a doc about how to add pdf control to a field or entity, please refer this to see whether you made any mistake:
https://docs.microsoft.com/en-us/powerapps/developer/component-framework/add-custom-controls-to-a-fi...

Also, please notice the pcf control's limit to see whether your problem is caused by this:

Control Configuration properties of input usage only limited to 100 characters.

Here's a issue for your reference:

https://powerusers.microsoft.com/t5/Power-Apps-Component-Framework/Problem-with-maximum-length-of-In...

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
ben-thompson
Level 8

Re: Cannot choose Custom control when editing a PowerrApp Model form in the PowerApp (modern) edit form form

No I mean that the controls are all invisible and inaccessible from within the new PowerApps form editor for reasons that I don't know but, I suspect, is due to the controls asking for multiple inputs rather than a single input. 

 

If you look at my screenshot in the first post you can see the component that I created and added via the classic interface is shown as unknown and I cannot add the other components when I search for them.

 

The document you refer to references the old classic / web refresh form editor where all my controls appear as options and work fine as I demonstrated with the screenshots in my original post but that classic interface is deprecated.

 

I've attached an unmanaged solution with all 5 PCF components so that you can see the issue at first hand. All of them have 2 bound inputs as they take the entity value of a previous field as the basis of the query to generate the options that appear in the "select"/ optionset dropdown.

Microsoft namohant
Microsoft

Re: Cannot choose Custom control when editing a PowerrApp Model form in the PowerApp (modern) edit form form

Hi @ben-thompson ,

 

We are currently working on having the option enabled for controls built using powerapps component framework. We will be ensuring to have it addressed soon and have it documented. I do apologize for the inconvenience and thanks for raising this. If you have any more questions please let us know. 

 

Regards

Nandi

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

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

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Users online (6,221)