Skip to main content
16-Pearl
Feb 20, 2018 11:57 AM UTC
Question

Date selection with up-down buttons

How can I make up down buttons with a date picker widget ?

Buttons has to go up or down by one day.

 

picker.png

I made a service to add remove days from a Initdate, but it is difficult to manage with mashup.

I cannot get a fully and well working system ...

 

1 reply

22-Sapphire I
Feb 20, 2018 1:17 PM UTC

The hard part here is the fact that you need to know if you pushed up or down and apply to the same date.

So I would take the date in the display and assign that to a Session Parameter

then I would create a day up day down service each button triggers their respective service and set that Server side to the Session Parameter

upon service invoke complete I would use GetSessionParameters to refresh the values client side and wire that back to the date display

Translate