Hi mlebihan I haven't tried this myself, but I expect it to work:
In the Edit Layer page, select the Tile Caching tab. Towards the bottom, under Add filter, select VIEWPARAMS and a type. ref: https://docs.geoserver.org/latest/en/user/geowebcache/webadmin/layers.html#adding-a-filter Let us know if this works. Peter On Wed, 12 Dec 2018 at 15:51, mlebihan <[email protected]> wrote: > Hello, > > /Geoserver/ offers to use parametrized SQL views > <https://docs.geoserver.org/stable/en/user/data/database/sqlview.html> > for > WMS requests, and this is very convenient. On our web side, for the WMS > request, the parameters are put in a /viewparams /field and then on > /Geoserver/ side they are received and used by the SQL request. > > However, we discovered that Tiled WMS (WMTS) doesn't have that /viewparams > /field WMS has. > How can we send our parameters to the /Geoserver/ SQLViews when using a > WMTS > request ? > > Regards, > > > > -- > Sent from: > http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html > > > _______________________________________________ > Geoserver-users mailing list > > Please make sure you read the following two resources before posting to > this list: > - Earning your support instead of buying it, but Ian Turton: > http://www.ianturton.com/talks/foss4g.html#/ > - The GeoServer user list posting guidelines: > http://geoserver.org/comm/userlist-guidelines.html > > If you want to request a feature or an improvement, also see this: > https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer > > > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users >
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
