Building Screens with Data Flashcards
What are the two main ways to fetch data to display on a screen in OutSystems?
A) SQL Queries and REST APIs
B) Screen Aggregates and Data Actions
C) Data Widgets and Screen Expressions
D) Input Fields and Forms
B
Which of the following sources is not mentioned as a potential data source for screens?
A) Database
B) External Systems
C) Local Storage
D) REST Web Services
C
What is the primary purpose of Screen Aggregates in OutSystems?
A) To display data on the screen
B) To define server-side logic
C) To fetch data directly from the database
D) To create widgets on the screen
C
How are Screen Aggregates defined?
A) By writing custom SQL code
B) By using REST web services
C) Visually, like any other Aggregate
D) By coding in JavaScript
C
Where are Screen Aggregates available for use?
A) Anywhere in the application
B) Within the scope of the Screen only
C) Only in custom server-side logic
D) Only in external web services
B
What type of data retrieval scenario would best use Data Actions?
A) Simple database queries
B) Displaying hardcoded data
C) Advanced scenarios, such as external REST web services or advanced SQL queries
D) Creating forms for user input
C
When are Screen Aggregates and Data Actions triggered by default?
A) When the screen is initialized
B) When the user clicks a button
C) Only after custom logic is executed
D) When the application is deployed
A
How do Aggregates and Data Actions execute when there is more than one on a screen?
A) They execute one after the other, in sequence
B) They run synchronously
C) They run in parallel, asynchronously
D) They do not execute at the same time
C
What happens to the screen when data from an Aggregate or Data Action becomes available?
A) The screen reloads completely
B) The screen automatically renders and displays the data
C) The data is ignored
D) The screen prompts the user to refresh
B
Which of the following widgets is used to display sets of data, such as a list of employees?
A) Form Widget
B) List Widget
C) Input Widget
D) Button Widget
B
What property of a widget is used to bind it to the data fetched by an Aggregate or Data Action?
A) Value Property
B) Source Property
C) On Click Property
D) Fetch Property
B
In the context of a List Widget, what data type does the Source property expect?
A) A single data record
B) A List with the data to be displayed
C) A boolean value
D) A string value
B
Which widget would be used to display a specific attribute, such as the name of an employee?
A) Button
B) Form
C) Expression
D) Input
C
When using an Expression Widget to display a specific attribute, which property is used to define the attribute to display?
A) Source Property
B) Value Property
C) Input Type Property
D) Format Property
B
What is the key difference between Screen Aggregates and Data Actions?
A) Data Actions fetch data from internal sources only
B) Screen Aggregates fetch data only from external sources
C) Data Actions allow advanced server-side logic and external data sources, while Screen Aggregates fetch data directly from the database
D) Screen Aggregates are more customizable than Data Actions
C