Hi @WarrenBelz
Thank you so much for helping me by providing the code. I Still can't get RLS up & running after using the code. Also i have been using filter function in the form to filter data based on search box (using filter instead of search because "search" can't be used in choice data type from SharePoint.
Please find the code below and kindly let me know if i am making any mistake.
On start:
Set(
vUserMail,
User().Email
);
Set(
vUserGroup,
LookUp(
'Plant Ops_RLS test',
'E-mail address'=vUserMail,
Group
)
)
I am using datatable in the form so implementing the same there
Items:
Filter('Plant Ops_Nisar',StartsWith(Group.Value,searchbox_MS_4.Text) || StartsWith(Plant.Value,searchbox_MS_4.Text) || EndsWith(Plant.Value,searchbox_MS_4.Text) || StartsWith('Cost Type'.Value,searchbox_MS_4.Text) || EndsWith('Cost Type'.Value,searchbox_MS_4.Text)|| searchbox_MS_4.Text in 'Calendar Date' && Group.Value=vUserGroup )
Thanks,
Nisar