How to sequence the column sort order while fetching data from Dataverse using client sdk? #389
Unanswered
spmanjunath
asked this question in
Q&A
Replies: 1 comment
-
Im not totally clear on what your trying to do there.. that said, What I would suggest you do here is use a tool like XrmToolbox's FetchXML builder to work out your query to get the structure of the flow you want. then use the Convert feature to turn it into Query expression ( or fetchxml ) and use it here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have parent table called Location and a child table LocationSortOrder, i have used linked entities with left outer join and trying to sort the entities first by LocationSortOrder.SortOrderValue column and then the Location.LocationCode column. I have below code which does not give the desired result.
(Table: Columns)
Location: LocationCode, Description
LocationSortOrder: LocationCode, SortOrderValue
Uncommenting //(2)// gives binding error for column 'sortOrderValue'. Uncommenting //(1)// does not sort the column first by 'sortOrderValue' and then by 'locationCode'.
Note: Sorting on locationCode in LocationSortOrder table is not an option because not every record from Location is present in LocationSortOrder table.
Beta Was this translation helpful? Give feedback.
All reactions