JSLink is the new feature introduced in SharePoint 2013, loading off the burden of XSLT webparts from the developer's mind.

learn more… | top users | synonyms

1
vote
1answer
35 views

Using JSLink to put Description beneath Title in DocLib

I just started using JSLink, and i think it's great! But now i'm facing a problem with the following... I have a DocLib where i want to display the Description field beneath the Title field. This ...
4
votes
1answer
51 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 ...
2
votes
0answers
29 views

Custom DisplayForm using JSLink

Is there any way to customise the display form of a list using the Client Site Templates e.g. // Register the template overrides. ...
1
vote
1answer
29 views

Return CurrentItem from context.Templates.Item JSLink

Any ideas on how to return from the Custom Item method when using JSLink (as if it was never called)? I want to do a check in this method and hide the row if the condition fails. I know I can do a ...
0
votes
1answer
39 views

Are JSlinks available for Sharepoint online?

Just wondering if JSlinks can be used with the online version of Sharepoint?
0
votes
1answer
30 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. ...
0
votes
0answers
40 views

Using JSLink to add hyperlink to the Title - control if the link opens in browser or program

Due to business requirements I have a document library with BI reports (.rdl and .xlsx files) where I need to show the title while hiding the name. In order for our users to open the reports, I have ...
0
votes
0answers
42 views

SharePoint 2013 - Extra HTML tags in JSLink Styling

I'm customising my views using context jslink, it's going well but I noticed that in the code there are extra <p> tags and also a <br> being added neither of which should be there. Does ...
0
votes
0answers
34 views

JSRender modify dispform.aspx button

I want to modify the button, the display text and the url link. How can I do that with JS-Link?
0
votes
1answer
119 views

Getting Custom List columns with JSLink Context

I have a custom list in SharePoint 2013 and I'm using a javascript file to style it utilising the JSLink capabilities to reduce server load etc. The problem I'm having is that my custom list as a few ...
0
votes
1answer
85 views

JSLink filter current list

I have added a list view web part in a page and have attached a JSLink to customize the look and feel of the list. The list has a "Category" column. I would like to filter the list based on the ...
0
votes
1answer
99 views

JSLink: Return field value as plain text

This might be really very simple, I have a list view with multiple Rich Text fields, I want to remove HTML formatting from those field in a specific view and return them as Plain text. I would like ...
0
votes
0answers
139 views

JS Link is overriding multiple list

I am using JS Link to override some columns on a Sharepoint 2013 List view. I have a Page with multiple list on which some list are different Views of the same List and other are Views from another ...
0
votes
1answer
75 views

Updating current item using jslink

I am working on a solution where in I have to update current item based on a button click. I am thinking of using JSLink to generate button with each row, when this button is clicked i have to refer ...
1
vote
1answer
48 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 ...
2
votes
1answer
184 views

JSLink and Javascript Events

I have customized the view for my SharePoint 2013 List using a JSLink file but have not been able to get the buttons I added to the page to respond properly. They cannot find any DOM elements when the ...
1
vote
2answers
499 views

JSLink: Render FileLeafRef with Title in document library

JSLink is the greatest thing since sliced bread. Not. There are some weird issues concerning standard stuff and I'm not sure whether these are limitations or I'm doing something wrong. I want to have ...
0
votes
1answer
86 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; ...
0
votes
0answers
50 views

using jslink to color code totals in a view when grouping

Im using JSlink to color code some cells in a view which works fine however i also need to color code the totals of the columns that are grouped. Does anyone know how you can access the totals when ...
1
vote
3answers
359 views

JSLINK for multiple list views

I have a list that i used for many view as a web parts in the home page, so all the view are from the same list. what i want is to customize my view in a specific design, so i have to apply a JSlink ...
0
votes
0answers
37 views

How to group fields of a list under various tabs with JSLink

A simple tabbed view is achieved but I want that when the user clicks a particular tab then its corresponding fields are available for input only.
3
votes
1answer
239 views

Create Edit Control Block (ECB) on View with JSLink

I have a question about ECB: In Sharepoint 2013, how to create Edit Control Block (ECB) in view with JSLink. I use JSLink to modify the default view, but I can't display the ECB context menu with ...
0
votes
1answer
66 views

JSLink get field with url

I have a field in my list, which is a url (field type is single line of text), and in my JSLink, I want to retrieve this field to assign it as src for an image, but when I use CurrentItem.SrcUrl, it ...
0
votes
0answers
139 views

JSLink: Getting item URL or identifier

I'm using a modified version of the Accordion Menu code sample (here). Inside the accordianTemplate function, I need to get the URL or some kind of identifier of the currentItem object so that I can ...
1
vote
1answer
155 views

Modifying ListForm Save & Close button through JsLink

I am currently porting a internly used SP Farm-Solution from 2010 to 2013 and am struggling with the new concept of JsLink. In the 2010 solution we had overwritten the RenderingTemplate ListForm to ...
2
votes
2answers
200 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: ...
0
votes
2answers
745 views

Open List Item in Modal Dialog from SharePoint List View Page

I have SharePoint All Items Custom List View which I would like to customize using JS Link feature. Currently whenever user clicks on "Title" link on any item it opens Listform.aspx with detail ...
0
votes
0answers
69 views

JSLink Issues with Powershell but not Object Model (with Code Samples!)

I am having trouble attaching a JSLink to a list view (.js file located in the Script Library) Powershell: $list = $web.Lists["Gratitude"] $view = $list.Views["Gratitude"]; $view.JSLink = ...
2
votes
0answers
301 views

SharePoint 2013 Custom CSR Render Mode for NewForm (also for DispForm and ViewForm) renders input controls apart from labels

For several weeks I am developing some features for my new projects on SharePoint 2013 using new technology called Client Side Rnedering (CSR). Until now there have been almost no issues except lack ...
0
votes
2answers
398 views

How to cast a date column value in JSLink javascript, and how to increase this date variable?

I am using sharepoint 2013 online. I have created a custom list. On this list I have used JSLink to show an icon in a column. I would like to do some logic to show a red or a green icon. I have now in ...
0
votes
2answers
234 views

JSLink (js)file is updated, but still can't see any changes, maybe caching?

I am using SharePoint 2013 online (Office 365). I am following some JSLink tutorial where I am showing indicator icons in columns. It looks like the .js file is working, but when I change the file and ...
0
votes
1answer
125 views

JSLink and office 365 : I don't see the Content Type “JavaScript Display Template” when adding js file

I am using SharePoint Online 2013. I try to follow some JSLink tutorial to show indicators in some columns on a custom list. I am stuck in the step where I need to upload and set the ".js" file into ...
2
votes
2answers
598 views

Filter out items in list view using jslink

I have a list view, containing GUIDs, where I want to filter out some items depending on the result of a REST call made in the onPreRender function in my JSLink. The REST call fetches GUIDs from ...
0
votes
1answer
551 views

SharePoint 2013. JSLink (CSR) for field Type=“User” on EditForm

How to create custorm render for field type="User" on EditForm? I need to replace standart peoplePicker control with my custom render. Code below work without exeptions, but don't set 'Sponsor' ...
2
votes
1answer
805 views

Using Lookup Value in a JS Link Context - SP2013 Foundation

I am tasked with styling some lists for our Intranet Home Page. While I was fairly capable of this in SharePoint 2010 using Data Views and XSLT, I am trying to learn the new (and I think better) way ...
3
votes
1answer
110 views

JSLink Status indicators alternatives?

I am trying to have my document library views show indicators next to documents based on the values of certain fields. I have spent considerable time trying to find a solution using JSLink but it ...
4
votes
3answers
393 views

XSLT or JSLink (which one to use?)

If I have the option of using XSLT or JSLink, which one shall I chose? I don't know anything about JS Link and so far I have done all work in XSLT but I have heard JS Link is the future as there ...
2
votes
0answers
133 views

How to get the user profile property that is of type Managed Metadata using JavaScript?

I have apply JSLink to the custom list's new form. I want to query the user profile property which is Managed Metadata for entered user. I wrote below code which simply gives the string. But I want ...
1
vote
2answers
379 views

How to get List Title in JSLink?

I have applied a JSLink to the custom list's new form in which I want to get the Current List title to access the list column further. My code is: (function () { var DepartmentCtx = {}; ...
1
vote
1answer
407 views

Unable to apply JSLink to the field

I want to apply the JSLink file to the field to render it differently. <Field ID="{2F30125C-D2C9-459F-9AC5-1796F52C0C4B}" Name="oiplbDepartment" StaticName="oiplbDepartment" ...
0
votes
2answers
120 views

JSLink doesn't work when it got redirected from list item page

I have a JSLink file to customise an external list and list items. context.Templates.Fields["VM_NAME"] = { "View": VmNameRenderCallback }; ...
2
votes
2answers
641 views

How to apply JSLink to List's New Form in Visual Studio?

I have content type say "Departments" and applying to the list named "All Departments", there is one field in content type that I want to apply js link to render it differently I found some solution ...
3
votes
1answer
364 views

JSLink makes search textbox to disappear in Page Library Custom View

I have created a view in a page library and added a custom JSLink that should render the items as follows: Each item is a Page in the Page library. The problem is that when I add my customJsLink.js ...
1
vote
0answers
115 views

Can I change the display name of column in a listview using JSlink

I've a requirement to change the display name of a column in only one view, I've to show 'Responsible' instead of 'Responsible Person'. Is this possible by JSlink ?
1
vote
0answers
112 views

Will JSlink works in ListViewByQuery Control?

I added a ListViewByQuery control in my Application page. I added few ViewFields using SPQuery, I customized the rendering of those fields using JSlink, The fields are showing properly in ListView, ...
0
votes
2answers
494 views

JSLink set in list definition (schema.xml) not being loaded

I have created a custom list definition and detailed in many articles across the net I have specified my file in the JSLink property of the view. For some reason it is no longer working. <JSLink ...
1
vote
0answers
132 views

Custom JSlink template intermittently not downloading for anonymous users

I've developed a JSLink template that works fine. I've tested it with authenticated and anonymous access and it works flawlessly. The problem that i'm seeing is that when I open the page with the LVWP ...
2
votes
1answer
328 views

How to ensure client side rendering of list item is applied when 'Grouping' is enabled in the list view

I've followed some instructions to create a JavaScript file that renders the Title column of a document library as a link to the file in order to obscure the less user friendly name column. (function ...
2
votes
2answers
895 views

Sharepoint 2013 JSLINK template with view grouping rendering

I'm looking for a tutorial or documentation on how to create a JSLINK rendering template that will perform view grouping rendering. I need to use this in connection with the list view webpart, where I ...
1
vote
3answers
290 views

Set the JSLink property for all list forms in FeatureActivated

Is it possible to update the SPForm.JSLink property for the forms (Display, New, Edit) of an existing list in the when a feature is activated? I have tried the code below, but it seems that the ...