cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Property-set not available on canvas app

Hi all.

 

I´m trying to create a grid control that will work as a matrix. For now, my manifest has only one dataset, but I will add more later.

 

During development and test using the harness, everything works as expected, but when I add it to a canvas, I can´t use the property-set. (see images attached)

 

<?xml version="1.0" encoding="utf-8" ?>
<manifest>
  <control namespace="MatrixControl" constructor="MatrixControl" version="1.3.0" display-name-key="MatrixControl" description-key="MatrixControl description" control-type="standard">    
    <data-set name="yAxisDataSet" display-name-key="yAxisDataSet_Display_Key">
      <property-set name="yAxisCode" display-name-key="yAxisCode_Display_Key" description-key="yAxisCode_Desc_Key" of-type="SingleLine.Text" usage="bound" required="true" />
    </data-set>    
    <resources>
      <code path="index.ts" order="1"/>      
      <css path="css/MatrixControl.css" order="1" />      
    </resources>
  </control>
</manifest>

 

Am I doing anything wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
DianaBirkelbach
Super User
Super User

Hi @Anonymous , 

 

The property-set property is only available for Model-Driven Apps. Here is the documentation: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/property-set

 

Also more datasets  in a PCF are an issue right now for canvas apps: the components cannot be imported.

 

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

6 REPLIES 6
DianaBirkelbach
Super User
Super User

Hi @Anonymous , 

 

The property-set property is only available for Model-Driven Apps. Here is the documentation: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/manifest-schema-reference/property-set

 

Also more datasets  in a PCF are an issue right now for canvas apps: the components cannot be imported.

 

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

Anonymous
Not applicable

Thanks @DianaBirkelbach .

 

I was indeed having problems importing this control with more datasets. Now I know it is not possible.

HemantG
Power Apps
Power Apps

@Anonymous  . we are constantly refreshing the canvas PCF - Check this out for properties set sample  - https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/data-set-component-canvas

 

Note that the configuration needs special treatment . 

 

Also multiple data-sets right now are blocked in import but we are working on it.  @DianaBirkelbach great article on multiple data sets btw 🙂 

 

hemant 

 

Thank you @HemantG  for pointing out the sample about dataset properties in the canvas app!  I must have missed that. It's great that is works! 🙂

 

I'm happy to hear that the multiple datasets for CanvasApps are on the roadmap! Really looking forward!

Thank you so much for your nice words!

 

Kind regards,

Diana

 

 

Anonymous
Not applicable

Hi @HemantG 

Thanks for your advice. Now I found the property inside the Advanced tab.

Regarding multiple datasets, do you know when it will be possible?

 

 

It is in the backlog, dates are not locked yet as we are focusing on the Teams Embedding scenarios. Majority of work is in the studio configuration experience, will try to prioritize it. Log feature req at https://aka.ms/PCFIdea 

 

hemant  

 

 

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

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 (21,296)