Microsoft
70-466 · Question #142
70-466 Question #142: Real Exam Question with Answer & Explanation
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.
Build reports
Question
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 report header. You need to ensure that the header of the report is hidden when a user exports the report to PDF format. What should you do? (More than one answer choice may achieve the goal. Select the BEST answer.)
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.
Explanation
The Globals!RenderFormat.Name global in SSRS identifies the active rendering extension by name, enabling precise conditional visibility that targets only PDF exports.
Common mistakes.
- B. 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.
- C. 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
Topics
#SSRS#report header visibility#PDF export#RenderFormat
Community Discussion
No community discussion yet for this question.