Mendix Intermediate Studying questions
with complete solutions
Where in the Mendix Studio Pro will you NOT find an XPath?
correct answer: In the Home Page specification for Navigation
Which Widget feature utilizes XPaths? correct answer:
Selectable data constraints on Reference Selectors
Where can you utilize XPaths in microflows? correct answer: In
the 'Retrieve' action
How do you usually start when typing an XPath? correct
answer: [
If you want to open the XPath auto-complete menu, you need to
press: correct answer: 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? correct answer: 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? correct
answer: 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/Administ
ration.Account)] correct answer: 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] correct answer: The grid will show All
VacationRequests where the StartDate is not populated
What is a reference selector? correct answer: 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? correct answer:
Manually
When structuring the Project Explorer, which of the following
subfolders would be the best choice to store things like
Enumerations and Regular Expressions? correct answer:
Resources
with complete solutions
Where in the Mendix Studio Pro will you NOT find an XPath?
correct answer: In the Home Page specification for Navigation
Which Widget feature utilizes XPaths? correct answer:
Selectable data constraints on Reference Selectors
Where can you utilize XPaths in microflows? correct answer: In
the 'Retrieve' action
How do you usually start when typing an XPath? correct
answer: [
If you want to open the XPath auto-complete menu, you need to
press: correct answer: 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? correct answer: 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? correct
answer: 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/Administ
ration.Account)] correct answer: 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] correct answer: The grid will show All
VacationRequests where the StartDate is not populated
What is a reference selector? correct answer: 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? correct answer:
Manually
When structuring the Project Explorer, which of the following
subfolders would be the best choice to store things like
Enumerations and Regular Expressions? correct answer:
Resources