Questions tagged [jslink]

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

JSLink files have the ability to quickly and easily change how a list views and forms are rendered. More specifically how the fields in that list

47 questions
1
vote
1 answer

Filter data with JSLink Sharepoint

I use JSLink to customize a SharePoint display list. I managed to filter data as you can see in the following link: https://sharepoint.stackexchange.com/questions/91317/filter-out-items-in-list-view-using-jslink When I click on the title of a…
TheLoïc
  • 11
  • 1
  • 3
1
vote
1 answer

SharePoint 2013 list search box and Client Site Rendering (JSLink)

Im trying to implement a FAQ accordion SharePoint list. I managed to get the accordion working while using JSLink. Sadly the search is not working properly. I used the following code in my JSLink js: (function () { /* * Initialize the variable that…
0
votes
0 answers

Using the start and end values of bokeh range_slider as inputs to python code

I would like to use the values of the start and end attributes of the bokeh range slider as inputs to the rest of my python code. I tried using range_slider.value and range_slider.value_throttled, but these return only the initial values and not the…
Pranit
  • 5
  • 3
0
votes
1 answer

I am not able to get any of my JSLink working. What am I doing wrong

We have SharePoint 2013 on Prem and I am trying to do some customizations using JS Link. Even the most simple exercises are not working. I don't understand what I'm doing wrong. New page - List added and jS Link =…
0
votes
1 answer

JSLink to Hyperlink Column in SharePoint List

I have an external list in SharePoint that includes a URL column. The URL column is a calculated field in SQL server, so the entire URL is already there. I need this field to hyperlink and I have been trying to use JSLink to do so. What would the…
Jozy
  • 3
  • 3
0
votes
1 answer

GenerateIIDForListItem returing null

I am new to CSR trying to code entire Sharepoint List row based on the status, but the code is returning null as shown below: for (var i=0;i
Moranis
  • 17
  • 8
0
votes
1 answer

Sharepoint 2013, JS link people picker field not working saving for multiple users

I am using below CSR code to set peoplepicker value to multiple person. I have multiple users to be assigned to my peoplepicker field. The code works when i pass current user, but it do not work for other values. function renderAssignedTo(ctx) { …
Surendra Mourya
  • 593
  • 3
  • 8
  • 29
0
votes
1 answer

Use client side rendering(js link) for dynamically created Sharepoint document library

I want to use client side rendering(js link) for document library, the challenge for me is Sharepoint document library will be created dynamically when the remote event receiver triggers. I know we need to pass js link reference in elements.xml…
Surendra Mourya
  • 593
  • 3
  • 8
  • 29
0
votes
0 answers

JS Conditional Formatting with Date Field using SharePoint

I am new to JS so please be patient with me. I am making a JSLink file to add conditional formatting to my SharePoint page. I have a date field in my SharePoint page (viewed in Chrome Debugger mode): "Calibration_x0020_Due2":…
Shinobii
  • 2,401
  • 5
  • 24
  • 39
0
votes
1 answer

SharePoint 2013 JSLink OnPostRender not working after adding SP.SOD.executeFunc

I use JSLink to color rows in a SharePoint 2013 list ExecuteOrDelayUntilBodyLoaded(function () { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', function () { RegisterModuleInit(_spPageContextInfo.siteServerRelativeUrl +…
Revolt
  • 89
  • 1
  • 9
0
votes
0 answers

Sharepoint Online List Classic UI - Format Column/Row to be Red on certain Condition

I do not know JSLink, so I am struggling to figure this out. I have a drop down menu column and if the user selects one of the drop down menus (Lets say its called "Peer Review - Rushed") I would like the cell to show red, or even the whole row if…
Klj126
  • 1
0
votes
1 answer

SharePoint: get list Title or URL (JSLink)

I have a JSLink function overriding the default footer of a list view webpart. How can I retrieve this list's title (or URL) so that it can be added to the footer? (function () { var overrideContext = {}; overrideContext.Templates =…
clnns45
  • 39
  • 7
0
votes
3 answers

Custom SharePoint List forms in SharePoint Framework

We are migrating old SharePoint 2010 On Premise code to SharePoint Online. Part of the SharePoint 2010 on premise code has custom list forms developed with visual Studio. Thought of using JSLink for custom forms while migrating the code to…
0
votes
1 answer

How to customize SharePoint Online columns/field for the modern experience document libraries?

In SharePoint 2013, and SharePoint Online classic experience, you were able to modify the way you view fields/columns in the list view, item view, new view and edit view by using JS link. A client of ours needs to advanced search functionality to…
Appelman
  • 145
  • 1
  • 3
  • 15
0
votes
1 answer

SharePoint Accordion not loading properly

I am working on a SharePoint page, utilizing the jslink for the list web part. I have the following code written out: (function () { var overrideCurrentContext = {}; overrideCurrentContext.Templates = {}; …
BeMuRR187
  • 77
  • 1
  • 12