cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hurs0047
Level: Powered On

Date and Time Update to Sharepoint Resetting Time Dropdown

I have an app created from a sharepoint list where I am using my browse gallery to update the list with a date picker and time dropdown.  I have the date picker and dropdown in my browse gallery.  I was trying to keep it here instead of in the edit screen for ease of use.

 

I have the Update of my data card on my edit screen set to the following.

DatePicker2.SelectedDate + Time(Value(HourDropdown.Selected.Value), 0, 0)

 

When I submit my edit form using submitform function the HourDropdown resets to a Default Value of 1 and updates my sharepoint list to 1 am instead of the Value I picked.  I have tried to set my Default on the dropdown to false or blank but it didnt work.  Is there a way to prevent it from resetting?

1 ACCEPTED SOLUTION

Accepted Solutions
hurs0047
Level: Powered On

Re: Date and Time Update to Sharepoint Resetting Time Dropdown

I solved by setting my Default on my dropdown list as the following.

 

Hour(DateTimeValue(ThisItem.act_start_date))

 

Where "act_start_date" is my sharepoint column

View solution in original post

1 REPLY 1
hurs0047
Level: Powered On

Re: Date and Time Update to Sharepoint Resetting Time Dropdown

I solved by setting my Default on my dropdown list as the following.

 

Hour(DateTimeValue(ThisItem.act_start_date))

 

Where "act_start_date" is my sharepoint column

View solution in original post

Helpful resources

Announcements
Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Microsoft Business Applications Virtual Launch

Join us for the Microsoft Business Applications Virtual Launch Event on Thursday, April 2, 2020, at 8:00 AM PST.

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (10,000)