08-28-2019 06:29 AM - last edited on 08-11-2023 10:51 AM by JackLacava
I have created a PDF book that loops over a large group of entities and has a page based on a cube view for each entity. Around 10%-15% of the pages are blank.
Is there an easy way to have the book skip pages for entities with no data?
08-29-2019 11:34 AM
Mark,
Currently this would require a rule to be able to check if a report is going to have any intersections inside of it and if it did not return a value for an intersection that you define, you could skip it.
There is an enhancement request in place for this functionality with development.
Once the rule is imported you would call it in the book like this:
If BRString(GetCellValue, GetCellValue, accountMember = YourAccountName, entityMember = YourEntityName) = “TRUE”
The highlighted section is where you define the name value pairs. These could be parameters, sub vars, loop variables or hardcoded values.
I have attached a rule example for you. You would need to rename it to .xml and then import it into your application.
?
09-09-2019 09:13 AM
Thanks for the reply. Sounds easy enough, did you forget to attach the file?
09-10-2019 06:42 AM
Mark,
Looks like the community will not let me attach the XML File, even if I rename it to .txt, I will have to e-mail it to you.
Jeff
07-08-2022 02:54 PM
Hi Jeff,
I realize this is an older post but can the solution for this be e-mailed to me: joseph.pierluissi@sonesta.com
09-30-2020 07:56 AM
Hi,
Can I please also see this example rule?
Thank you
11-17-2020 02:54 AM
Hi,
Thank you.
12-01-2020 09:18 AM
Hi all.
my email: marcos.concari@nova-praxis.com
Thanks in advance.
03-03-2021 05:49 AM
Hi Jeff
Will this also work for Excel based books? If so may i get a copy of the BR and few more instructions on where to call this BR.
Thanks
03-04-2021 09:43 AM
Hey Jeff
Can you send me the code you tried to attach to this ticket? Also, where do I call it in the book builder?
Thanks
Cam