2,054 reputation
2614
bio website
location Norway
age 26
visits member for 3 years, 1 month
seen 2 days ago
stats profile views 353

Apr
13
awarded  Yearling
Mar
25
comment How do I update an already existing wsp on farm?
Not sure @Mike, I hardly use workflows myself. But at least if you update only the DLL you should be safe
Jan
24
comment sp.js not loaded js file provisioned by a module
What happens if you run _spBodyOnLoadWrapper() manually, and perhaps try 'SP.js', although I don't think it should be case sensitive.
Jan
21
comment How to download a sharepoint aspx page from server using powershell
The chocolatey way is quite cool: @powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString($url))"
Jan
21
comment How do I update an already existing wsp on farm?
It might be true for all I know, and it probably should, but I have honestly never had any issues running Ùpdate-SPSolution -GACDeployment` on WSP files with newer DLL files. Do you have a link stating otherwise, @bkwdesign?
Jan
15
answered Filter XsltListViewWebPart using Choice Filter
Jan
15
comment SPUserCollection class
I don't know what properties is, but if it is SPItemEventProperties then I would like to note that you can do properties.ListItem. And now that Egor pointed out you get SPFieldUserValueCollection, give you have a SPFieldUser field I will just leave this as a comment :)
Jan
15
comment SPQuery always returns values
Have you tried <Value Type="Text"> instead of with String?
Jan
15
answered How can I send data to a modal popup without using a jquery string?
Dec
17
awarded  Fanatic
Dec
10
awarded  Popular Question
Dec
9
comment How to return a value using context.executeQueryAsync?
With executeQueryAsync it is impossible. I believe you can do it with SPServices. See example
Dec
8
comment How to return a value using context.executeQueryAsync?
I have tried to keep your code as similar as your original one, while also trying to follow some best practices (jshinting), you can see the result here: gist.github.com/4241236
Dec
8
comment How to return a value using context.executeQueryAsync?
This is the way you are suppose to do it. When dealing with AJAX this is the common approach. You can get around this by augmenting XMLHttpRequest, but that is very bad :)
Dec
7
comment How to return a value using context.executeQueryAsync?
The value is not returned, instead you pass a function into the getSpCurrentUser as a variable (line 13 and 1, named callback) which will be called from within the getSpCurrentUser function (line 7 and 9). Since executeQueryAsync is asynchronous any code after line 19 will be run before you get your callback (line 14-18). There should not be two functions with the same name
Dec
7
answered How to return a value using context.executeQueryAsync?
Dec
5
comment How to create a folder in SharePoint 2010 document library using REST or HTTP methods
Hey. Sorry I haven't had time to look into it. Great that you found a solution for nested folders :)
Nov
29
answered custom aspx page with default.master page CSS issue
Nov
27
comment Trouble-shooting jQuery Problems
Anywhere you like really, for example with script link. But to test this solution you can open up your console (F12) and run _spBodyOnLoadWrapper(), if this works you should immediately see improvements.
Nov
27
answered Trouble-shooting jQuery Problems