web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / SUBMIT DATE PICKER DAT...
Power Apps
Answered

SUBMIT DATE PICKER DATE TO SHAREPOINT FORMULA

(0) ShareShare
ReportReport
Posted on by 211

Have an app where I upload a document to a SharePoint library...works fine.  Need to send the date picker info to SharePoint when i hit the submit button (no problem creating the flow). Have tried the DateValue, but that gives me a date format error.
Upload.Run(Last(AttachmentControl.Attachments).Name, varBase64Only;

The below is where I am having problems. Have tried:

Text(From.SelectedDate,"[$-en-US]mm-dd-yyyy"),DateTimeFormat.ShortDate;
Text(To.SelectedDate,"[$-en-US]mm-dd-yyyy"),DateTimeFormat.ShortDate)
and

From.SelectedDate,DateTimeFormat.ShortDate, To.SelectedDate,DateTimeFormat.ShortDate)

and

From.SelectedDate, To.SelectedDate.

 

Thanks for any assistance provided.

chudson002

Categories:
I have the same question (0)
  • Verified answer
    chudson002 Profile Picture
    211 on at

    All this time, the metadata was not sending to SharePoint because I forgot to add a parens at the end.

    The formula after the semicolon is:
    Upload.Run(Last(AttachmentControl.Attachments).Name, varBase64Only,
    Text(From.SelectedDate, "[$-en-US]mm-dd-yyyy"),Text(To.SelectedDate, "[$-en-US]mm-dd-yyyy")
    )

  • patgat96 Profile Picture
    10 on at

    I am having this issue currently. I have managed to get all other forms of my metadata to work correctly, but I think there is potentially something wrong with my formula in Flow.. I don't exactly know where the problem is. What is the formula you used in Flow to make this operation work? This isn't working for me.

     

    Thank you

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard