on-internet
← Community

How can I set a default value in a CDS view for a smarttable?

Stack Overflow ·

How can I set a default value in a CDS view for a fiori elements app (based on annotations)? What I tried. I want to have the current date as a default value. @Consumption.filter: { defaultValue: '@Environment.systemDateTime' } and also @Consumption.filter.defaultValue: '@Environment.systemDateTime') and any other Environment date function and session. When I set in the default value a static value it work. When I use the environment thing I get also the error One parameter has an invalid value: parameter IS_EXPRESSION-DATE has the invalid value

Comments

Sign in or sign up to comment and upvote.

No comments yet.