3,527 reputation
2722
bio website
location Norway
age 27
visits member for 4 years, 4 months
seen 10 hours ago

Jul
17
awarded  Popular Question
Jul
2
awarded  Curious
Jun
19
comment SnapIn won't load, the Cmdlets now target the wrong Powershell Version, how'd that happen?
Did you install SharePoint designer 2013?
Jun
9
comment Add various Fields in a Sharepoint List Programmatically
@vandre I think it was meant as a helper method which would create the field on the lookup list if non-existing, I didn't include the method (with body) as I didn't find it important. Removed for now. Note that lookupListId can be null here, so a Debug.Assert(lookupListId != null, "lookupListId != null"); could be smart to use. Also, one can do switch on fieldType if necessary. (Since I removed EnsureLookupEntities I also removed SPWeb and LookupField, although field could be used to point to specific field)
Jun
9
revised Add various Fields in a Sharepoint List Programmatically
remove use of `EnsureLookupEntities`
Jun
3
comment What is the best place to store Autohosted-App settings and configurations?
I can vaguely remember some talk about "Configuration lists" before SharePoint 2013 beta was released, although I can't find anything about this now?
May
13
comment delete all files in sub folder CSOM
I was trying to point out: Why include initialization of ClientContext when there are so many different way to initialize it. Oh well. I'll give you the vote I promised now :)
May
13
revised how to get SharePoint lookup field value using powershell
[Edit removed during grace period]
May
13
answered how to get SharePoint lookup field value using powershell
May
13
comment web services in Sharepoint
SharePoint 2013 already support what you ask for on different ways, such as WebDAV, REST and CSOM. Why would you make a service which replaces built in functionality?
May
6
revised Accessing files in SharePoint AutoHosted App 2013
added 861 characters in body
May
6
comment powershell script works but not showing list data(scheduled task)
Did you try to run task with "Highest privileges", and set it to "run whether user is logged in or not", and did you add the SharePoint snapping, and did you add Start-Transcript to see what the actual error is?
May
6
comment Is it possible to make SharePoint lists accessible cross domain using REST API?
Well you could use that approach on any server (CORS/JSONP) to just get the token, then you should be able to auth with plain JavaScript and can use CORS/JSONP/Proxy directly against SharePoint. (Must enable CORS in IIS as you probably know, although I'm not sure how smart it is in regard of security). But I agree, I think Web API + CSOM + SharePointContextProvider is the most awesome approach, when you have a C# backend :P
May
6
answered Hiding controls from ListView quick edit mode
May
6
comment Is it possible to make SharePoint lists accessible cross domain using REST API?
@anbuj did you try using REST from C#? Here is an example of how you can authenticate: dotnet-rocks.com/2013/10/02/…
May
5
comment Is it possible to make SharePoint lists accessible cross domain using REST API?
Hi @André, what is your specific approach? I.e., what do you have and what are you trying to do?
May
2
comment Client side date validation in SharePoint List form using jquery
@RobWindsor, the first hit on that query is already pointing to this question. So your comment causes and endless loop, human stack overflow :D ⁽ᶦ ᵈᵒ ʰᵃᵛᵉ ᵃ ˢᵉʳᶦᵒᵘˢ ᵖᵒᶦᶰᵗ ᵗʰᵒᵘᵍʰ⁾
May
2
comment InfoPath using ListData.svc/somelist?$filter xxx return 500 Internal Server error
Have you checked ULS?
May
2
comment which master page used in current sub site?
Did you run SharePoint Management Shell or run the Add-PSSnapin "Microsoft.SharePoint.PowerShell" cmdlet?
May
1
comment Migrating specific documents with sharepoint online 365
It could be this problem you are facing. But first, have you tried adding the site to trusted sites?