#1 2017-11-30 12:33:03

aguiral
Member
Registered: 2017-11-30

Suggesting the current week number

Hello,

I would like to suggest to the user the number of current week as a default parameter.

I have tried setting the "parameter specific properties" as   ${today.format("w")} but no success.

Could you please assist ?

Thanks

Alfredo

Offline

#2 2017-11-30 16:19:47

jalbrecht
Administrator
Registered: 2016-10-21

Re: Suggesting the current week number

Hi aguiral,

try simple quotation: ${today.format('w')} for week in year or ${today.format('W')} for week in month. Check : https://docs.oracle.com/javase/7/docs/a … ormat.html for more information on format strings.

Happy formatting

jan

Offline

#3 2017-12-01 09:19:24

aguiral
Member
Registered: 2017-11-30

Re: Suggesting the current week number

Thanks a lot Jan but I'm afraid that it does not work.

Pay attention that my question is about default value for parameters (not for a filter action).

Following your suggestion I found that neither ${today.format('w')} nor using double quotes, expression is being evaluated.

Please check the appearance at this link

https://drive.google.com/file/d/1G5CV33 … sp=sharing

Thanks

Offline

Board footer

Powered by FluxBB