C1000-065 · Question #31
What property needs to be set to ensure that any JavaScript and Prompt APIs are executed when a report is run as HTML?
The correct answer is D. Guided report layout is checked. Option D is correct because in IBM Cognos, enabling Guided report layout activates the interactive HTML rendering mode that allows JavaScript and Prompt APIs to execute at runtime. Without this property checked, the report output won't process client-side scripting or…
Question
What property needs to be set to ensure that any JavaScript and Prompt APIs are executed when a report is run as HTML?
Options
- AEnsure Enable bidirectional support is checked
- BRun with full interactivity is set to No
- CEnable drill up and drill down in the report output
- DGuided report layout is checked
How the community answered
(33 responses)- A3% (1)
- B15% (5)
- C9% (3)
- D73% (24)
Explanation
Option D is correct because in IBM Cognos, enabling Guided report layout activates the interactive HTML rendering mode that allows JavaScript and Prompt APIs to execute at runtime. Without this property checked, the report output won't process client-side scripting or prompt-driven interactivity.
Why the distractors are wrong:
- A (Bidirectional support): This controls right-to-left text rendering for languages like Arabic or Hebrew - it has no bearing on JavaScript or API execution.
- B (Run with full interactivity = No): This is the opposite of what you want; setting it to No suppresses interactive features. Full interactivity set to Yes enables richer behavior, but it's not the specific trigger for JS/Prompt API execution in HTML output.
- C (Drill up/drill down): This enables dimensional navigation within report data - a separate feature unrelated to scripting or prompt APIs.
Memory tip: Think of "Guided" as the guide that leads JavaScript to run - it's the layout mode that guides the HTML report through its full interactive lifecycle, including executing any embedded scripts and prompts. If you need JS to fire, the report needs a guide.
Topics
Community Discussion
No community discussion yet for this question.