Questions tagged [client-side-rendering]

Client Side Rendering in general is a technique to offload part of the HTML content rendering workload from server side to the client's browser. In SharePoint 2013 JavaScript-based CSR templates partly replaced XSLT (remember, you can still switch to server rendering in web part properties).

Filter by
Sorted by
Tagged with
3
votes
2answers
20k views

How to handle multiple calls to executeQueryAsync synchronously?

I have a custom list to which I am applying JSLink to NewForm.aspx. The list where JSLink is applied is : XXX and in the JSLink I am querying data to YYY from the list YYY there are two fields ...
1
vote
1answer
889 views

Unable to return value of Person or Group field from JSLink

I have a custom list in which I have applied JSLink on Person/Group field in NewForm.aspx, my code works fine to render the field but when I click on submit button, I am returning value. <userId>...
5
votes
2answers
2k views

Customize a view of recurring calendar events using client side rendering (JSLink)

I'm trying to apply CSR to a calendar-view. This seems not to be working. In fact the file specified in JSLink is not loaded at all. As a basis I'm using the standard "Current Events"-view which ...
0
votes
1answer
1k views

JSLink: Userfields (Author, Editor, …) only provide userId not username

i recently tried to modify a view with JSLink, modification works very good, but userfields are not correct provided if JSLink is in use. By default a userfield is rendered blank at first glance. ...
1
vote
1answer
614 views

Modify/Change the CSR for view page for a POST in a Blog Site

I am working on CSR to add a button and change the look and feel of like and comment button for a Blog Site. Currently I am able to achieve this, and it is functional(Button). I am using the below (...
1
vote
2answers
2k views

Javascript Displaytemplate not working on sharepoint 2013 blog site view post page

I have a blog site in sharepoint 2013, I wanted to use Javascript Template for displaying the Post in a custom style. Here is how my js file looks like. (function () { var overrideCtx = {}; ...
0
votes
1answer
344 views

List view is broken after applying jslink

I used client side rendering on a list view to override how the items inside it should be rendered. The javascript: var overrideContext = {}; overrideContext.BaseViewID = 3; overrideContext....
4
votes
2answers
3k views

SharePoint - How to get field value using JSOM + JSLink without Async call

I'm fairly new to the JavaScript Object Model (JSOM) and I want to do a simple call to get a field value. Very easy in C#, but I can't seem to get a field value even though I have the ListItem: ...
5
votes
2answers
2k views

ctx in CSR not return the title

I need to make the action of clicking on the title of a list item open the edit form, and not the view form. To do this I chose to use CSR. I have the following code: (function () { var ...

1 2 3 4 5
6