vendredi 9 janvier 2015

Can you expose configurable parameters from a display template in the web part editor part?



I am working on customizing display templates for the Content Search web part. I have a custom item template, and a custom control template. I'm going to be setting up several similar web parts, and in each of them the query is going to be changed to point only at a single list.


What I want to do is put a "View all" link at the bottom of the control template that goes to the list that the search web part is displaying items from.


Is there a way to do some markup in the control template that would expose a text box in the web part editor part so I can configure the URL that the "View all" link should point to?








0 commentaires:

Enregistrer un commentaire