Reputation
1,561
Next privilege 2,000 Rep.
Edit questions and answers
Badges
4 14
Impact
~35k people reached

2d
comment Add Item to List on JSLink with jQuery
SP may be expecting an ISO formatted date string. Try data[i]['Date'] = date.toISOString();
2d
comment Add Item to List on JSLink with jQuery
I see. Also, if you are trying to add the item before rendering the view, instead of calling that function from the Header template, you can register it with overrideCtx.OnPreRender and it will execute before it gets to any header code.
2d
comment Add Item to List on JSLink with jQuery
If you are trying to "get" list by title, shouldn't your ajax request be type: "GET"?
2d
answered Using CSR to change row color - how do I keep the view style shaded view?
2d
comment JSLink - Is CSR PostRender supposed to fire once per field?
Right, but are your JS files for your templates stored within the site somewhere, or on the file system in the _layouts directory? If they are on the site somewhere, you can just add the JavaScript Display Template content type to whatever library it is, and then set those files to be that content type, and then you will be able to set the Target Control Type for those files. I don't think it matters how you are actually setting the jslink on the forms.
Apr
22
asked Can't open XSL Editor for RSS Viewer web part
Apr
20
comment field “JS link” had disappeared in web-part properties
Possible duplicate: sharepoint.stackexchange.com/q/135077/8992
Apr
17
comment JSLink - Is CSR PostRender supposed to fire once per field?
What did you set the Target Control Type as for your template? I believe if you set it to "Field", OnPreRender and OnPostRender will fire once per field (since that's the scope you set), but if you set the Target Control Type to "View", they will fire only once per entire view rendering. I have tested that with View, and I had it work as expected. I do not know the behavior is if you set the Target Control Type to "Form".
Apr
16
revised How many different ways are there to name fields in SharePoint?
Added more info about which field names to use in a CAML query, and a linnk to more info on Field Definitions.
Apr
16
answered How many different ways are there to name fields in SharePoint?
Apr
16
comment CSWP sort by LastModifiedTime doesn't seem to work
LastModifiedTime is the correct property. It is a DateTime property and is mapped to the ows_Modified crawled property. It should have both date and time information in it.
Apr
14
answered Javascript in script editor not always rendered
Apr
13
answered Redirect at the end of event itemupdated
Apr
7
answered SP 2013 Quick Launch bar collapse/expand
Mar
24
comment How do I dynamically insert workflow GUID into URL I am building to open workflow initiation form in modal mode?
The answer to that other question does not say anything about getting the workflow ID dynamically, it says it was found by examining the workflow initiation URL, and the workflow ID is in the TemplateID query parameter. It looks to me like that is hard-coded into the custom action.
Mar
24
comment Remote Events — ItemEventProperties.BeforeProperties is always empty?
Right, but the problem then becomes - for itemUpdated, the item has already changed, so you can't get the item and make a comparison to what it was. For itemUpdating... making an AJAX call to retrieve a list item in the middle of a synchronous event is bound do cause bad timing issues.
Mar
24
comment Why I should delete index from the field if there is secondary index field?
I'm just speculating based on what you can see in the code. Obviously this, the index object, can have a m_primaryField and m_secondaryField, and if there is a m_secondaryField the behavior is different than if there is not. Why it's different I couldn't really say without looking deeper into the code.
Mar
23
revised Separate Search Service Application needed for a separate file share?
added another link
Mar
23
answered Separate Search Service Application needed for a separate file share?
Mar
23
revised Why I should delete index from the field if there is secondary index field?
re-worded