Tuesday, 6 May 2014

ctx['DisplayTemplateData'] = new Object();

ctx['DisplayTemplateData'] = new Object();

for (var objItem in ctx.CurrentItem)
{
console.log(objItem + " Value is :" + $getItemValue(ctx, objItem));
}
using above code you can read all Property values in ctx object.