cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ericonline
Community Champion
Community Champion

PowerApps Text - Sharepoint Time Issue

Hello,

I have an app that converts Local Time from two dropdowns (Hours and Mins) to UTC Time in ISO8601 format.

This is supposed to be written to a Sharepoint list in this format but Sharepoint is changing the format.

Specifics:

  • PowerApp:
    • Form Control
      • DataCard: 
      • image.png
      • TextBox: "DataCardValue5"
      • Text(
            DateTimeValue(
                    Concatenate(
                        Text(dt_eventDate.SelectedDate),
                        " ",
                        Text(dd_startDateHour.Selected.Value),
                        ":",
                        Text(dd_startDateMin.Selected.Value)
                    )
          
            ), DateTimeFormat.UTC
        )
      • DataCard Update Property: "DataCardValue5.Text"

 

  • Sharepoint List:
    • Column Name and Data Type:
    • image.png
    • Sharepoint column format (PROBLEM):
    • image.png

How do I get Sharepoint to honor the text and not try to convert it!
Thank you

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @ericonline ,

Could you please share a bit more about your issue?

Do you mean that the UTC time text value could not been saved into your SP list text column as expected format?

 

Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. When you pass the UTC time text value into your SP list, the text time value would be recognized as a date time value rather than text string value.

 

Currently, if you want to use a Single text type column to store the UTC time text value passed from your app into your SP list, I afraid that there is no way to achieve your needs.

 

If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-xida-msft
Community Support
Community Support

Hi @ericonline ,

Could you please share a bit more about your issue?

Do you mean that the UTC time text value could not been saved into your SP list text column as expected format?

 

Based on the issue that you mentioned, I have made a test, and the issue is confirmed on my side. When you pass the UTC time text value into your SP list, the text time value would be recognized as a date time value rather than text string value.

 

Currently, if you want to use a Single text type column to store the UTC time text value passed from your app into your SP list, I afraid that there is no way to achieve your needs.

 

If you would like this feature to be added in PowerApps, please consider submit an idea to PowerApps Ideas Forum:

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi @v-xida-msft ,

Thank you for responding. Rather than submit this as an "idea", I'd prefer to report it as a "bug". 

- Sharepoint is not honoring datatype = string

Do you have a path for reporting this to the Sharepoint team?

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

secondImage

Power Apps Community Call

Please join us on Wednesday, October 20th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (2,242)