If(
CountRows(colSelected) > 0 &&
(
(
CountRows(
Filter(
colSelected,
Value = "Non-Sensitive"
)
) > 0 &&
ThisItem.Value <> "Non-Sensitive"
) ||
(
CountRows(
Filter(
colSelected,
Value <> "Non-Sensitive"
)
) > 0 &&
ThisItem.Value = "Non-Sensitive"
)
),
DisplayMode.Disabled,
DisplayMode.Edit
)
ThisItem.Value in
LookUp(
'SharePointList',
ID = gal_Workspaces.Selected.ID
).SensitiveData.Value
Reset(CheckBox4)
UpdateContext({varReset: true});
UpdateContext({varReset: false});
After the Patch, reset the control that holds the selections
Reset(urcontrolname);
If using checkboxes bound to a collection
Clear(collectionName);
ClearCollect(
colSelected,
Filter(
Gallery1.AllItems,
Checkbox4.Value
)
)
With(
{
_Record:
LookUp(
'SharePointList',
ID = gal_Workspaces.Selected.ID
)
},
Patch(
'SharePointList',
_Record,
{
Update: {Value: "Signed"},
Value: {Value: "Yes"},
Date: Now(),
SensitiveData:
If(
IsEmpty(colSelected),
_Record.SensitiveData,
ForAll(
colSelected As _Data,
{Value: _Data.Value}
)
)
}
)
);
Clear(colSelected)
{
SenstiveData:
ForAll(
Filter(
Gallery1.AllItems,
Checkbox4.Value
) As _Data,
{Value: _Data.Value}
)
}
ThisItem.Value in
LookUp(
'SharePointList',
ID = gal_Workspaces.Selected.ID
).SensitiveData.Value
WarrenBelz
55
Most Valuable Professional
mmbr1606
42
Super User 2025 Season 1
Michael E. Gernaey
31
Super User 2025 Season 1