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

Display more 2 column values in CSWP using Item Dispaly templates

$
0
0

Hi team,

How can i display more than one column value using CSWP.

I am implementing display templates concept.

Here is my code in itemTemplate.html

var line1 = $getItemValue(ctx, "Title");
var line2 = $getItemValue(ctx, "Modified");

var line3 = $getItemValue(ctx, "Description");

line1.overrideValueRenderer($contentLineText);
line2.overrideValueRenderer($contentLineText);

line3.overrideValueRenderer($contentLineText);

am getting the output for  title and description.

How can i get Modified date value.


How to fix


Regards,

Dhayanand



Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>