I have to create a user filter
Filter on the basis of month selected. I have data, but that coming in DateTime format. I tried converting it to simple Month name, but unable to do that using tools provided in User Filters Expression editor. Below is my code.
a!localVariables( local!month: text( "RequestedDate", /*DATA COMING IN DATETIME FORMAT, TRYING TO CHANGE HERE IN MONTH NAME*/ "MMMM" ), a!recordFilterList( name: "Month", options: a!forEach( items: cons!OSR_TEXT_ARRAY_MONTHS, /*ARRAY OF MONTH NAMES eg. January, etc.*/ expression: a!recordFilterListOption( id: fv!index, name: fv!item, filter: a!queryFilter( field: local!month, operator: "=", value: fv!item ) ) ) ) )
Thanks
Discussion posts and replies are publicly visible