Skip to main content
8 events
when toggle format what by license comment
Oct 17, 2017 at 9:25 comment added isxaker And moreover, I get 'The specified view is invalid' exception when i try to Load() and ExecuteQuery() the view which mthod GetByTittle() returns
Oct 17, 2017 at 8:41 comment added isxaker Ok. Obviously it is a key point. I mean load and execute. Do I have to call these methods for a viewCollection or a view ? And thanks for updated answer, but I had almost the same code. And my main goal was to prevent using foreach =))
Oct 17, 2017 at 7:07 comment added Per Jakobsen @isxaker Did you execute context.load and context.executeQuery before checking ServerObjectIsNull?
Oct 16, 2017 at 22:05 comment added Prasanna Ruwangana Please see the updated answer: This function could be useful to validate the list view.
Oct 16, 2017 at 22:02 history edited Prasanna Ruwangana CC BY-SA 3.0
Also you can write a function to check the view exist or not
Oct 16, 2017 at 19:35 comment added isxaker and i don't why this property gets me null regrdless that the object actually exists
Oct 16, 2017 at 19:25 comment added isxaker but after using this property i get error
Oct 16, 2017 at 18:07 history answered Prasanna Ruwangana CC BY-SA 3.0