Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
11 replies
Subscribers
10 subscribers
Views
4537 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
Anyone has an example with pictures/or code of Edit User Filter where the Filter
mjmallet
over 9 years ago
Anyone has an example with pictures/or code of Edit User Filter where the Filter Options would be getting the data from a table? Instead of listing all the department one by one as provided in the documentation.
OriginalPostID-192669
OriginalPostID-192669
Discussion posts and replies are publicly visible
0
narasimhaadityac
A Score Level 2
over 9 years ago
Hi mjmallet, We can try to create the User Filter of type "Expression" and then use the a!facet, a!facetOption in order to use the a!queryFilter.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
narasimhaadityac
A Score Level 2
over 9 years ago
@mjmallet, if you are looking at generating the filter options dynamically, as per my understanding that is not possible. we can add one facet option which will exclude all the listed ones.. i mean, like "other" and operator "not in"
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mjmallet
over 9 years ago
so that means if I have 100 departments I have to create 100 filter options, is that correct?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tyler Criste
Appian Employee
over 9 years ago
Starting in 7.11, user filters can be built using an expression. See the "Expression User Filters" section here:
forum.appian.com/.../Record_Design.html
So if you could create a rule that queries your table and creates a filter option for each row.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mjmallet
over 9 years ago
I have 7.10, so technically I have to list all my departments one by one right?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tyler Criste
Appian Employee
over 9 years ago
Correct. You can't create the filters dynamically until 7.11.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@mjmallet That's not completely true. To the best of my knowledge, capability of adding filters dynamically depends on the source of Record Type. For Process Model and Service Backed, it's static and as said by you in your last comment(and also until 7.11 as specified by @Tyler Criste), you need to add all the 100 options.
If you shift your implementation to Service Backed records(I believe it's slightly time consuming), then you would be able to configure the Default Filters and User Filters dynamically, that is based on an expression.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
mjmallet
over 9 years ago
I guess I will have to try that Service Backed records and compare it with the Entity Backed Record that I currently have to see how it compares. (or if lucky upgrade to 7.11 very soon) :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Tom Ryan
Appian Employee
over 9 years ago
Just to add some more info from a design perspective, its not ideal for the user to have to look through a list of 100 filter options. So, if you have so many options that it is a problem to create the filter itself, it may be worth reconsidering the design since it could also be a problem for the end user.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 9 years ago
@mjmallet There was a typo in my previous comment here. It wasn't 'For Process Model and Service Backed', it should be 'For Process Model and Entity Backed'.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>