Skip to main content
Skip table of contents

Configure print previews in flatplans (censhare Client)

Learn how to configure the preview for flatplans.

Prerequisites

Installation of XSLT-print-preview-catalog.censhare-assets from the Install folder via Asset Import.

Configuration

There is a window definition  print-preview-catalog  and an associated component defined in  modules/clients/client. If there are already customized versions for both definitions, ensure to check this after an update. If no content is displayed, then either one or both window and component- definitions are missing here. Therefore, in case of failure after an update, you have to enter the following. Or you might want to use "Client AppDef customized" to eliminate error sources, such as missing dialogue definitions in the future.


Please check the required entries in the following XML!

javaclient-app-def-windows.xml

XML
<!-- print-preview-catalog-window -->
<window key="print-preview-catalog-window" title="${print-preview}" min-width="100" min-height="100" pref-width="1020" pref-height="750">
	<dcomponents>
		<dcomponent key="print-preview-catalog" title="${print-preview}"/>
	</dcomponents>
	<dlayout version-number="1">
		<dcomponent-ref ref="print-preview-catalog"/>
	</dlayout>
</window>

javaclient-app-def-components.xml

XML
<!-- print-preview-catalog -->
<dcomponent-def key="print-preview-catalog" class="com.censhare.client.uisupport.preview.AssetInfoComponent">
	<config dialog-key="print-preview-catalog"/>
</dcomponent-def>

javaclient-dialogs-asset.xml

XML
<part id="print-preview-catalog" transactional="false" scrollpane="false"> .... 
</part>

Steps

  1. Delete the old version of the Transformation Resource "XSLT: Print preview catalog".
  2. Replace it with the new version from the install folder of your server:
    censhare-Server/install/assets/required/transformation/XSLT-print-preview-catalog.censhare-assets

  3. Import "XSLT-print-preview-catalog.censhare-assets" via server action.
        
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.