cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

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
Highlighted
Community Support
Community Support

Re: PowerApps Text - Sharepoint Time Issue

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
Highlighted
Community Support
Community Support

Re: PowerApps Text - Sharepoint Time Issue

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

Super User
Super User

Re: PowerApps Text - Sharepoint Time Issue

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (5,260)