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
Check out new user group experience and if you are a leader please create your group
Did you miss the call?? Check out the Power Apps Community Call here!
See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
267 | |
221 | |
76 | |
38 | |
36 |
User | Count |
---|---|
338 | |
224 | |
124 | |
72 | |
56 |