Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

JSLink for status indicators or other alternatives?

$
0
0

Hi all,

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 seems the field must be in the view for the Javascript to call the value. I want the indicators to work regardless of which fields are in the view. Does anyone have any suggestions as to how I could achieve this? In SP2010 I could use conditional formatting to achieve this but SP2013 has removed this and I am not a big fan of writing a custom xsl template, unless that's my only option.

I have considered creating a calculated column as well which holds the values of all the fields I want indicators for separated by a special character and having the JSLink render the item based on this value, and then hiding that column, but this does not seem like a good solution.

All suggestions very greatly appreciated.

Regards,

Tal


Viewing all articles
Browse latest Browse all 11571

Trending Articles