Docsity

Mendix Intermediate Study Guide: XPath, Microflows, and Advanced Techniques, Exams of Public Health

Toggle sidebar
bg1
Mendix Intermediate Studying
(Complete Guide)
Where in the Mendix Studio Pro will you NOT find an XPath?
✔ ✔ In the Home Page specification for Navigation
Which Widget feature utilizes XPaths? ✔ ✔ Selectable data
constraints on Reference Selectors
Where can you utilize XPaths in microflows? ✔ ✔ In the 'Retrieve'
action
How do you usually start when typing an XPath? ✔ ✔ [
If you want to open the XPath auto-complete menu, you need to
press: ✔ ✔ Ctrl + Space
Say you are writing an XPath in a Retrieve action on the
VacationRequest entity in a Microflow. If you write in the XPath
window [Status = 'Cancelled'], what will be the return of the
Retrieve action? ✔ ✔ A list of all the cancelled requests
Say you are writing an XPath in a Retrieve action on the Request
entity in a microflow. If you write in the XPath window
[VacationRequest.VacationRequest_Submitter='[%CurrentUser
%]'], what will be the return of the Retrieve action? ✔ ✔ A list of
all vacation requests submitted by the current user
Let's assume we add a new decimal attribute to the
VacationRequest entity called 'DaysUsed'. The value represents
the total amount of days used for the requested vacation. If we
write a microflow with a Retrieve action, what will be the return
if we use the following XPath [DaysUsed < 4.5 and
not(VacationManagement.VacationRequest_Submitter/Administr
ation.Account)] ✔ ✔ A list of all VacationReuqests that are shorter
than 4.5 days and do not have a Submitter assigned
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Mendix Intermediate Study Guide: XPath, Microflows, and Advanced Techniques and more Exams Public Health in PDF only on Docsity!

Mendix Intermediate Studying

(Complete Guide)

Where in the Mendix Studio Pro will you NOT find an XPath? ✔✔In the Home Page specification for Navigation Which Widget feature utilizes XPaths? ✔✔Selectable data constraints on Reference Selectors Where can you utilize XPaths in microflows? ✔✔In the 'Retrieve' action How do you usually start when typing an XPath? ✔✔[ If you want to open the XPath auto-complete menu, you need to press: ✔✔Ctrl + Space Say you are writing an XPath in a Retrieve action on the VacationRequest entity in a Microflow. If you write in the XPath window [Status = 'Cancelled'], what will be the return of the Retrieve action? ✔✔A list of all the cancelled requests Say you are writing an XPath in a Retrieve action on the Request entity in a microflow. If you write in the XPath window [VacationRequest.VacationRequest_Submitter='[%CurrentUser %]'], what will be the return of the Retrieve action? ✔✔A list of all vacation requests submitted by the current user Let's assume we add a new decimal attribute to the VacationRequest entity called 'DaysUsed'. The value represents the total amount of days used for the requested vacation. If we write a microflow with a Retrieve action, what will be the return if we use the following XPath [DaysUsed < 4.5 and not(VacationManagement.VacationRequest_Submitter/Administr ation.Account)] ✔✔A list of all VacationReuqests that are shorter than 4.5 days and do not have a Submitter assigned

If we populate a DataGrid of VacationRequest entities with the following XPath constraint, what will happen? [StartDate = empty] ✔✔The grid will show All VacationRequests where the StartDate is not populated What is a reference selector? ✔✔A reference selector is used to display and, optionally, allow the end-user to select the value of a one-to-one or one-to-many association by selecting the associated object. ... This has the added advantage that you can choose an attribute from an object which is linked via several association steps. Which of the following options indicates a correct way of structuring resources within Project Explorer? ✔✔Manually When structuring the Project Explorer, which of the following subfolders would be the best choice to store things like Enumerations and Regular Expressions? ✔✔Resources When connecting a profile picture to an account of a team member, providing that it should be possible to alter the picture, which of the following options would you choose? ✔✔Create a ProfilePicture entity and configuring Image entity in the System module as its generalization. As Users by default always have multiple UserRoles, which of the following options can you put in place to ensure a user gets restricted to only one user role? ✔✔Adding the microflow logic. Which widget from the listed below needs to be used inside of a List View for visualizing a dynamic image? ✔✔Image Viewer Which of the following options can be used in Mendix Studio for customizing styling of an app? ✔✔By adjusting theme setting in the Theme Editor. Which of the following options is used for featuring the navigation menu in a sidebar? ✔✔Atlas Default

What constraint can you use to show the most recently created items at the top of the page? ✔✔createdDate (descending) What are the default Mendix options for the popups? ✔✔Resizable with size determined automatically, with layout grid as the most outer layer of the page. How to make the popup window always visible? ✔✔Remove the outer layer grid. Which of the following options provides an easy way to limit access rights for a given role to a specific functionality within an app? ✔✔By adding a separate module. Where on the page can the Menu document be displayed in an app? ✔✔Anywhere What alternative to drawing an association between two entities can you use to connect two entities, each located in a separate domain model? ✔✔By right-clicking in an entity and selecting Add>Association. Which of the following XPath constraints should be used to allow users to only see their own notifications? ✔✔[Notifications.Notification_Account='[%CurrentUser%]'] What can you use whenever you wish to display a navigation menu, but not the main navigation tree? ✔✔Menu How many source and destination languages can you specify? ✔✔One source, many destinations What does default project language define? ✔✔The language which users will see when using your app. When and how a default language of an app needs to be selected? ✔✔Automatically at the moment of app creation.

Where can you choose the development language? ✔✔In the toolbar of Studio Pro Which of the following functionalities do you need to use to show a complete list of all translatable texts of a source and destination language? ✔✔Batch translation What is another way of calling an association? ✔✔Reference How many associations can you add between two entities? ✔✔Many associations of various multiplicity. Where an information entity is used to replace a many-to-many association between entity A and entity B, how can you express the role of information entity using multiple associations between entity A and entity B? ✔✔Two One-to-Many associations Which of the event handlers does always need to return a boolean return value? ✔✔The before commit. Where do you define the "persistable" property of an entity? ✔✔In the domain model For which of the following entity types Mendix creates a database table? ✔✔For persistable entity What happens on commit of a non-persistable entity? ✔✔Current attribute values and association values are stored in memory. Which of the data types related to an attribute of a non- persistable entity is stored by Mendix but cannot be controlled by your own logic on the commit of a non-persistable entity? ✔✔AutoNumber When connecting 2 entities of 2 different modules how do we typically call that association? ✔✔Cross-module association You could shorten it this way: You connected two entities by a cross-module association. You want Studio Pro to take you to the

permanently in case something goes wrong. How can you do this? ✔✔Exclude it from the project. How can you allow users to access parts of an app (like a login page) without needing to log in? ✔✔Set up anonymous users. In a microflow, what is a token? ✔✔A system-generated value. In a microflow expression, "toUpperCase" is an example of what? ✔✔A function In a microflow, what would be an example of a variable? ✔✔$Customer You need to debug a microflow in production but don't want to impact your users. How can you trigger debugging only when you personally are running the microflow? ✔✔Set a breakpoint condition. How can you have a microflow automatically run at a specific moment in time? ✔✔Create and enable a scheduled event. What can you use to exit a loop early, before finishing the entire list of iterator objects? ✔✔A break event You want to find the total number of objects in a list. What can you easily use to do this? ✔✔Use an aggregate list function. What are batches used for? ✔✔Processing large amounts of data. What is the list object in a loop called? ✔✔An iterator Which of the events is performed in the beginning of the sprint? ✔✔Sprint planning What happens in the daily scrum? ✔✔Team members share their progress, plans, and issues.

Which of the following approaches needs to be used to sort items in the product backlog from top to bottom? ✔✔Based on the descending priority. What do Story Points associated with a user story indicate? ✔✔Estimation of complexity of a user story. During which of the Sprint Events the development team determines user stories that will be finished in the sprint? ✔✔Sprint Planning Which folders contain source information tied to a specific module enabling reuse of this module in another project? ✔✔Javascriptsource and Javasource folders VerifyPassword.java file belonging to the System module is stored in which of the JavaScript sub-folders? ✔✔Actions Microflows.java file is stored in which sub-folder of JavaScript directory? ✔✔Proxies Which of the following sources are typically stored in the Resources folder of the Project Directory? ✔✔Configuration files, HTML and Java files Files and folders that together form the styling of your application are typically stored in which of the following folders? ✔✔Theme When working in a project with version control, which concept would you use to share your database with your team? ✔✔By creating a data snapshot and adding it to the deployment directory of your project. What type of conflict occurs when you and your colleague both modified the microflow implementing the delete behavior? ✔✔Modify-Modify

Why should you not make changes to App Store modules? ✔✔Updating to a new version of the module erases your changes. What are JSON structures converted to in Mendix? ✔✔Objects What do you use to interpret XML or JSON into Mendix objects? ✔✔Import mappings How do you get REST data using a microflow? ✔✔Use a Call REST Service action. What are export mappings used to accomplish? ✔✔Converting Mendix objects to XML or JSON. What does a message definition do? ✔✔It defines the messages that are sent to and from your app. What type of role should you make for your published REST services in security? ✔✔Module role You want to manipulate your data as you import it. Which of the following methods would be best suited to accomplish this? ✔✔The Excel Importer module. For the Export to Excel button to properly function, what must be the source of its data grid? ✔✔XPath How can you export columns from your data grid without displaying them on the page for the user to see? ✔✔Use CSS to set the column to Display: none.