"Link" feature

42 views
Skip to first unread message

Yan

unread,
Aug 3, 2010, 1:42:33 AM8/3/10
to SIMILE Widgets
Is there a way to encode the facet control settings into the URL so
that I can send the link to someone and have them look at the same
data I am looking at?

Yan

Speedy

unread,
Aug 3, 2010, 5:48:53 PM8/3/10
to SIMILE Widgets
Yan,

Use ex:queryParamName in your facet code.
For example :
<div ex:role="facet" ex:facetClass="TextSearch"
ex:queryParamName="srch"></div>
Then in your URL: www.whateveryourdomainis.com/simexh.html?srch=yourkeyword

Marco

Yan

unread,
Aug 4, 2010, 5:49:42 PM8/4/10
to SIMILE Widgets
It looks like this is only available for the TextSearch facet? What
about the Slider facet?

Yan

Speedy

unread,
Aug 5, 2010, 6:35:47 PM8/5/10
to SIMILE Widgets
Not sure. Try it on other facets and find out.
> > > Yan- Hide quoted text -
>
> - Show quoted text -

joncamfield

unread,
Mar 12, 2013, 4:43:21 PM3/12/13
to simile-...@googlegroups.com
This is great, but it does only seem to trigger on free-text facets (which makes sense from a sanity standpoint).  Has anyone had any luck implementing something similar that works against any facet, and has a decent failure state (show all or show none?) if the search fails?

Jon
Reply all
Reply to author
Forward
0 new messages