cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Display template using URL

Former Member
0 Kudos
230

Hi,

Can we call a display template using by giving path in WebPages?

Query template i tried and was working. Want to know whether it is possible with Display template also.

Please help.

Thanks in advance

Muzammil P.T

View Entire Topic
Former Member
0 Kudos

I don't understand your question. Can you please rephrase it?

Former Member
0 Kudos

Ok,

We can use Query Templates in Web pages rite, for example , <b>"http://localhost/Lighthammer/Illuminator?QueryTemplate=Samples/QueryTemplate/testQuery&Content-Type=text/xml"</b>If we are giving this URL in WebPage as a source, it will brings the desired output. The same output as what we get while using <b>TEST button in Query Editor</b>. If we need to add some styles into it, we can either use XSL or Display Template into it. Using XSL will looks as follows

<b>"http://localhost/Lighthammer/Illuminator?QueryTemplate=Samples/QueryTemplate/testQuery&Content-Type=text/xml&Param.1=%&StyleSheet=http://Localhost/LH/xsl/MyStyle.xsl"</b>

Instead of XSL, is it possible to use display template ? If yes, How?

I understand that the same thing is possible using Applet tag. But i need to know whether is this possible using URL or not.

Please help me out.

Thanks in advance

Muzammil P.T

Former Member
0 Kudos

Hi Muzammil,

Really you raised a very good question... Instead of display template you can mention some of the things in the .XSL file. If you want to use it as a report kind only. Mainly you can change the colours and font sizes. Its mainly a style sheet kind of thing. Where as the display template is like providing so many other options as well. Whatever the options you have in XSL is a small part of the display template options.

Thanks,

Rajesh.