Hello , My question is: I want to set the visibility of a form's datacard which is from a sharepoint list,based on a value set in another sharepoint list.The value is set as a Yes/No field.How can I do that?
Thankyou!
thanks both worked fine for me.
Hi @ace991 ,
Since it's a Y/N column, they're Boolean values by default when fetching from the list. You can use the field value directly in Visible of the Data Card:
LookUp(SPList2, ColumnName = ThisItem.ValueColumn).YNColumnName
Best regards,
Hi @ace991 ,
Assuming you've already connected to both your SharePoint lists in your app, you can use a Lookup function to determine the visibility of the card.
If(
Lookup( ),
true, false
)
A simple example would be like this - in the lookup, put the list your Yes/No column is in and then the second argument would be if its Yes/No; the if statement will see whether if statement is true, then the visibility will be true, if not, it won't be visible.
------------------------------------------------------------------------------------------------------------------------------
If I answered your question, please accept my post as a solution and if you liked my response, please give it a thumbs up.
Thanks!
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2