1

Is there any way we can change the property "data-displaytemplate" in search display template based up on condition of the current item .

For example when i Hover an item in search i want to display video thumbnail if it is of type Video and similarly Image if it is of type Image.so in my custom display template i have to use bothe Image and Video types .. Any help is much Appreciated

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.