cancel
Showing results for 
Search instead for 
Did you mean: 

Search UIBB - Default values for relative date entry

michael_speight2
Explorer
0 Kudos

Hi All,

I have implemented a search UIBB, which includes a date field.

For the date field, I have implemented the handler for relative date entry.

For example.

So far so good.

What I would like to do, is to set this as a default value, when the application opens, but I can't find a way to do this.

I can of course, read the dates that are represented by this relative date entry and default those, using the "between" operator.

e.g.

This does the same job, but does not look as good.

Is there any way to default the relative date ID itself, so I can still use the "within" operator?

Thanks & Regards,

Mike

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

In the feeder class,you can default it by adapting the method MODIFY_SEARCH_PARAMETERS. try debugging the value by putting values in the low and high fields, and use it to populate the parameters in this method.

michael_speight2
Explorer
0 Kudos

Hello Soumya Bhattacharya,

I have come to the conclusion that this is not possible.

From the backend feeder class, I can only pass dates to the selection parameters.

Like I say, this works OK technically, just looks strange - either as above, with the "is between" operator, or as below, when I use the "is within" operator

By the way, I don't have the method MODIFY_SEARCH_PARAMETERS in my feeder class.

In which interface is it to be found?

Regards,

Mike

Former Member
0 Kudos

What you are trying to achieve is not possible using the UI.

If this was part of a POWL query it could have been possible.