Archive for category 2013

CSOM Get List Fields

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Tweet Posted here for self-reference. This is how to get all fields within a list using client object model. The output is logged to the javascript console. Very handy when you’re trying to get internal/hidden field names without having to go to PowerShell or deploy custom code. In my case I needed some of the [...]

No Comments

Creating SPWeb’s using Client Object Model (CSOM)

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Tweet This is a quick example of how to use the JavaScript client object model to create a new SPWeb. As a bonus, this also covers adding it to the root of the site collection. Now, remember  in SP2013 if you are doing this from an app you will need to request rights to either [...]

No Comments