Paginated Report Sharing the dataSources with the Drawing Control

Technologies / User Interface Add-Ins / Drawing Views / Floor Plans with PDF Reports

You can define drawing control highlight and label dataSources in a separate axvw. Paginated report can share the same dataSources with the drawing control, which reduces duplicated dataSources.

shared_datasource_drawing_pag_report.png

For example, you define many dataSources in ab-ex-drawing-rpt-pdf-datasources.axvw and you include those dataSources into your drawing axvw. You can pass your required dataSources for your paginated report in javascript as following:

//dataSources defined in a separate axvw which is shared with drawing control axvw pdfParameters.dataSources = {viewName:'ab-ex-drawing-rpt-pdf-datasources.axvw', required: 'rmTypeHighlightDS;eqStandardHighlightDS;rmDetailLabelDS;eqNameLabelDS' };

Example: http://localhost:8080/archibus/schema/ab-products/solutions/drawing/ab-ex-drawing-rpt-pdf.axvw