Anders Aune

Trondheim, Norway

Age: 31

Sharepoint Consultant at Enable AS

Still learning SharePoint and working primary with SharePoint 2013.

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
Nov
18
comment how to get people picker text using javascript
sharepoint.stackexchange.com/questions/109690/…
Nov
15
answered JSLink FormTemplate Not Saving Data in Modified Field
Nov
12
answered How to change the name of an attachment in a new item before the item gets saved?
Nov
12
comment Error Unable to get property 'getEnumerator' of undefined or null reference
You are using executeOrDelayUntilScriptLoaded wrong there, thats the syntax for SP.SOD.execute() . This is the right syntax: SP.SOD.executeOrDelayUntilScriptLoaded(func, depScriptFileName); msdn.microsoft.com/en-us/library/office/…
Nov
4
comment Office 365 use Visual Studio for Event Receiver or Timer Job
Kirk Evans at MS has an example on how to run a "TimerJob" as an app: blogs.msdn.com/b/kaevans/archive/2014/03/02/…
Oct
23
comment Sharepoint 2013 and Html5 Video
You are using IE9+ ? IE8 and lower does not support html5 video
Oct
17
comment Assigning Folder Permissions with JSOM
listItemAllFields should be in 2010 too: msdn.microsoft.com/en-us/library/office/… , did you load the property like he did: ctx.load(folder, 'ListItemAllFields')
Oct
9
answered Checking CSOM people editor value
Oct
7
answered CSOM get items from subsite
Oct
7
awarded Electorate
Oct
7
comment Custom web part in a modal dialog pop-up
Hey, that shouldn't be necessary. SP.UI.Dialog.$1h add ?IsDlg=1 , in fact it will add another if you have one in your url. Like this: ?IsDlg=1&IsDlg=1
Oct
6
answered How to recreate a people picker (or anything else that can autocomplete names)?
Sep
29
answered How create Sharepoint online site with custom template?
Sep
27
comment JSOM working in Chrome but not IE
im just guessing, but could have to do with the button and postback. Could you try using a <input type="button" onclick="buildSite()" /> instead and see if the behaviour is the same
Sep
24
awarded Autobiographer
Sep
19
comment Retrieve single field using CAML Query in Sharepoint using Javascript
You have caml.set_viewXmll , should be caml.set_viewXml . '<ViewFields>' is not closed with </viewFields>, same with 'View>' </View>
1 2 3 4 5