2,990 reputation
1720
bio website
location Trondheim, Norway
age 31
visits member for 3 years, 8 months
seen 6 mins ago

Sharepoint Consultant at Enable AS

Still learning SharePoint and working primary with SharePoint 2013.


1d
comment SharePoint Hosted App show profile picture of the logged in user
Option 2: Don't use the HostWeb url, but AppWeb. sharepointappie.nl/office-365-profile-pictures-showing
Mar
19
comment Possibility of memory leaks in this code block
At compile time, your SPSite with the using statement to is rewritten as an try finally. It will also declare the variable outside the try, and it handles the IDisposable in the finally. So nothing wrong with declaring it outside the try.
Mar
4
comment PeoplePicker using JSOM
sharepoint.stackexchange.com/questions/109690/…
Feb
23
comment Retrieve subsites from site collection sort last modified date using CSOM
Nice. PS: Instead of the webs.get_count loop, you could have done: var result = webs.get_data();
Feb
22
awarded  Revival
Feb
20
comment Get Site Collection full URL using javascript
This is correct for SharePoint 2013, SP2010 _spPageContextInfo does not have the property siteAbsoluteUrl.
Feb
20
comment Wait for _spPageContextInfo to initialize
I have used the setInterval method sometimes, but not a fan of it. So I'm interested in your outcome here. (PS: @eirikb quak hist ?) :)
Feb
16
comment ExcuteQueryAsync functions inconvenient
Just want to add that Function.createDelegate more or less just do an .apply() , you could have done context.executeQueryAsync(_onSucceed.apply(this),....);
Feb
16
comment Get List by “InternalName”
@jasonscript check if you are using the corret url: String.format('{0}/lists/MyImages',_spPageContextInfo.webServerRelativeUrl);
Feb
13
answered Get List by “InternalName”
Feb
13
comment Javascript running only in edit mode
In editmode sharepoint loads many of the files like sp.js etc. What is the execfunc() you are calling?
Feb
12
answered JavaScript: get webpart context by DOM ID
Feb
9
comment Make cross origin requests to the personal site in SharePoint Online
Great, thats actually the same blog post I got my code from a couple of months ago iirc :)
Feb
7
comment Make cross origin requests to the personal site in SharePoint Online
@RobertLindgren Fair enough hehe, though you'll think they'll remove the aggregated list to if/when that happens :)
Feb
6
answered Make cross origin requests to the personal site in SharePoint Online
Jan
21
answered pop up message without using alert()
Dec
15
comment Get approval status in edit form
Probably the best solution and the correct one :) But couldn't you check the property of WPQ2FormCtx.ListData._UIVersionString , where approved would be 1.0, 2.0 etc?
Dec
1
comment How to add a Sum, Avarage to Calculated Column
It's not possible "out of the box", if you can use a workflow on change/create you can set a single line of text field to the value you use in the calculated instead. If that's not an option, we will need some more info, like Version of SharePoint you are using and technologies you can use (eg javascript only, server side etc)
Nov
26
answered Loading image freezing with Javascript Object Model and jQuery Promises
Nov
25
comment Loading image freezing with Javascript Object Model and jQuery Promises
It's hard to guess without some code i'm afraid. At least some stripped code if you can