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

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
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 336 members 4,456 guests
Please welcome our newest community members: