Hi, i'm having two lists i.e. feedback and job application
i'm having a gallery which will display the items of feedback list
now i want to remove the item and change the overall status of job application
i've tried this logic
Set(
gSelected,
Gallery1.Selected
);
RemoveIf(
'FeedbackForm',
ID = gSelected.ID
);
If(
CountRows(Gallery1.AllItems) = 0,
Patch(
'Job Application',
{ID: gSelected.JobID},
{
'Overall Status': "Not Sent",
}
),
If(
CountRows(Filter(Gallery1.AllItems,'Feedback Status' = "Feedback Pending")) = 0,
Patch(
'Job Application',
{ID: gSelected.JobID},
{
'Overall Status': "Completed"
}
)));
but i don't know why it wasn't working properly. it doesn't patching the values
Hi @Krishna98 ,
if you are trying to patch the value for the choices type field then you can patch the value like the below formate.
WorkType:{
Value: WorkType,
'@odata.type': "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference"
},
//WorkType is the Column Name and Filed Type is Choices
Thanks,
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay
Hi @VijayTailor ,
actually it is string type and it isn't throwing any error but it doesn't patching the values even though the logic is correct. i think the gallery isn't updating
Hi @Krishna98 ,
You can use the Patch like below.
Patch(TimeSheetEntryBook,ThisItem,{ColumnName:"ValueNeed2Patch})
Hope this will work for you.
Thanks,
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."-Vijay
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST
Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.
User | Count |
---|---|
203 | |
181 | |
67 | |
36 | |
33 |
User | Count |
---|---|
342 | |
273 | |
113 | |
74 | |
58 |