2,987 reputation
2720
bio website
location Norway
age 27
visits member for 4 years
seen 17 mins ago

48m
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
22h
reviewed Reject suggested edit on executeQueryAsync in for loop
1d
comment executeQueryAsync in for loop
@Jarule now I have updated the example so it should fit you 100%. And I used jQuery, so then I guess I should apologize to Aveenav as I thought one didn't need to - of course one should not need to make the example this comlpicated either. Actually, I think I might use underscorejs.org/#intersection instead
1d
revised executeQueryAsync in for loop
added 18 characters in body
1d
comment executeQueryAsync in for loop
@Jarule this is just example code, you would probably move the whole lot into a function and provide the variable groupName as a parameter, as well as the callback. The reason I did not make this function for you is simply because one should refrain from overuse of executeQueryAsync
1d
comment Powershell to get template name site is using
You can use Get-SPWebTeamplate, e.g., Get-SPWebTemplate | ? { $_.Name -like "*SAHREDSERVICEPROJECT*" }
1d
comment Autofill Survey via Query String
That question is not really related to this post, but you google for it (first hit on google). What I would do though to just hack it in, something like this
1d
answered Powershell to get template name site is using
1d
answered Autofill Survey via Query String
1d
revised How to set a List's Default Content Type (order) by using Javascript?
deleted 36 characters in body
1d
answered How to set a List's Default Content Type (order) by using Javascript?
1d
awarded  Custodian
1d
reviewed Approve suggested edit on How to change URL for SharePoint:SiteLogoImage
1d
comment Get webpart's Zone Id via CSOM
Same for REST it seems, ref: /_api/web/getFileByServerRelativeUrl('/SitePages/Home.aspx')/GetLimitedWebPartM‌​anager()/WebParts
1d
comment How to access the content of HTTP page from HTTPS page?
Using the Proxy API is a cool idea. I think you must have an app context though, which I find a bit strange (since it does not have to be app-specific)
1d
comment Get ContentType name with select fields
I tried on 15.0.4569.1000. Neither any of the approaches above, or copied directly from your answer, either with direct opening in browser or with application/json;odata=verbose (as I think is what you are using)
1d
comment Get ContentType name with select fields
This actually works for you? It does not for me, and I have a very strong feeling it does not for OP either
1d
comment Use jQuery to make a “column” on the default view?
Ajax does not have to fail, it just means that the DOM is populated after your code tries to work on it. There are several ways to test this, like a simple console.log of your selector result, or a debugger statement for the same purpose, e.g., console.log($('#onetidDoclibViewTbl0 tr:first').length). Other ways is to keep an eye on the network transfers, to see if the content is actually loaded through XHR
1d
comment Get ContentType name with select fields
Yes, I'm starting to think this might be a SharePoint bug actually. ContentType is a bit special, but it should work
1d
comment What is difference between SharePoint REST and ODATA?
I think something as simple as The difference is that OData is a specific protocol; REST is architecture style and design pattern. should suffice