ASSOCIATE-REACTIVE-DEVELOPER practice question 9 of 35

Screen and Web Block has no output parameter ?

Full set: 262 questions
Answer options
A: True
B: False
Correct Answer:
T; R; U; E
Explanation

The statement is correct. In the OutSystems platform, neither Screens nor Web Blocks possess a dedicated "Output Parameter" property. Screens are the primary user interface containers and are not designed to return values like a function. They receive data through Input Parameters. Web Blocks are reusable UI components. To communicate data back to their parent element (a Screen or another Web Block), they use Events. These Events can be defined with their own parameters, which effectively serve to output data. However, this mechanism is distinct from the formal "Output Parameters" property that exists for logic elements like Server Actions and Client Actions. Therefore, a Web Block itself does not have an "Output Parameter" property in its structure.

Why Incorrect

The alternative, "False," is incorrect because a direct inspection of the properties of a Screen or a Web Block in the OutSystems Service Studio development environment confirms the absence of an "Output Parameters" folder or property. While a Web Block can output data, it does so via Event Parameters, not through a feature named "Output Parameter." The question is precise about the existence of this specific feature.

References

1. OutSystems Official Documentation - Screens: The documentation detailing the properties of a Screen lists Input Parameters, Local Variables, and various event handlers (OnInitialize, OnReady, etc.), but makes no mention of Output Parameters.

Source: OutSystems Documentation, "Screens for Reactive Web and Mobile Apps".

Section: "Screen properties and scope". This section details the available properties for a Screen, none of which are Output Parameters.

2. OutSystems Official Documentation - Web Blocks: The documentation on creating and using Blocks details their structure, which includes Placeholders, Input Parameters, and Events. It does not include Output Parameters.

Source: OutSystems Documentation, "Reuse UI with Blocks".

Section: "What is a Block?". The diagram and description of a Block's elements show Input Parameters for passing data in, but not Output Parameters for passing data out.

3. OutSystems Official Documentation - Events in Blocks: This document explicitly describes the correct mechanism for a Block to send data to its parent. It confirms that this is achieved by defining an Event within the Block and adding parameters to that Event.

Source: OutSystems Documentation, "Create and Use an Event in a Block".

Section: "Pass data from a Block". The guide states: "To pass data from a Block to the parent, add input parameters to the Event." This clarifies that the data is passed via event parameters, not a direct output parameter of the Block itself.

Scroll to Top