SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been unable to load a page showing a dynamicaly selected View. I can not just display the List itself (Although this would allow me to specify the View in the URL) because I need to modify aspects of the List via a CEWP on the same page. (I dont have access to SD where I work)

So, I tried to implement this code. It runs the onQuerySucceeded() function indicating it worked, but no the View displayed is not the "EOM Run" view.

existingview = viewcollection.getByTitle("EOM Run"); 

clientContext.executeQueryAsync(Function.createDelegate(this, this.onQuerySucceeded),     Function.createDelegate(this, this.onQueryFailed)); 

I tried to implement this example:

I dont know what I am missing?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.