Select to view content in your preferred language

Pass Search Parameters through URL for WAB widgets

698
1
01-25-2017 08:20 AM
Status: Open
mpboyle
Frequent Contributor

I think it would be nice / advantageous to have the ability to pass in a search parameter to the URL for certain WAB widgets.  This would allow users to create hyperlinks that would automatically trigger the widget and perform the search, rather than relying on the end users to open the widget and enter the search parameters.

1 Comment
GreggRoemhildt1

This functionality would be widget specific, meaning each widget would need to implement this. It would be more beneficial to the community if you described exactly what searches you would like to perform and any other potential widgets that might benefit from using query string parameters. 

The cmv search widget supports this already, so perhaps that code could be implemented into a custom wab widget also. cmv-widgets/README.md at master · tmcgee/cmv-widgets · GitHub