I have a label in my powerapp which displays a date (Label26). Is there a way i can use a patch function to get the date value out of that label and store it in a Sharepoint list in the 'LastDate' column?
The Patch function will be triggered with a Button if that makes any difference.
Thankyou in advance
Solved! Go to Solution.
you can use :
ID=1, is the document ID which u want to update
lableDate is the lable form which date is written like - 30/12/2018
Thanks for getting back to me.
This the current statement I have
Cars = List name
Label27 holds the number of the vehicle of the record to update (ID).
Label26 holds the date I need to patch into the LastRota column
When the button is pressed it is just creating a new blank record in the Cars sharepoint list
Youhave to close your lookup formula with parenthesis .
use this :
I have tried this and now the Patch command doesn't apepar to be doing anything. It has not updated the record I wanted and It hasn't created a blank record in my sharepoint list, i'm not sure what it has done.
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.
Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!