Putting saved searches in a drop-down
I've been trying to devise a way to put the list of saved searches into a dropdown. I've figured out how to use <dax:search> to iterate over them and <dax:searchname/> to get their names, but what I can't figure out is how to get the links. When I try to pass </dax:searchlink> or <dax:searchlink><dax:searchlink/> to a bit of Javascript, I get errors. (I was figuring on building an options list for the dropdown.)
Can this be done? If so, how? Thanks.
Re: Putting saved searches in a drop-down
Probably not the most straightforward way, but it works. Place this code snippet where you want a dropdown:
[code]<!-- hidden div with generated search links -->
<div id="hidden_links" style="display: none">
<dax:search>
Re: Putting saved searches in a drop-down
Thanks! This worked great! Now I don't have to worry that a large number of searches will crowd the template.
Re: Putting saved searches in a drop-down
Hi Andei,
[quote=Firetongue]Probably not the most straightforward way, but it works. Place this code snippet where you want a dropdown:
[code]<!-- hidden div with generated search links -->
<div id="hidden_links" style="display: none">
<dax:search>
Re: Putting saved searches in a drop-down
[quote=BLOWERS]My only problem is that I don
Re: Putting saved searches in a drop-down
Fantastic, Balok - works a treat! Thanks very much for your help.