3,622 reputation
2722
bio website
location Norway
age 27
visits member for 4 years, 5 months
seen 17 hours ago

Apr
23
comment Finding items using content types
Does this code actually work? Don't you have to -ExpandProperty on Lists as well? And from where does $ContentTypes come? And what is .PM on a Content Type?
Apr
23
comment List and list item permission and security in Sharepoint hosted App
Are you able to remove read permission for the user, but still add items when going through JSOM or REST? If so, and I think that might be the case because of app permissions, you should be able to set item level permission for the user to access their own items on creation. Also, if you are able to retrieve items from a locked down list through the JSOM/REST app proxy you could just give some groups access (i.e., Manager) and forget about item level permission as you can retrieve items through the app
Apr
23
comment List and list item permission and security in Sharepoint hosted App
Can't you just go into list settings > advanced settings > item-level permission and set it to Create items and edit items that were created by the user?
Apr
23
comment SharePoint Hosted App secure content
I imagine this is Open Sans font from Google fonts, and if you open the CSS file there you can see it uses @font-face and src to the link you described
Apr
23
answered SharePoint Hosted App secure content
Apr
23
comment Does disposing SPSite dispose the SPWeb automatically?
Just curious, do you know how RootWeb is disposed by SPSite? When decompiling the SharePoint DLL I can't see where it is disposed at all. I think m_openedWebs are all disposed of properly, but RootWeb is not part of these. I know it is disposed, I just can't see where it is done
Apr
22
comment CSOM in FarmSolution
Are you building a separate web application, similar to an autohosted one, that will connect to your SharePoint and you want users to be able to authenticate to SharePoint through this web application?
Apr
22
comment XML code for List view
Might be duplicate of sharepoint.stackexchange.com/questions/62508/… , not flagging since I'm not sure, the methods are the same, but the question is slightly different
Apr
21
comment SharePoint Jquery Condition
Just a note to you and @Aveenav here is an alternative to fetching fields with jQuery that you might find interesting. It is clean and should actually be relatively fast, and best of all it works on internal names instead of title/display name. Works in 2010 and 2013 and default forms (will not work on custom forms)
Apr
21
comment Sharepoint List Issue
Updated the answer to get all distinct values from all items, see $values = ...
Apr
21
revised Sharepoint List Issue
deleted 9 characters in body
Apr
21
answered Sharepoint List Issue
Apr
21
answered Rest queries in SP2010 with $top and $skip
Apr
17
comment Get Master Page Gallery via CSOM
And then of course /_api/Web/GetCatalog(116) will work as well
Apr
17
comment Get Master Page Gallery via CSOM
Nice, didn't know about that method (deleted my answer)
Apr
17
answered REST API filter multi person/ group column by null
Apr
17
comment Saving Changes OPENXML with PowerShell
Perhaps WebDav is doing something funny, have you considered a temp download, edit and then upload with overwrite?
Apr
16
reviewed Approve suggested edit on Model PopUp in Sharepoint 2010
Apr
16
comment SharePoint Rest API internal server error
You could perhaps check ULS. Also, are you querying host web app? And lastly, how does your request look like
Apr
15
reviewed Reject suggested edit on executeQueryAsync in for loop