Reputation
4,135
Next tag badge:
59/100 score
26/20 answers
Badges
1 11 23
Newest
 Necromancer
Impact
~346k people reached

9h
comment List API get all items limited to 100 rows
Just a note; data.d.__next will be data['odata.nextLink'] if you are using odata=nometadata , verbose should not be used imo unless there is a reason for it.
1d
awarded  Necromancer
2d
comment SP.ArrayListEnumerator check if length = 0
Sounds to me that you have called .getEnumerator() on an object, if so, there is probably a .get_count() on that same object.
May
2
comment SP.ArrayListEnumerator check if length = 0
Where did you get the object from? often you get an ArrayListEnumerator from an object that inherits SP.ClientObjectCollection, where you have count.
Apr
28
answered Empty CAML Query recursively search through document sets
Apr
27
comment ctx object in document sets
@Chris I was thinking more specific just inside document sets, not other places, just when you are using the page docsethomepage.aspx
Apr
27
comment JavaScript injection with powershell (jQuery doesn't load in time)
On a side note, not related to custom action: In order to use ExecuteOrDelayUntilScriptLoaded you'll have to modify your jquery.min.js file and add NotifyScriptLoadedAndExecuteWaitingJobs("myCustomKey"); , in your case it would be NotifyScriptLoadedAndExecuteWaitingJobs("jquery.min.js");
Apr
27
comment ctx object in document sets
@Chris if you know the ctx object always will be created, can't you just use a setInterval and pool for the typeof ctx === 'object' or something?
Apr
25
comment CSOM - Check if one root site collection
@dstarkowski you are right, don't know why I didn't see that :)
Apr
25
answered CSOM - Check if one root site collection
Apr
25
answered camlQuery rowlimit not working on a list
Apr
23
comment REST abstraction layer WITHOUT jQuery
I'll keep an eye out for the next release and check it out :)
Apr
23
comment How i can set the “Due Date” field (on the fly) to be equal to Today date, when the “Status” dropdown list is changed to “In progress”
@johnG CSR is supported in Quick Edit like you say, and is the correct method to use here, since you want the user to have the option to change the date before they save
Apr
22
comment Simple clientContext.get_current throws undefined error
If it's a addin, have you loaded the SP.Runtime.js file too?
Apr
21
comment REST abstraction layer WITHOUT jQuery
Can't say I know any, but most only uses it for $.ajax it seems, could be tempting just to rewrite does parts to use fetch developer.mozilla.org/en/docs/Web/API/Fetch_API
Apr
19
answered Problems getting executeQueryAsync to work with Promise
Apr
18
comment HillbillyTabs 3.0 in SharePoint 2013 Select Box Bug
You are probably right about that, I haven't had time to take a deeper look at it yet. Kinda cool idea to just make tabs without much work
Apr
18
comment Add Ribbon Button via JavaScript
@Mark To remove all from a web ( named site in the example above), you can simply just use: site.get_userCustomActions().clear(); and execute. Else you have to iterate over the custom actions on the object you added it to, and check for the once you want to remove and use deleteObject
Apr
15
comment Add Ribbon Button via JavaScript
@Mark You are supposed to only run it one time, you are now adding a new Custom Action every time you load the page. You could add it with an sort of "admin" page for this, or simply just run it in the browser console
Apr
11
comment Hide a specific list from 'View All Site Content' using JSOM/CSOM?
And remember that the content in lists with hidden = true will not be crawled