HI Team,
I am facing a challenge in a task where I am using SharePoint as a data source sharing the snap for better understanding too.
in Galllery using a collection and outside the gallery using add new button which will add the rows in gallery so here when filter is working unable to add row and when rows are adding there is need to get filter as well.
if someone did this kind of work please do let me know.
Note: In gallery needed Filter with add rows:
Gallery Items Using :
colhumanresource (Collection)
Add New onselect using
If(IsBlank(comboProjectID.SelectedItems),Notify("Project ID can not be blank",NotificationType.Error),Collect(colhumanresource,{});)
Submit Button using:
If(IsBlank(drpname.Selected.Value),Notify("Name can not be blank",NotificationType.Error),
If(IsBlank(drpposition.Selected.Value),Notify("Position can not be blank",NotificationType.Error),
ForAll(
glrycrew.AllItems,
Patch(
DPR_Human_Resources,
ThisRecord,
{
'Project Number': comboProjectID.Selected.Value,
Title: drpname.Selected.Value,
Position: drpposition.Selected.Value,
Embarked: embarkdate.SelectedDate,
Disembarked: disembarked.SelectedDate,
Project: projectname.Text,
Client: client.Text,
Asset: asset.Text,
Today_Date:DateValue( Today())
}
)
)
));
Notify("Crew data added successfully",NotificationType.Success,3000);
Navigate(Home_Screen)
Thanks & Regards,
VK@mohit

Report
All responses (
Answers (