[Simple Reports With PDF] How to avoid precedent text to be repeated when instanced before a table records

Forge Component
(10)
Published on 2017-01-05 by Huarlem Lima
10 votes
Published on 2017-01-05 by Huarlem Lima

Hi everyone I'm having some issues with 2 weblocks instanced in the same page of a simple report.

First webblock is an introductive text wich changes dinamically.

Second webblock is a table record which has a lot of records and is expected to be displayed in several pages. 

My issue is that I only want records from table records to be displayed on the next pages. But what happens is that at the begining of each pages first webblock also renders before the continuation of the record list.

Does anyone have a hint of what should I do to avoid this?

Hello Helena,

Do you have a sample that you could provide to show how you have your page setup?  I would be happy to take a look!

Hi Craig,

sorry for the late answer. However I had some issues with my perso area.

Please find attached an oml with an example of what I am talking about

Solution

Hey Helena,

If you wrap your intro web block with a PrintContainer from the component, it will give you the result you want.  For example:


It looks like anything that is not a list or something that would span multiple pages should be wrapped by the PrintContainer.

Hope that helps!

Solution

Hi Craig, It's working :-)!

Thanks