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,
Solved! Go to Solution.
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
Anyone has an approach for this?
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.
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.
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)
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
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
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
User | Count |
---|---|
139 | |
132 | |
75 | |
72 | |
69 |
User | Count |
---|---|
214 | |
198 | |
64 | |
62 | |
54 |