0

Is there any way to control what name a column is returned as when a CAML query is run? I am interested in passing the results of several queries (on related items) to a single function, and as the lists were not originally planned for this, they were not created using a content type or standardized column names. I was hoping for something along the lines of context.load(collListItems, 'Include(Event_x0020_Start_x0020_Date as startDate)');. Is there any chance that something like this is possible?

1 Answer 1

1

Process all the results into a single javascript array of objects - that way you can decide what fields go where in the objects.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.