cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hurs0047
Frequent Visitor

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
Frequent Visitor

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
Frequent Visitor

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, 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!

Top Solution Authors
Top Kudoed Authors
Users online (873)