I am working on customizing one sharepoint list in powerapp. In that i have one date field called Published date.
When i select that item in power app selection showing like below, but i need for selection of month and year display (like in credit card expiry selection - the caleder should show months and year at top).
Is there any way for this? any help is much appriciated..!!!
Hi @Saan ,
Just throwing out some ideas, not tested anything.
You could format the control text like Text(ThisItem.'To Date',"mm/yy").. Text(DateValue.SelectedDate,"mm/yy")
If you want a custom control then you could have two dropdowns with the items set to [01,02,03,04...] for months and then [19,20,21...] for the years you could probably even use an expression / collection to give you the current year and next couple.
You could then concatenate the values together when you update SharePoint with in the Update, or a Patch
I have implemented the both the option like changing the format of date in diplay and also taking both chocie field and then concatenate of those.
But here user is expecting, when ever selecting the caleder icon he wants to see like below
Hi @Saan ,
Not available in the OOTB controls .. but I am sure you could achieve this with a custom component; have you looked at building on of these?
It would need Gallery control to display the months and a header to display and change the Year with the up / down icons..
Totally doable I am sure : -)
Does seem easy enough to do, although the parameter / default properties is / was a faff.. MS must do better!!
Example comp in action.. The label below is linked to the output param from the component
HI @Saan ,
Do you want to see the Months selectors when you click the Calendar icon (DatePicker control) within your app?
If you want to see the Months selectors when you click the Calendar icon (DatePicker control) within your app, I afraid that there is no way to achieve your needs in PowerApps currently.
As an alternative solution, you could consider custom a interactive Calendar view within PowerApps. More details about creating a custom interactive calendar view in PowerApps, please check and see if the following blog would also help in your scenario:
In addition, you could also consider create a Calendar Component control based on above blog, then you could use this Calendar Component control repeatedly.
More details about the custom Component in PowerApps, please check the following article:
There are some sample components you could reference to:
Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.
Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.
Continue your learning in our online communities.
Features releasing from October 2019 through March 2020
Coming to a city near you
Fill out a quick form to claim your user group badge now!
Connect, share, and learn with your peers year-round
Register by September 5 to save $200