Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add Override='TRUE' to OrderBy. #28

Open
sadomovalex opened this issue Sep 26, 2017 · 1 comment
Open

Cannot add Override='TRUE' to OrderBy. #28

sadomovalex opened this issue Sep 26, 2017 · 1 comment
Labels

Comments

@sadomovalex
Copy link
Owner

zyzil[CodePlex]
There is not a way currently to express the override attribute of an order by clause such as this example:

ltOrderBy Override='TRUE'gtltFieldRef Name='ID'gtlt/OrderBygt

I tried using the overload that accepts existingOrderBy; however, it strips the Override attribute off. Also, since there is no way to only include an existingOrderBy field it duplicated the FieldRef element.

@sadomovalex
Copy link
Owner Author

sadomovalex[CodePlex]
hi zyzil,
thank you for the feedback. Yes, at the moment there is no possibility to specify Override attribute for OrderBy element by code (you may add it still to resulting string .Replace(OrderBy, OrderBy Override='TRUE')). I added it
to development tasks list
https://camlex.codeplex.com/wikipage?title=Future%20improvements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant