Hi to all,
I am trying to post a "Date" from a Date Picker field in my App to a Power Automate Flow that creates a folder in SharePoint and updates folder proprieties.
In this Thread (https://powerusers.microsoft.com/t5/Building-Power-Apps/Trying-to-pass-Date-from-powerapps-to-Flow-to-Sharepoint/td-p/1946520) they suggest using this formula:
Text(DatePicker1.SelectedDate, "yyyy-mm-dd")
I don't know if I am doing something wrong, but when writing DatePicker1 in my code, the SelectedDate function doesn't appear:
The field DatePicker1 in my App is called dataDecesso.
As you can see, I don't have the option .SelectedDate.
I have set my flow to receive the data value as follows:
The date that I want to to post in my flow is used to update a property, a date column, of the folder in SharePoint
I searched far and wide on the internet but the only solution provided is the first function I copied on this post.
So, finally, I understood where the problem was.
I WAS USING THE WRONG FIELD
I renamed the text label instead of the date picker field. Now, by changing the name of the date picker field to the correct one, the flow works. I confirm that the original solution is viable.
Sorry for the inconvenience, you can delete this thread.
Here is the complete formula:
FuneraleInEntrata.Run(
cognomeDefunto.Text,
nomeDefunto.Text,
responsabileServizio.Selected.DisplayName,
aziendaServizio.Selected.Value,
Text(dataDecesso.Se))
In my flow, If I remove the Date field, it works just fine.
Hi @Gianco ,
It seems Intellisense is thrown off by a fault in your formula. Can you please share the full formula?