cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mgui
Level: Powered On

Sharepoint List Filter Management

Hello,

 

I just started with building some PowerApps connected to a Sharepoint List and I am not yet able to solve an issue.

Let's assume I have a basic Sharepoint list and one row called "Filter". I want to show some rows/input fields - let's say Field ABC - only if Status = "XY". I am trying to add this in the target field "ABC": If(ThisItem.Status = "XY",ThisItem.ABC). Unfortunately this does not work. Any suggestions?

 

Thanks in advance and best regards,

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Re: Sharepoint List Filter Management

What do you mean by Instant change of visibility?

 

If I want to instantly hide FieldA as soon as someone types "test2" into an UserInputA

 

Then, in FieldA.Visible put the following function

 

If(UserInputA.Text = "test2",false,true)

It will become invisible instantly as soon as someone enters test2 into the UserInputA

View solution in original post

7 REPLIES 7
mgui
Level: Powered On

Re: Sharepoint List Filter Management

Anyone has an approach for this?

Anonymous
Not applicable

Re: Sharepoint List Filter Management

It is quite hard to understand what you want to do.

 

 

The Field you want to show is it an user input field to edit the SharePoint list or just extra field with information?

 

If it is extra field with info and you want to show it only when Status = "XY"

 

in the Field_ABC.Visible do this

If(ThisItem.Status="XY",true,false)

Maybe post a picture of what you have and what you want to achieve it would help us to help you.

mgui
Level: Powered On

Re: Sharepoint List Filter Management

Yeah the field that I want to show is an user input field to edit the SharePoint list. It should be displayed only if certain conditions are fulfilled. But now I got it, thanks! Is it possible that the target fields disappears and appears just by typing in the specific text into the input field (or maybe by clicking outside of the field after having the field edited)

 

So within the same moment the target input field is hidden or displayed - instead of it is hidden or displayed after saving? Is it clear what I want to achieve? Otherwise I will provide a picture to make it clearer.

Anonymous
Not applicable

Re: Sharepoint List Filter Management

You can hide/show based on same specific entered text.

 

on the visbile property you would have something like this:

 

If(UserInput.Text = "SPECIFIC_TEXT",true,false)
mgui
Level: Powered On

Re: Sharepoint List Filter Management

Yes that worked out well. My question is though, if I want to show or hide the specific field instantly.

 

Let's say I'm in the edit mode of a list. I am changing the value of Field A from "test" to "test2". My rule is: 

If(UserInput.A = "test2",true,false). Now I would like to achieve an instant change of visibility. What is the easiest way to achieve this?

 

Thanks in advance

Anonymous
Not applicable

Re: Sharepoint List Filter Management

What do you mean by Instant change of visibility?

 

If I want to instantly hide FieldA as soon as someone types "test2" into an UserInputA

 

Then, in FieldA.Visible put the following function

 

If(UserInputA.Text = "test2",false,true)

It will become invisible instantly as soon as someone enters test2 into the UserInputA

View solution in original post

nickduxfield
Level 8

Re: Sharepoint List Filter Management

Are yo trying to achieve column validation (sharepoint) using the form fields?

If this is more complex, you need another list to provide lookup values as a comaprison for the 'Visible' rules. Otherwise you can only have "text",true,false

Helpful resources

Announcements
thirdimage

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (4,955)