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
9 replies
Subscribers
7 subscribers
Views
2648 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
I am using queryEntityData SAIL tag to retrieve the data from database and calli
ramakg
A Score Level 1
over 8 years ago
I am using queryEntityData SAIL tag to retrieve the data from database and calling multiple time based on the different inputs(using apply function) . I want to display this record details in the Single Grid. how can i merge result and display the same on the Grid?
Thanks in advance.
OriginalPostID-211650
OriginalPostID-211650
Discussion posts and replies are publicly visible
Parents
0
Sidhant Behura
over 8 years ago
@ramakg - What you can do is after you have gathered all data from the db using apply, you can merge all the data using what we call an Anonymous CDT which is of type dictionary and then change it into a datasubset using todatasubset() function.
We do it for reporting because if the data comes from different tables then it is hard to sort. So we create a Anonymous CDT and merge then to one datasubset and the use it in a grid. Please make sure to use constant paginginfo throughout or else there might be some paging or sorting problem.
For example:
todatasubset(
\t{
\t firstName:"Sidhant",
\t lastName:"Behura",
\t gender: "Male",
\t age:"24"
\t}
)
Hope this information was helpful.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Sidhant Behura
over 8 years ago
@ramakg - What you can do is after you have gathered all data from the db using apply, you can merge all the data using what we call an Anonymous CDT which is of type dictionary and then change it into a datasubset using todatasubset() function.
We do it for reporting because if the data comes from different tables then it is hard to sort. So we create a Anonymous CDT and merge then to one datasubset and the use it in a grid. Please make sure to use constant paginginfo throughout or else there might be some paging or sorting problem.
For example:
todatasubset(
\t{
\t firstName:"Sidhant",
\t lastName:"Behura",
\t gender: "Male",
\t age:"24"
\t}
)
Hope this information was helpful.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data