Hi GoodData Team, I am wondering if it is possibl...
# gooddata-cloud
v
Hi GoodData Team, I am wondering if it is possible to add headers and footers in exported GoodData PDF reports . I might need to include custom logos in the headers. I came across documentation from an old product guide, but I'm not sure if similar functionality is available in the latest versions of GoodData. Thanks in advance https://help.gooddata.com/doc/growth/en/expand-your-gooddata-platform/gooddata-integr[…]configure-custom-headers-and-footers-for-pdf-report-exports/
m
Hi Vikraman, thanks for sending this in - Unfortunately at this time we do not support the adding of headers and footers in exported GoodData PDF reports at this time. However, this has been requested in the past and therefore I am going to go ahead and mark this feedback with our Product team to highlight this functionality once again to them
p
🎉 New note created.
🎉 New note created.
v
Hi Michael, Thanks for the info and adding this feature would be greatly appreciated.
t
Hi @Vikraman, should you want to add a custom logo to the PDF header, you can mimic it using the rich text widget. Here is a quick example:
v
Thank you, Tomas. We had the same thought, but since we need this for every page and the report may extend to multiple pages, we are unsure if the page breaks will occur correctly.
t
I see, that’s a valid point.
v
Hey @Tomas Muchka I tried something based on your suggestions, but it ends up like this. I want the Sample heading for report to come from the database and I want that to be centre aligned! Is that possible anyway?
t
Hello @Vikraman, you can center a widget on the page. GD uses a 12 columns grid, so you just need to place the widget into the column 6 & 7 to get it centered. See my image below where first 2 columns are taken by the logo, then I put there 3 columns long dummy rich text with invisible char and then I put there the widget which should be centered. There are however two challenges of this solution: 1. It will break on the mobile device, where GD switches to 2 column layout. The first line will contain the logo + invisible text widget, and the second line will contain the previously centered widget. 2. GoodData does not out of the box allow the text to contain a dynamic string value from DB. I used a headline widget in my example, but that can only display static title & numeric value. a. The only widget that can display string values, is a table. The table text is however left-aligned.