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
3 replies
Subscribers
7 subscribers
Views
1634 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have a drop down with few values and also a grid which retrieves the values fr
sivac
over 7 years ago
I have a drop down with few values and also a grid which retrieves the values from database. Upon selecting the values in the drop down the values in the grid should change dynamically. Is this possible without using "with" function.
OriginalPostID-224427
OriginalPostID-224427
Discussion posts and replies are publicly visible
0
abhi.jana
Appian Employee
over 7 years ago
It should be possible. Take a look at this SAIL recipe -
forum.appian.com/.../SAIL_Recipes.html
The example uses queryRecord() to retrieve the data but this can easily be replaced with a queryEntity()
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 7 years ago
@sivac Yes, that's viable without making use of with(). Do following while coding the SAIL interface:
1. Initially in load(), create a datasubset variable (which you are planning to use for Paging Grid) and populate the datasubset(that is, query the database entity with default Paging Info, filters and assign the resultant contents to datasubset variable) variable.
2. Populate the datasubset(that is, query the database entity with Paging Info of Paging Grid, filters and store the resultant contents in the datasubset variable) under 'saveInto' of each SAIL component that acts as filter to the Grid.
3. An alternate to (1) is, you may configure a button namely 'Search' and populate the datasubset (that is, query the database entity with Paging Info of Paging Grid, filters and store the resultant contents in the datasubset variable) under the 'saveInto' of Search button.
4. Populate the datasubset(that is, query the database entity with Paging Info of Paging Grid, filters and store the resultant contents in the datasubset variable) under 'saveInto' of Paging Grid.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sivac
over 7 years ago
Thanks sikhivahans.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel