cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndKanPA
Resolver I
Resolver I

From and To-date filter

Hello community,

 

is there a way to add a free filter for from an to date?

 

I have an entity list and will give users a possibility to set their own a start and end date.

I saw option like 'on' and 'on-before', 'last-month' and so on.
But I have to enter an exact date in it.

 

Thanks,

AndKan.

1 ACCEPTED SOLUTION

Accepted Solutions
OliverRodrigues
Super User
Super User

Hi, please take a look at this article: https://www.netwoven.com/2019/04/16/how-to-add-date-range-filter-controls-in-entity-list-in-dynamics...

 




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

View solution in original post

2 REPLIES 2
OliverRodrigues
Super User
Super User

Hi, please take a look at this article: https://www.netwoven.com/2019/04/16/how-to-add-date-range-filter-controls-in-entity-list-in-dynamics...

 




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

Hello Oliver ,
thank you for link.

After fixing attribute name in fetchXML filter into my attribute name, it works fine.
I simplified whole construction with

$('[name="7"]').prop('type', 'date'); 
$('[name="8"]').prop('type', 'date'); 
// no .hide() 

instead of whole datepicker.
That's enough in my case.

Thanks a lot, AndKan.

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (4,236)