cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
TanguyT
Level 8

Re: Dataset control: Property bound to form attribute is not populated

It does not have to be a lookup. It could be any type of attribute eventually.

 

Let's say I want to display only records that have the same optionset, boolean or string value on both entities.

 

For example, display only records that have the optionset category set to 'Business' if the parent record is set to 'Business' too.

Power Apps Staff AnqiChen
Power Apps Staff

Re: Dataset control: Property bound to form attribute is not populated

hi Tanguy,

 

Regarding the case,

"For example, display only records that have the optionset category set to 'Business' if the parent record is set to 'Business' too."

 

The general pattern we believe its manifest should look like below:

 

<property   name="property1" bound>

<property   name="property2" bound>

......

<property   name="propertyN" bound>

<dataset>

      <property-set name="aliasOfProperty" bound>

      .......

</dataset>

 

  • The first N property is used to get the bounded fields' value.
  • The <data-set> is used to send the request and get the data
  • The request sent by <data-set> needs to have 'filtering' per this ask. And we do have API setFilter/refresh that would easily help to setFilter. But it needs to know which 'column' need to put the filter on. Hence, it needs <property-set> configuration to let the control know the right 'column' for filtering

Regarding the  setFilter/refresh/clearFilter/find_right_column. We do have sample controls (they might not in doc at this moment). I attached the sample control solution and the source code.

 

The sample control is a data-set control will help you be familiar with the filtering related API and how to find right column. You could put it on any entity home page grid. There will have a 'search box' in the control and it will be searched based on your configurd 'property-set'.

 

Also, the sample control is a data-set control does not mean these code only applied to 'data-set' control. It works also when 'data-set' is not at first place.

 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

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

Top Kudoed Authors (Last 30 Days)
Users online (3,157)