Skip to content
lowcoder.net
All decks
OutSystemsBeginner· 91 cards

OutSystems Associate Developer (O11): exam prep

Exam prep: Associate Developer (O11)

91 cards covering every section of the O11 Associate Developer exam (Reactive Web): reactive app basics, data modeling, fetching data, logic, UI and architecture & security. Topics follow the exam's own section names.

Take a practice exam
0 of 91 cards known0%

Unofficial study aid from Lowcoder.net, not affiliated with or endorsed by OutSystems. Written from the public exam outline and OutSystems 11 documentation, not from exam questions. The exam: 50 multiple-choice questions, 120 minutes, 70% (35 correct) to pass. Always check the official OutSystems training for the latest details.

All 91 cards as a list

Reactive apps

What kind of apps does the O11 Associate Developer exam focus on?
Reactive Web Apps (and the same concepts in Mobile Apps) built in OutSystems 11. Traditional Web apps are not the focus.
In a Reactive Web App, where does the UI run?
In the browser, as a single-page application. Navigating between screens doesn't reload the whole page; data is fetched from the server asynchronously.
What is a Client Variable?
A variable that keeps its value on the client (the browser's storage) across screens of the app for that user and device. Use it for small, non-sensitive values such as a selected filter or a wizard step.
Which data types can a Client Variable have?
Only basic data types (Text, Integer, Boolean, Date, etc.). Not lists, records or structures.
Why should you never store sensitive data in a Client Variable?
It lives on the user's device in the browser's storage, unencrypted, and the user can read or change it. Keep sensitive data and anything you rely on for security on the server.
Site Property vs Client Variable: what's the difference?
A Site Property is a server-side setting with one value shared by all users (changeable in Service Center without republishing). A Client Variable is per user and device, stored in the browser.
Name the screen lifecycle events in a Reactive app.
On Initialize, On Ready, On Render, On After Fetch (per aggregate or data action) and On Destroy. Blocks also have On Parameters Changed.
When does On Initialize run, and what is it for?
Before the screen is rendered, so the DOM doesn't exist yet. Use it to set default values of variables. Keep it fast: the screen waits for it.
When does On Ready run?
Once, right after the screen's DOM is ready (first render). It's the place for logic that needs the DOM, e.g. initialising a JavaScript component.
When does On Render run?
After On Ready, and again every time the screen's data changes (variables, input parameters, aggregate or data action results).
What must you avoid in an On Render handler?
Changing screen or block data. That triggers another render and can create an endless loop. Service Studio warns about this.
When does On After Fetch run, and what must you avoid in it?
Each time an aggregate or data action finishes fetching data (followed by a render). Don't refresh that same data inside it: that can cause an endless loop.
When does On Destroy run?
Just before the screen or block is removed from the DOM, e.g. when the user navigates away. Use it to clean up, such as removing event listeners.
When navigating to a screen, in what order do the events typically happen?
New screen: Initialize → Ready → Render. Then the old screen's Destroy. When its aggregates and data actions return: After Fetch → Render.
A screen contains a block. In which order do their Initialize, Ready and Render events run?
Screen Initialize → Block Initialize → Block Ready → Block Render → Screen Ready → Screen Render. Each waits for the previous one to finish.
How do you debug a Reactive app?
In Service Studio: set breakpoints on client and server logic, start the debugger and use the app. Execution stops at breakpoints so you can step through and inspect variables in the debugger panels.
Where do you find errors and logs of a running O11 app?
In Service Center, under Monitoring: Errors, General (including your LogMessage entries), Integrations, Screen requests and more.
What does the LogMessage action do?
Writes a custom message to the General log in Service Center, useful for tracing what happened in production.

Data modeling

What is an Entity?
A database table in OutSystems. It has attributes (columns) and is stored on the server.
What attribute does every new Entity get automatically?
Id, its identifier: by default a Long Integer that is auto-numbered.
Which Entity Actions does OutSystems create for an Entity?
Create, CreateOrUpdate, Update, Get, GetForUpdate and Delete. They are server actions.
What's the difference between Get and GetForUpdate?
Both fetch one record by Id. GetForUpdate also locks the record until the end of the transaction, so nobody else changes it while you update it.
What is a Static Entity?
An Entity whose records are defined at design time in Service Studio, like an enumeration (e.g. order statuses). Users can't add records at runtime.
Which attributes does a new Static Entity have by default?
Id, Label, Order and Is_Active.
Which entity action is available for a Static Entity?
Only Get<StaticEntity>. You can't create, update or delete its records at runtime.
How do you reference a Static Entity record in logic?
Directly by name, e.g. Entities.OrderStatus.Shipped. No query needed.
What is the default length of a Text attribute?
50 characters.
How do you model a one-to-many relationship?
Add a reference attribute on the 'many' side whose type is the 'one' Entity's Identifier, e.g. Order.CustomerId of type Customer Identifier.
How do you model a many-to-many relationship?
With a junction Entity that holds two reference attributes, one to each Entity (e.g. StudentCourse with StudentId and CourseId), usually with a unique index on both.
How do you model a one-to-one relationship (extending an Entity)?
Make the Id of the extension Entity of type 'Identifier of the main Entity', so both share the same identifier.
What do the Delete Rules Protect, Delete and Ignore do?
Protect (default): you can't delete a record that is still referenced. Delete: deleting it also deletes the records that reference it (cascade). Ignore: deletion is allowed and the references are left dangling.
You add an attribute named CustomerId to Order. What type does Service Studio suggest?
Customer Identifier. Service Studio infers the reference type from the 'Id' naming convention.
When should you add an index to an Entity?
On attributes you often filter or sort on, or to enforce uniqueness (a unique index). Indexes speed up reads but slow down writes slightly.

Fetching data

What is an Aggregate?
A visual query on one or more Entities, with sources, joins, filters, sorting and grouping, without writing SQL.
What SQL joins do the Aggregate join types correspond to?
Only With = inner join. With or Without = left (outer) join. With = full outer join.
When does an Aggregate join default to 'Only With' rather than 'With or Without'?
When the reference attribute linking the Entities is mandatory. An optional reference defaults to 'With or Without'.
An Aggregate has several filters. How are they combined?
With AND: a record must match every filter. Write an OR inside a single filter condition when you need it.
What do an Aggregate's List and Count outputs contain?
List: the records fetched (limited by Max Records). Count: the total number of records that match, regardless of Max Records, which is useful for pagination.
What does Max Records do?
Limits how many records the Aggregate fetches. Use it on screens to avoid fetching more data than you show.
What happens to the output when you Group By in an Aggregate?
The output only contains the grouped attributes and the aggregated values you add (Count, Sum, Average, Max, Min). Other attributes are no longer available.
What is a calculated attribute in an Aggregate?
A new column computed from an expression on other attributes, e.g. a full name from first and last name.
Where can you use Aggregates in a Reactive app?
On a screen or block (fetched from the server), in Server Actions and in Data Actions. Not in Client Actions, which run in the browser and can't query the server database directly.
How does a screen Aggregate fetch its data?
Asynchronously from the server. The screen renders straight away and shows the data when it arrives, then On After Fetch runs.
What do the Fetch options 'At start' and 'Only on demand' mean?
At start: fetched automatically when the screen opens. Only on demand: fetched only when logic runs Refresh Data on it.
How do you re-fetch a screen Aggregate after data changed?
Use the Refresh Data element in a client action and choose the Aggregate (or Data Action).
Which runtime property tells you a screen Aggregate has returned its data?
IsDataFetched. Use it, for example, to show a loading state until it's True.
What is a Data Action and when do you use it?
Server-side logic that fetches data for a screen or block and returns it through output parameters. Use it when an Aggregate isn't enough: calling a REST API, combining sources, complex calculations or advanced SQL.
Do screen Aggregates and Data Actions run one after another?
No. Those set to fetch at start run in parallel, asynchronously. Don't assume an order between them.
Which attributes does a screen Aggregate actually fetch?
Only those used on the screen. OutSystems optimises the query automatically, so unused columns aren't sent to the browser.
When do you need an SQL element instead of an Aggregate?
For queries Aggregates can't express, such as complex subqueries or bulk updates. SQL elements run on the server, in Server Actions or Data Actions.

Logic

Client Action vs Server Action: where does each run?
Client Actions run in the browser or device. Server Actions run on the server and can access the database.
Can a Client Action call a Server Action? And the other way round?
A Client Action can call a Server Action (one round trip to the server). A Server Action can't call a Client Action.
What kind of action is a Screen Action in a Reactive app?
A Client Action that belongs to the screen, e.g. run when a button is clicked.
What does setting an action's Function property to Yes do?
Lets you use the action inside expressions. It must have exactly one output parameter.
How does the Switch element choose a branch?
It evaluates its conditions in order and follows only the first one that is True. If none is True it follows Otherwise.
What does the For Each element do?
Iterates over a list. Inside the cycle you access the current element through List.Current. The cycle connector returns to For Each; the other connector continues when the list is done.
What is an Exception Handler?
A flow in an action that runs when a matching exception occurs in that action, e.g. Database Exception, Security Exception, User Exception or All Exceptions.
What happens to an exception that no handler in the action catches?
It goes up to the action that called it, and so on. If nothing catches it, the global exception handler of the UI Flow (On Exception) handles it.
What does the Abort Transaction property of an exception handler do?
When Yes, all database changes made in the current server request are rolled back before the handler runs.
How do you raise your own error in logic?
Create a User Exception and use the Raise Exception element with a message. Catch it with a handler for that exception.
Which exception occurs when a client can't reach the server, e.g. no connection?
Communication Exception.
What does the Message element do in a Reactive app?
Shows a feedback message to the user, with a type: Info, Success, Warning or Error.
What are Form built-in validations?
Automatic client-side checks of the inputs in a Form: mandatory fields filled and values matching their data type. They run when the button's Built-in Validations property is set.
How do you add a custom validation to an input?
In the screen action, set Input.Valid = False and Input.ValidationMessage = '…'. Then check Form.Valid before saving.
When is Form.Valid False?
When at least one input inside the Form is not valid, from built-in or custom validations.
Why validate data on the server too, not only on the client?
Client-side checks can be bypassed by anyone with the browser's developer tools. Server-side validation protects your data.

UI design

What is the difference between an Input widget and an Expression widget?
An Input lets the user change a value and must be bound to a variable. An Expression only displays a value (read-only).
What do the List and Table widgets have in common?
Both show a list of records from a Source, such as an Aggregate's List. A List repeats a free layout per record; a Table shows records in rows and columns.
What does the If widget do?
Shows one of two branches (True or False) depending on a condition. The branch that isn't shown isn't rendered.
What is the Form widget for?
Grouping inputs that are validated together, e.g. a detail screen to create or edit a record. It exposes the Valid property.
What can a Button or Link do On Click?
Run a screen action, or navigate to a screen or URL.
How do you show and hide a Popup widget?
Its Show Popup property is bound to a Boolean variable. Set it to True to show the popup and False to hide it.
How do you pass data to a screen when navigating to it?
Through the target screen's input parameters, filled in where you navigate (a Link, Button or Destination).
What is a Block?
A reusable piece of UI with its own variables, input parameters, logic, aggregates and lifecycle events. You place it on screens or in other blocks.
How does a parent screen give data to a Block?
Through the block's input parameters. A Block can't read the parent's variables directly.
How does a Block tell its parent that something happened?
By triggering an Event of the block (Trigger Event element). The parent handles that event with one of its own actions, and can receive data through the event's input parameters.
When does a Block's On Parameters Changed event run?
When the parent changes the value of one of the block's input parameters. Use it to react, e.g. to refresh the block's data.
What happens if a Block has a mandatory Event?
Every screen or block that uses it must handle that event. Otherwise Service Studio shows an error.
Text widget vs Expression widget?
A Text widget shows fixed text that you type in Service Studio. An Expression shows a value calculated at runtime, e.g. a variable or Customer.Name.
Which sources can an Image widget use?
Static (an image in the module's resources), External URL, or Binary Data (e.g. an image stored in an entity attribute).
How do you set up a Dropdown widget?
Bind it to a Variable that receives the selected value, and give it a source list with Options Text (what users see) and Options Value (what is stored), for example from an Aggregate or a Static Entity.
What type of variable do Checkbox and Switch widgets need?
A Boolean variable. Checked or on = True, unchecked or off = False.
What are a screen's Layout and placeholders?
Screens use a Layout block (e.g. a top-menu layout) that defines the page structure. You put your content into its placeholders, such as Title, Actions and MainContent.
How do you make an Input require a value and use a specific type, such as e-mail or password?
Set its Mandatory property to Yes, and choose the Input Type (e.g. Email, Password, Number). Built-in validations then check both.

Architecture & security

Which two roles exist by default in an O11 app?
Anonymous (anyone, including users who aren't logged in) and Registered (any logged-in user). You can add your own roles.
What does ticking Anonymous in a screen's Roles mean?
Anyone can open the screen, logged in or not. The other role checkboxes then don't matter.
Which actions does OutSystems create for each custom role?
Check<Role>Role, Grant<Role>Role and Revoke<Role>Role, to check, give and remove the role for a user.
Why must role checks also be done in Server Actions?
Screen roles and client-side checks control what the UI shows, but a user can call the server directly. Check roles on the server before reading or changing sensitive data.
What does it mean for a module to consume elements from another module?
The producer module makes elements Public (e.g. entities, actions, blocks). The consumer adds a dependency to them with Manage Dependencies and can then use them.
What should you do when a producer module changes its public elements?
Republish the producer, then refresh the dependencies in the consumer modules (Manage Dependencies) and republish them, so they use the latest version.
Why should you avoid circular dependencies between modules?
Modules that depend on each other are harder to deploy, change and reuse. Organise modules in layers so references only go one way, e.g. UI modules use core modules, never the reverse.