on 10-30-2013 9:08 AM
Hi everybody,
is it possible to create a filter for UWL with dynamic values? For example I want to build a filter, which proves whether the subject contains the username (of the current logged in portaluser) or not. I tried this, but it doesn’t work:
<AllowedFilters>
<CompoundExpression logicalOperation="OR" defaultViewFilter="no">
<Expression name="subject" value="{$UserName}" comparator="Contains"/>
<Descriptions default="Subject-User Filter"/>
</CompoundExpression>
</AllowedFilters>
The filter only takes the value as a string and not as a variable. Any ideas what's wrong or is it just not possible?
Thanks for help in advance
Konrad
Hi Kondrad,
I understand your idea. You would like to be able to specify run-time data in the value attribute of the Expression Element of the AllowedFilters definition. This way you would achieve great flexibility, as in your example, if the Name is "Subject", the comparator is "Contains" and the dynamic value is $(UserName) then one would be able to filter for all tasks that have his or her name in the subject.
I am afraid that UWL does not support this. In the value attribute only literal values are accepted.
Here is a link for everyone interested of what is the current CompoundExpressions support.
http://help.sap.com/saphelp_nw73/helpdata/en/c5/b76cf747544b02be90233522280da3/frameset.htm
Best regards,
Valeri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.