winseb Posted October 5, 2018 Share Posted October 5, 2018 HelloAppologies if my question is basic but I search everywhere and I don't know what I did wrong . I did created new project, in which I added a report book with 3 pages 'as expnained in the tutorial) in addition I added a new report (form a template) following again the tutorial. When I generate my report it remains with the 3 first pages (the one I added is not in.Can you please tell me what I did wrong please . See below the generated xml :(I use TIBCO report deisgner<?xml version="1.0" encoding="UTF-8"?><!-- Created with Jaspersoft Studio version 6.6.0.final using JasperReports Library version 6.6.0 --><jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="REPORTING" pageWidth="595" pageHeight="842" sectionType="Part" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="30" bottomMargin="30" uuid="d2716064-8ae4-40cf-a575-33afba400e3a"> <property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/> <property name="net.sf.jasperreports.print.create.bookmarks" value="true"/> <property name="com.jaspersoft.studio.book.group.cover.header" value="Cover and Table of Contents"/> <property name="com.jaspersoft.studio.book.group.cover.footer" value="Backcover"/> <queryString> <![CDATA[]]> </queryString> <group name="cover"> <groupHeader> <part uuid="7aed05b9-1301-4a53-b47e-34289560bc0c"> <p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd"> <subreportExpression><![CDATA["REPORTING_cover.jasper"]]></subreportExpression> </p:subreportPart> </part> <part evaluationTime="Report" uuid="56ab525c-754f-4f48-a52c-7cc23934be3d"> <property name="net.sf.jasperreports.bookmarks.data.source.parameter" value="REPORT_DATA_SOURCE"/> <p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd"> <subreportExpression><![CDATA["REPORTING_toc.jasper"]]></subreportExpression> </p:subreportPart> </part> </groupHeader> <groupFooter> <part uuid="88decbbe-63ad-45cc-9e03-5dadc50004d5"> <p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd"> <subreportExpression><![CDATA["REPORTING_backcover.jasper"]]></subreportExpression> </p:subreportPart> </part> </groupFooter> </group> <detail> <part uuid="18f903d0-7ede-4b42-ae0b-3dbe9d4f11d9"> <p:subreportPart xmlns:p="http://jasperreports.sourceforge.net/jasperreports/parts" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports/parts http://jasperreports.sourceforge.net/xsd/parts.xsd"> <subreportParameter name="REPORT_CONNECTION"> <subreportParameterExpression><![CDATA[$P{REPORT_CONNECTION}]]></subreportParameterExpression> </subreportParameter> <subreportExpression><![CDATA["Cherry.jasper"]]></subreportExpression> </p:subreportPart> </part> </detail></jasperReport> Link to comment Share on other sites More sharing options...
vasantha.rao Posted October 5, 2018 Share Posted October 5, 2018 The new report book part should use the report connection from the master. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now