Viewer Object in web-client with VelocityReport Plugin

I have used the VelocityReport Plugin with Servoy 7.4.

Can we get the viewer object (like pop-up in smart-client) in web-client?

[attachment=0]preview.png[/attachment]

I have tried as follows.

	var template = "quotation.html";
	var previewParams = {
		showToolBar: true,
		useSaveLocalPDF : true,
		usePrint : true,
		useFontZoom : false,
		useTogglePaginated: false,
		showStatus: false,
		openInPaginated : true,
		bounds : [-1, -1, 870, 600],
		verticalScrollbar : plugins.VelocityReport.PREVIEW.VSCROLLBAR_ASNEEDED
	}
	
	plugins.VelocityReport.setDefaultPreviewParameters(previewParams);
	var context = new Object();
	context.title = 'Testing';
	context.body_content = '<h1>TESTING</h1>';

	if(application.getApplicationType() == APPLICATION_TYPES.WEB_CLIENT) {
		plugins.VelocityReport.previewReport(template, context, viewerSaveCallback, 'HTML');
	}
	else {
		plugins.VelocityReport.previewReport(template, context, 'HTML');
	}

And I have tried with changing the webMode.

plugins.VelocityReport.previewReport(template, context, viewerSaveCallback, 'PDF');

Please advice.

Basically no, because it’s a java window.
So Velocity shows the preview as HTML in a browser window instead, or returns a PDF.
Nothing prevents you to put the HTML from a report inside your own window and add buttons yourself though.