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

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
Highlighted
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
Highlighted
Regular Visitor

Re: Sharepoint List Filter Management

Anyone has an approach for this?

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

Highlighted
Regular Visitor

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.

Highlighted
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)
Highlighted
Regular Visitor

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

Highlighted
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

Highlighted
Responsive Resident
Responsive Resident

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
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (7,751)