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

0
votes
1answer
21 views

Import CSS File to Jslink

How can i import .css file to .js file ? I m not talking about html page. Html page is not in our control. i m using share point inbuilt page Newform.aspx and applying jslink on this page. in jslink ...
0
votes
0answers
22 views

Text box event handled by jslink and jquery

I have created my own Text box control using jslink in SharePoint on NewForm.aspx. i want to handle text changed event in jslink. I have given my code below .. (function () { // ...
1
vote
2answers
26 views

Get Text box in JSLink of NewForm.aspx in SharePoint 2013

How can i get Text Box Id in SharePoint NewForm.aspx ? Using Js-Link . . i want to bind Color-picker Control of Jquery to Text-box .. Can anyone have an idea about this? kindly give me suggestion. ...
0
votes
0answers
8 views

Cascading Dropdown using JSLink

I have created custom dropdown in newform using JSLink. Both are working fine. Now i want to make cascading dropdown. I searched a lot but i got using SPServices and other third party JS. I want to ...
0
votes
2answers
33 views

JS Link SharePoint 2013

I'm trying to implement JS Link on SharePoint 2013. However, I can't seem to make it work. Uploaded a sample .js file in Site Assets with a simple alert message. <script> alert("test") ...
0
votes
1answer
25 views

Replace table with <div> in displayform

I have a custom list and when I view a single item the standard DispForm.aspx is used to display the item I am able to override those fields via JSLink but is it possible to override the table itself ...
0
votes
0answers
32 views

JS Link View Overriding for date

I have a date column in my custom list. When i try to override the view of the field by using the TemplateOverride Function, my Javascript wont work on! The same problem occurs for Multiple Choice, ...
0
votes
2answers
31 views

Change NewFrom using JSLink

I have to customize the NewForm and EditForm using JSLink. Perhaps there is another way of doing this. So what I would like to know are these: How can I make a field required or not depending on ...
1
vote
1answer
27 views

JSlink changes after creating site from template

I created a site with several lists and several CSR renderers for those lists. I applied the renderers to the forms via JSLink. Then I tried to save the site as template and create another one from ...
0
votes
0answers
65 views

Losing the selected drop down value when reloading the page - JSLink

I have an EditForm that I am using JSLink to run some javascript that gets the Content Type and then sets the options in a drop down box according to the Content Type. This works fine, but now the ...
0
votes
0answers
33 views

Can not prevent editting a field inside the Quick Edit using JSLINK

I have a site column named "Item Number" with internal name of "ID1", as follow:- PS H:\> $web.Fields["Item Number"] FieldValueType : System.String PreviewValueTyped ...
0
votes
1answer
61 views

Unable to hide a column from the “Quick Edit” grid using JSLink

I have a custom site column named "Item Number". now i want to force this column to be un-editable inside the Quick Edit grid. now when i try to edit the site column (Site Setting>> Site Column ...
0
votes
1answer
89 views

Hidding Forms; fields using standard jquery versus using JSlink. which approach is better

I want to hide some fields from my Edit & New forms, and i need this to apply to all the subsites. now if i hide the columns from the Content type they will appear again when users modify these ...
1
vote
1answer
19 views

Styling the Discussions List

I am styling the discussions list web parts using CSR / JS Link. The OOB discussion list contains several buttons that allow you to select various "views", such as recent, what's hot and my ...
0
votes
1answer
35 views

JSLink conflict with lists of the same type (List Custom 100)

Problem I've two custom lists with ListTemplateType = 100. When I insert both into a page, the last rewrite the first. I tryed add BaseViewID with diferent ID, like this question. But anything ...
1
vote
1answer
50 views

In SP Online, how to return the default HTML of a lookup field when overriding the Item Template in a list view

I've found various methods to return the default values for the field template override, including lookup, but I have been unable to find or successfully implement a method to do the same for fields ...
0
votes
2answers
60 views

SP Online 2013 blog: jslink change to “created by” field corrupts comments list

I'm replacing the "created by" field in a blog posts list with a custom user defined "author" field using a simple jslink script. This works fine but when a user posts a comment, the jslink change ...
1
vote
1answer
63 views

Wrong cached version of a JSLink file

I have a strange problem with my JS-link files. Scenario I have placed a list webpart on a wiki page. On this webpart I have set the JSLink property to a js-file in the Style Library: ...
0
votes
2answers
44 views

CSR only works on a List View when same code is present in a Script Editor web part and also a JS Link

I'm still pretty new to SP and I've been trying for weeks to get JSLink to work on a SP 2013 List View (no formatting would ever show up and I didn't know if it was the javascript code itself or the ...
1
vote
2answers
56 views

Using JSLink to manage and output list groups and items

so I am currently using JSLink to change the look and feel of my List view, but am getting a little stuck in getting the HTML hierachy of my elements right. This is my current code... function ...
2
votes
0answers
49 views

JSLink not displaying

This is my second display template, which is mostly a copy of the first one. All of the configurations are the same, but for some reason it's not firing when the page is loaded. here is the ...
0
votes
1answer
50 views

Set values in Newform with CSR

I have a TestField (Single line of text) that I can return a value to while in NewForm.aspx. The problem being, the TextBox disappears and it only displays the returned text itself. (function () { ...
0
votes
1answer
19 views

Quick View tiles with JS

has someone implemented something like this?: https://github.com/CodyHouse/product-quick-view ? I want to make my own "tiles" in SharePoint and add some style and functions to them. I can see, that ...
3
votes
2answers
68 views

Site Columns JSLink doesn't work in custom XSLTListViewWebPart

I have a site column (Status) that I've added JSLink to, that runs my custom JavaScript. This works fine on lists. The JavaScript changes the text to a colored image. I've then created a Visual Web ...
1
vote
2answers
125 views

JSLink, can it run when a choice dropdown changes?

I have an EditForm that I am using JSLink to run some javascript that gets the Content Type and then sets a field according to the Content Type. This works fine when the form loads, the trouble is ...
1
vote
2answers
108 views

JSLink Client-Side Rendering Not Functioning on Custom List

I tested out the use of JSlink on the homepage with a demo list & it worked fine. I then used the same JSLink on the Demo List itself but images did not render. Any ideas on what I'm missing? ...
1
vote
2answers
55 views

Show content of list field in another field using JSLink

I've a list with fields field1 and field2. In one view I would like to append the value of field2 to field1 and hide field2. Is that possible with JSLink? How can I do that?
0
votes
1answer
42 views

Deploy the same JS Link for multiple views across libraries

I need to use the js for all views in all libraries in a site. Is there a way to deploy this in one hit rather than editing each view individually?
0
votes
0answers
9 views

field “JS link” had disappeared in web-part properties [duplicate]

I do not see "JS link" field in web-part properties for simple List. I am on SP online. I tried IE and other browsers. What's the problem?
2
votes
1answer
324 views

JSLink - Is CSR PostRender supposed to fire once per field?

I have been working on a CSR script for the New / Edit / Display forms of a list. I am attempting to use OnPostRender to perform an action after all fields on the form have been rendered (hide a ...
0
votes
0answers
51 views

JS Link on External list views (BCS)

How can I apply SharePoint Client Side rendering (JSLink) on an external List?
0
votes
0answers
39 views

Modify field description with jslink in new form

I have a list with a lot of questions. For each question I have added a code to the descriptionfield, where the first 10 characters is used to define a specific "characteristic". Basically each ...
2
votes
1answer
88 views

JSLink and lookup field problem

I am trying to make a cross site lookup field. So for now I made javaScript file and overrided the JSLink parameter. I want to made it clear for sharepoint and followed clientforms.debug.js ...
1
vote
1answer
72 views

JSLink Not Working For Non Admins

As the title says, my code for the JSLink is not working on my list for non admins. I made sure that the script was published as a major version and it is still not working. My code is: (function ...
0
votes
1answer
278 views

Do not apply CSR Override in QuickEdit Mode

I have been working from a few different examples and nearly have a jslink file working with CSR overrides such that the 'title' value is used in the 'name' field and the title column is hidden. The ...
0
votes
0answers
46 views

SP2013 - Override custom ListViewWebPart View

I'm using SharePoint 2013. I created a custom view with a custom JSLink and named it CustomJSRenderingView . I want to create a ListViewWebPart in a custom page programmatically and point that webpart ...
0
votes
1answer
32 views

Executing JavaScript when item is being saved

I have my custom EditForm created in my SharePoint-hosted app and I need to save some values to the item property bag when the user clicks "Save" button. Is there any way to modify the default saving ...
1
vote
0answers
25 views

'Srch' is undefined Shareponit View

I have a bug in JavaScript, 'Srch' is undefined in file sp.ui.listsearchbox.js, Line: 1, Column: 5673 this bug there is only on view, and I don't have any ideas how fixed this bug. Maybe ...
1
vote
0answers
640 views

Uncaught TypeError: Cannot read property 'toString' of undefined

I have implemented the jQuery UI autocomplete functionality on a input field using JSLink. It works like a charm when I test it using Internet Explorer 9, 10, 11 and Chrome. Some users are however ...
1
vote
1answer
77 views

JSLink in List View when rendered as web part

I have implemented some custom formatting using the SharePoint 2013 JSLink functionality for a custom list, but noticed the formatting is not applied when the list is added to a wiki page as a web ...
0
votes
1answer
102 views

how to change the view of a calendar list view web part using jsLink

I am trying to change the view of a calendar list view web part using jslink but it seems that it does not affect it at all. Anyone knows how to do that? Here is some simple code that I was trying to ...
2
votes
0answers
142 views

JSLink Publishing HTML field is not in ctx.CurrentItem

I have the following JSLink template for rendering items in a custom list containing a number of columns of type 'Publishing HTML'. The template is used on both the default view (AllItems.aspx) and ...
1
vote
2answers
301 views

how to get the url of a list item in jslink?

I am using the jslink code below to display the title of the list in a List View web part as a hyperlink. But the problem is that I don't know how to point to the url of that item? so how can I get ...
3
votes
2answers
175 views

How to add resources when using JSLink

I am using JSLink to change view of a custom list using this code, (function () { var overrideCtx = {}; overrideCtx.Templates = {}; overrideCtx.BaseViewID = 2; ...
0
votes
1answer
45 views

Sharepoint 2013 JSLink

I'm able to make changes(like background color for specific item) in listview webpart using JSLink. My query - When I change the view from 'Current View' to Other 'Custom View' in ListView Webpart. ...
0
votes
1answer
98 views

JSLink: Render after SP-functions were executed

I want to execute a function getdata() which uses SP.ClientContext. This function gives me some data from different lists on a page. I want to use this data to render my page with jslink. My Problem: ...
0
votes
1answer
71 views

JSLink not working on view 'AllItems.aspx'

I'm trying to add a JSLink to the 'AllItems.aspx' view of a standard task list in SharePoint 2013. For this I'm using the following PowerShell snippet. $SPSite = Get-SPSite ...
0
votes
0answers
14 views

Embedding an Excel Services Webpart in a JSLink template

I have a list with formatting being applied via a JSLink file. Is it possible to embed another webpart within the JSLink file? I have a list of projects, each has a corresponding Excel file with a ...
0
votes
1answer
32 views

Can we use jslink for builtin application pages for specific type of lists?

Can we use JSLink for built-in application pages for specific type of Lists? What possible ways we can add CSS and JS to specific out of box List application pages? May can use JSlink?
0
votes
2answers
346 views

Is it possible to refer to a field hidden in current view from JSLink attached to current view?

I have the following JavaScript code attached to List's JSLink property: (function () { var coloringFieldContext = {}; coloringFieldContext.Templates = {}; ...