70-466 · Question #142
You are developing a SQL Server Reporting Services (SSRS) sales summary report. The report header consists of several images. Report users require PDF exports of the report with no bulky images of the
The correct answer is A. Set the Hidden property of the report header to (Globals!RenderFormat.Name = "PDF").. The Globals!RenderFormat.Name global in SSRS identifies the active rendering extension by name, enabling precise conditional visibility that targets only PDF exports.
Question
Exhibit
Options
- ASet the Hidden property of the report header to (Globals!RenderFormat.Name = "PDF").
- BSet the Hidden property of the report header to (Globals!RenderFormat.IsInteractive = False).
- CSet the Hidden property of the report header to FALSE.
How the community answered
(49 responses)- A73% (36)
- B16% (8)
- C10% (5)
Why each option
The Globals!RenderFormat.Name global in SSRS identifies the active rendering extension by name, enabling precise conditional visibility that targets only PDF exports.
Setting the Hidden property to the expression (Globals!RenderFormat.Name = "PDF") evaluates to True only when the report is rendered by the PDF rendering extension, hiding the header exclusively during PDF export. This leaves the header visible in all other formats such as HTML and Excel, satisfying the requirement without unintended side effects.
Globals!RenderFormat.IsInteractive = False evaluates to True for all non-interactive renderers including Excel, Word, and Image formats, hiding the header in more export formats than just PDF.
Setting Hidden to FALSE unconditionally keeps the header visible in all rendering formats, including PDF, which directly contradicts the requirement to hide it during PDF export.
Concept tested: SSRS RenderFormat global for format-conditional visibility
Source: https://learn.microsoft.com/en-us/sql/reporting-services/report-design/built-in-collections-built-in-globals-and-users-references-report-builder
Topics
Community Discussion
No community discussion yet for this question.
