Hi all,
I'm experimenting with the Request Leave Template app on powerapps, however I've recreated the collections in the app to a sharepoint list,
That done I have an issue with some functions used in the app, I can't recreate the same for a sharepoint list, specifically this:
Home screen: On Visible:
Concurrent(
Set(
_navMenuSelect,
"My Leave Requests"
),
//if not manager view, refresh my balance collection when on this screen
If(
!_managerView,
Set(
_requesterBalanceRecord,
LookUp(
'Leave Balance',
Year = Text(Year(Now())) && Email = _myProfile.UserPrincipalName
)
);
ClearCollect(
RequesterBalanceCollection,
{
Title: "Vacation",
balance: "Vacation" - "Vacation Used"
},
{
Title: "Sick Leave",
balance: "Sick Leave" - "Sick Leave Used"
},
{
Title: "Floating",
balance: Value(_requesterBalanceRecord.Floating) - "Floating Used"
},
{
Title: "Bereavement",
balance: Value(_requesterBalanceRecord.Bereavement) - Value(_requesterBalanceRecord.'Bereavement used')
}
)
),
Set(
_showDetails,
false
)
);How do I modify the clearcollect segment, to update the SharePoint list, it has the same type of columns as the collection,
Any help will be highly appreciated.
TIA

Report
All responses (
Answers (