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

Items property is grayed out when using action within a rule

I'm trying to create a people picker that consists of the Text box and a List box.

 

 

The rule should go something like this:

If TextBox.Text is not blank

then

Action: Items = ["Whatver"]

 

The issue is that Items property is always grayed out when I'm trying to define the aciton. Does anyone know how to change the Items Property when using actions? I've tried to create the rule both against the text box and the list box and it hasn't made any difference. 

 

Any suggestions or comments will be greatly appreciated!

 

PowerApps.png

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Items property is grayed out when using action within a rule

Thanks for posting this.

 

The limitation for the rules in PowerApps is documented as below with only one restriction:

"

As of this writing on 11/10/2017:

  • You can't specify the ThisItem property of a form or a gallery as part of a condition.

"

Also the blog didn't mention any limits when working with the rules.

 

Per my understanding, the actions that could be defined within the rules should be the control property that will not affect the actual data (or saying the source data).

 

I will collect this as a content request.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

5 REPLIES 5
Super User
Super User

Re: Items property is grayed out when using action within a rule

Do you have to use a rule? If you don't then you could just write an If() in the Items property of the List control to accomplish the same thing.



--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Re: Items property is grayed out when using action within a rule

I generally don't use rules, but decied to try to create a people picker using them. I was following a blog post where it definitely worked for the author. The "Items" property was not  grayed out. I have some workarounds, but would be nice if it just worked or if we had a some explanation as to why this is not working. 

 

If we start using rules, it would be nice to know if there are some limitations like these so that we don't waste hours to figure out what's wrong next time.

Community Support Team
Community Support Team

Re: Items property is grayed out when using action within a rule

Thanks for posting this.

 

The limitation for the rules in PowerApps is documented as below with only one restriction:

"

As of this writing on 11/10/2017:

  • You can't specify the ThisItem property of a form or a gallery as part of a condition.

"

Also the blog didn't mention any limits when working with the rules.

 

Per my understanding, the actions that could be defined within the rules should be the control property that will not affect the actual data (or saying the source data).

 

I will collect this as a content request.

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Re: Items property is grayed out when using action within a rule

<Removed>

Re: Items property is grayed out when using action within a rule

Thank you, @v-micsh-msft. That is an excellent explanation.

 

So we cannot use rules to control data bound to the controls. So no ThisItem, Items, etc.

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

Top Solution Authors
Top Kudoed Authors
Users online (6,039)