I am building an app from scratch using an Excel spreadsheet table in OneDrive as my data source. One of my fields contains a date, and when I add this field to my form by clicking the "eye" I get three data entry boxes -- one for date, one for hour, and one for minute. I don't need or want the hours or minutes, just the date, with a calendar control. I can't figure out how to get rid of the extra hours and minutes boxes (except by resizing them so that they're invisible). How do I edit the properties to get what I want?
You could selet the item in question, go into the Display Properties under the Advanced Menu, the third option from the bottom is 'Visible', change this to "false" for each item you would like to remove from view.
Just a couple of thoughts:
1) Be careful with dates in Excel, see this post I strongly recommend saving a dates as text in format "yyyy-mm-dd"
2) My personal opinion is that as soon as you start to customise edit or display forms, you are much better off not using forms but building you own using the single controls and submitting data changes via Patch actions
Happy to give advice on both if needed
If you generated the App from your Excel file directly, then we need to unlock under Advanced to modify the property, select the control that you would like to modify first, then unlock it under Advanced, after that, scroll down to the bottom, under Design part, click more Options, then the bottom three is the visible propety, change its value to false should make it disappear.
If you have any further questions, please post back.
Adding some reference:
Hello there, sorry silly question
in one of your samples you have a field "DateCreated" how can I insert labels that show in the form like this:
=Datecreated + 24
=Datecreated + 30
=Datecreated + 37
what I am trying to do is to setr 3 labels that show datecreated plus 24 days = green, plus 30 days = Yellow, plus 37 days = Red
Thanks in advance for your response
This will be a conference that you do not want to miss!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.
Featuring samples like Return to the Workplace and Emergency Response Applications
Features releasing from October 2020 through March 2021