Gravatar for jlynch@sonusnet.com

Question by Jim Lynch, Jun 8, 2016 9:27 AM

Can quickview be launched in a new tab/window

Is it possible from a VisualForce page to launch a QuickView in a separate browser tab or window ?

Thanks Jim

1 Reply
Gravatar for olamothe@coveo.com

Answer by olamothe, Jun 8, 2016 10:23 AM

Hum.. there is no OOTB option for this on the quickview component itself but there is an API call on the Search endpoint class to get the quickview URL for a given document :

https://developers.coveo.com/display/JsSearchV1/Coveo.SearchEndpoint+Class#Coveo.SearchEndpointClass-getViewAsHtmlUri

You could craft a link in your underscore template like so :

<a target="_blank" href="<%= Coveo.SearchEndpoint.endpoints['default'].getViewAsHtmlUri(uniqueId)  %>"></a>
Ask a question