cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Community Support Team
Community Support Team

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.
2 REPLIES 2
Community Support Team
Community Support Team

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.
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
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 62 members 4,864 guests
Please welcome our newest community members: