Hi all, I'm using NPrinting to generate some reports. I have a tab I created that I want to use for the report. (Use the sheet object as an image.) I can do this, but I'd like to hide the report tab from regular users. Is there a way to access hidden tabs in NPrinting?
I used a variable to conditionally hide the tabs, so I thought I could use a filter to change the variable and unhide the tabs while NPrinting was generating the report. I was able to create the filter, but it doesn't appear to unhide the tabs and make them available. (The report generates without error, but it's empty.)
I use hidden tabs all of the time when I have objects that I need just for reporting and do not want users to see. The trick is to palce the objects on the tab you want to hide, build your NPrinting report accessing those objects and then hide the tab. If the tab is hidden at the time you are building your tempalte, you will not see the objects, but once the template has the object, the tab can be hidden and the report will work
Thanks for the replies! It's funny, I tried Adams idea yesterday because I assume that would work. Even if the objects were hidden they would be in the doc and accessible. The task completed without error but the PDF was blank. I tried again today and now it appears to be working. Not sure what to make of that, I guess I had something misconfigured.
Much like Adam, as long as I've unhidden the tab on creation of the objects, it doesn't seem to matter if it's hidden when generating the reports, however I've only used this for HTML and Excel reports, so maybe it's a particular issue with PDF generation?
I've always found it weird that you need to unhide on first access but it doesn't thereafter.
NPrinting builds a permanent 'bridge', if you will, to any visible QV object when accessed and then added as an object to any of the NP template editors.
Once this 'bridge' or link has been made, then NPrinting can continue to use it. When this bridge/link is created, NP can continue to use the object even if it is subsequently hidden. But it must be 'seen' / 'visible' first before the bridge/link can be made.
This community user does not receive direct private messages