hi there! thanks now for any input. I have a gallery that is currently filtered as such:
Sort(
Filter(
CIRFacilityLocal,
Or(
varSearch2 in 'Offender Number',
varSearch2 in 'Give a brief description of the incident.',
varSearch2 in 'CIR Number'
)
),
Created,
SortOrder.Ascending
)
But I now need it to filter with a dynamic user as well. I have a table in my OnStart that looks like this:
colRedirect,
Table(
{
Facility_Location: "AMF",
Role: "Secretary",
Screen: SecretaryHome,
Message: "Welcome, Warden's Office!",
Key: "656510"
}
and i need the gallery to omit items from a yes/no column based on the "Role" they are in the table and still be able to use the search function it already has.
I need anyone whos Role says "Facility" to not see anything marked YES in the Y/N column Confidential (ThisItem.'Confidential?').
Is this possible to do in the same gallery or should i redirect this group to a different page and do a gallery with a pre-filtered collection?