camljs icon indicating copy to clipboard operation
camljs copied to clipboard

Please add methods after CamlBuilder.FromXml

Open kvvinokurov opened this issue 5 years ago • 2 comments

I need to change OrderBy and ViewFields in an already created CAML query.

I made a React component for Lookup fields. I want to pass a clarifying CAML query into it, and not completely. That would not take out the logic of working with lookup field outside the component.

kvvinokurov avatar Oct 21 '19 15:10 kvvinokurov

So maybe smth like ReplaceOrderBy and ReplaceViewFields, which would work the same way as ReplaceWhere...?

Do you want to create a PR for this change?

andrei-markeev avatar Oct 21 '19 15:10 andrei-markeev

Yes :)

kvvinokurov avatar Oct 21 '19 15:10 kvvinokurov