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
6 replies
Subscribers
7 subscribers
Views
2636 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
I have 2 CDTs : "Employee" and "SecurityAccessCard". They ha
mayankk718
over 10 years ago
I have 2 CDTs : "Employee" and "SecurityAccessCard". They have one to one relationship between them. I have mapped "Employee" into a data store entity and querying it using a query rule. As I am using @OneToOne annotation in the XSD, my query rule will return the data of an "Employee" and the related data of the associated "SecurityAccessCard" as well. I want to sort the resultant data set (returned by my query rule) 2 be sorted based on 2 columns. The first column should be of "Employee" (consider any column for now) and the second column should be of "SecurityAccessCard" (consider any column for now). I believe we can use @OrderBy annotation for such purpose.
My question is, how should I use @OrderBy annotation for my use case ? My consolidated XSD (for both "Employee" and "SecurityAccessCard") is attached (referred the same from Appian Forum). Where should I place @OrderBy annotation in this XSD ?...
O2O.xsd
OriginalPostID-132221
OriginalPostID-132221
Discussion posts and replies are publicly visible
Parents
0
simranjits
over 10 years ago
I can suggest a link if you want to achieve this using SAIL.
forum.appian.com/.../e-129566
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
simranjits
over 10 years ago
I can suggest a link if you want to achieve this using SAIL.
forum.appian.com/.../e-129566
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data