Site Properties Flashcards
The value of a Site Property can be modified in Service Center to change the application behavior at runtime.
A. True
B. False
Which of the following is a GOOD use case for a Site Property?
A. Current User ID
B. Total Stock Quantity of Products
C. REST Web Service API Key
D. Search Keyword
What is a key characteristic of Site Properties in OutSystems?
A. They are stored in the client-side browser’s local storage.
B. They are available to all users of the application within a specific environment.
C. They can store complex data structures like lists and records.
D. They can be accessed and modified directly from client-side logic.
Why should frequent changes to Site Properties be avoided?
A. It can lead to inconsistencies in data across different screens.
B. It can introduce security vulnerabilities by exposing sensitive information.
C. It can negatively impact performance due to cache invalidation.
D. It can make the application more difficult to maintain and debug.
How does the environment-specific nature of Site Properties benefit application development?
A. It allows for version control of configuration settings.
B. It enables different configurations for different stages of the application lifecycle (development, testing, production).
C. It simplifies the deployment process by automatically syncing settings across environments.
D. It enhances collaboration by allowing multiple developers to work on the same Site Property simultaneously.
Which of the following data types CANNOT be stored in a Site Property?
A. Integer
B. Text
C. Boolean
D. Record List
Where are Site Properties defined and managed in OutSystems?
A. In Service Studio, within the application logic.
B. In Service Center, under the “Site Properties” tab.
C. In the database, using SQL statements.
D. In the application’s source code files.
What is a potential DRAWBACK of using Site Properties to store frequently changing data?
A. They can be difficult to access from client-side logic.
B. They can lead to performance issues due to the overhead of reading and writing to the database.
C. They can make the application more susceptible to data corruption.
D. They can increase the complexity of the application’s logic flows.
How can you access the value of a Site Property within an OutSystems application?
A. Use the GetSiteProperty
built-in function in server-side logic.
B. Directly reference the Site Property name using curly braces in expressions.
C. Assign the Site Property value to a local variable in client-side logic.
D. It’s not possible to access Site Properties from within the application logic.
Which of the following scenarios is MOST suitable for using a Site Property?
A. Storing the user’s language preference.
B. Tracking the number of items in a shopping cart.
C. Storing the URL of an external API endpoint.
D. Displaying dynamic messages based on user interactions.
Site Properties can only store which type of values?
A) Complex objects like JSON or arrays
B) Basic data types like integers, text, and entity identifiers
C) Session-specific values for individual users
D) Temporary values stored during application runtime
B
Where can the value of a Site Property be changed at runtime without redeploying the application?
A) Service Studio
B) Service Center
C) Application configuration screen
D) Directly in the database
B
Which of the following is not a recommended use for a Site Property?
A) Storing a feature toggle to enable or disable a functionality
B) Storing the API key for a web service
C) Storing the total number of active sessions
D) Storing environment-specific configuration values
C
Which environment-specific behavior applies to Site Properties in OutSystems?
A) The same value is shared across all environments.
B) Site Properties must be manually synchronized across environments.
C) Each environment (development, testing, production) can have different values for the same Site Property.
D) Site Properties automatically reset when switching between environments.
C
What is the impact of frequently changing the value of a Site Property?
A) It will enhance the performance of the application.
B) It will cause cache invalidation and potentially degrade performance.
C) It will reset all application data.
D) It will trigger a full application redeployment.
B