Reputation
4,566
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 10 25
Newest
 Yearling
Impact
~241k people reached

Mar
4
comment How to get appWebUrl and hostUrl when getQueryStringParameter fails?
Or localstorage
Mar
4
comment Could not load file or assembly '$SharePoint.Project.AssemblyFullName$' or one of its dependencies
Did you add .asmx to the list of files Visual Studio should magically replace such $-variables in? (Found this on Google. See Picture).
Mar
2
comment sharepoint workflow rest api add role assignment exception
Guess you would get another exception, but did you use POSTverb?
Feb
27
comment SignalR on SharePoint Farm Solution
Did you have to add all the assemblies to your package?
Feb
27
answered Automatically copy items
Feb
27
answered Jquery accessing an element in Approval Task Form
Feb
27
comment Jquery accessing an element in Approval Task Form
innerText is a property on HTMLNodes, not a function on a jQuery object, perhaps you are looking for text()
Feb
27
comment Ignore/Exclude file when using Export/Import-SPWeb
Have you tried unpacking the cab-file, remove the file and then packing it back up? - not pretty though
Feb
27
comment Error: “Cannot index into null array”
Are you sure $web is properly set? As in what happens if you run $web.Lists or even $web.Title?
Feb
26
comment Jquery accessing an element in Approval Task Form
You get [object Object] because you are looking at the toString of the jQuery object. If you use console.log, or a breakpoint, you will see the actual array, then you can even right click and reveal the element (if found) in the elements tab, jay
Feb
26
comment Get Columns via REST
Wouldn't it be better to get the fields from a specific Content Type (/Lists.../ContentTypes/.../Fields)? That is after all what the user would see in a form
Feb
25
comment SignalR on SharePoint Farm Solution
You could instead show the app inside a dialog (iframe to the app). Not sure what the best approach is, but I did a simple test by calling OpenPopUpPage with the iframe src for an app part, and it worked
Feb
25
comment Why does .get_title() called from an (SPOnline) App-Web return an incorrect Localized DisplayName?
I thought an app would stay the locale it was install under, and disregards user/site locale after that. You can get the field title for a specific locale like this: var resource = field.get_titleResource();c.load(resource);c.executeQueryAsync(function() { console.log(resource.getValueForUICulture('no').get_value())})
Feb
25
comment How to change height of class in edit mode
Might be missing document ready? Anyway, why use JS when you could just add CSS?
Feb
25
comment How to check whether item is being added or updated in PreSaveAction
@NadeemYousuf I created an edit form by clicking Forms -> New... in SharePoint Designer
Feb
25
comment How to check whether item is being added or updated in PreSaveAction
@NadeemYousuf Tested it on O365, and it was not available on O365 custom forms, I suspect the same is true for on-premise.
Feb
25
comment Are tags disabled in Sharepoint Online?
A hint to any alternative solution wouldn't hurt that post I think, but perhaps Taxonomy is "taking over"?
Feb
25
revised How to check whether item is being added or updated in PreSaveAction
Update based on comments by @Mohamed-derhalli and @NadeemYousuf
Feb
24
comment How to check whether item is being added or updated in PreSaveAction
I kind of like @NadeemYousuf s suggestion, perhaps something like var isEditForm = !!(GetUrlKeyValue('ID') || GetUrlKeyValue('id'))?
Feb
24
comment client side IDs of share point elements
So the user must make a choice? Or is the problem the content type that comes with the list? - if so you could just remove this CT from the list. First guess at selector could be something like .ms-list-addnew a:has(span), or the first a