Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password

Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.

Question

How can you maintain your application?
click to flip
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't know

Question

Process-Related Sources
Remaining cards (70)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

Mendix Intermediate

Create an App With Using Advanced Page Building

QuestionAnswer
How can you maintain your application? The structure for your documents starts with a clear separation of folders. By using a good folder structure, you will improve the maintainability of your application.
Process-Related Sources Every app consists of processes. Structure your documents for these processes into folders that reflect individual processes and their steps.
Entity-Related Sources Every app has documents that are needed for specific entities. (maintenance, validation microflows that prevent commits, or other event triggers) These types of documents should be structured into one folder that is named after the entity.
Which of the following options indicates a correct way of structuring resources within App Explorer? Manually
When structuring the App 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
SASS variables Mendix uses SASS (Syntactically Awesome Style Sheets) to quickly change existing styling, which is then compiled to CSS (Cascading Style Sheets).
CSS Cascading style sheets are used to format the layout of web pages or in this case your Mendix app.
Layouts specify what goes where on a page. They provide you with greater flexibility and reusability in application design. Each page is based on a layout
Atlas UI by default offers three navigation layouts: Atlas Default (featuring the navigation menu in a sidebar) Atlas Topbar (featuring the navigation menu in a topbar) Popup (a popup page instead of a full-width page)
Scroll containers are used to divide the layout into individual regions e.g., header, sidebar and footer regions, and set the scrolling behavior for those regions.
Location scroll containers A scroll container must be the only top-level widget which means that you’ll always need to start with a scroll container when structuring your layout. Aside from that, scroll containers can only be placed directly into another scroll container.
Contents The contents cover everything that should be present in every page that uses the layout, from navigation bars to sign out buttons
Placeholders These are the empty areas that form the canvas for any pages that make use of the layout
Master Layout A layout can be based on other layouts, in which case the parent layout is referred to as the master layout. If a layout has a master, it can use the placeholders defined in the master to create a more specialized configuration -> you apply DRY
Specialized Layout If a page is based on this specialized layout, you can only make use of the placeholders defined in this new layout, not the ones of the master layout.
There are two ways to change the login page: 1. Create a custom login.html file 2. Use the built-in custom login page
Custom login.html One way to create a custom login page is to create a custom login.html file, which replaces the default login page. This is considered an Expert feature because this requires you to write HTML.
Custom login.html Pro and Cons Pros : You don’t need to allow anonymous users, making this a very safe option The Mendix app is loaded after logging in, which again adds to the security of the app Cons: You need to be able to write HTML to build this page
Built-in custom login page his feature is available to you out-of-the-box in your Mendix app. It’s easier to use than the custom login.html solution, but , you must be more careful with your security. This is because you need to allow anonymous users access to the app.
Built-in custom login page Pro and Cons Pros: Easy to use You don’t need to know how to write HTML Cons: You need to allow anonymous users The entire Mendix app is loaded before logging in
Custom Login Page Role based Home page You can add roles to the Home page -> role based home page
Which of the following options is used for featuring the navigation menu in a sidebar? Atlas Default
Which of the following terms refers to the empty areas that form the canvas for any pages that make use of the layout? Placeholders
When a layout is based on another layout, which of the mentioned option refers to the parent layout? Master Layout
Which of the principles needs to be utilized to reduce duplication of already created elements? DRY
The Wizard Page Template Mendix Wizard page templates. For each step in the wizard, you will need to create a separate page using the same page template. You can configure the progress bar at the top of the page to show the user on which step they currently are.
The Reference Set Selector Selecting multiple projects can be done with the reference set selector widget. The reference set selector is the widget you use in Mendix to select associated objects. You can use this option when multiple select is possible. I -> with a - association. You can configure the widget to show the options in a dropdown or in a select page.
If the list of objects to choose from is very big, it’s best to show them in a select page.
Single and Multi-Select on a Data Grid data grid supports multi-selection, the default Edit and Delete buttons don’t work. ->They only work with data grids with a single select modus.
How can you make the Edit and Delete work? To still have the edit and delete functionalities, you will need to add two action buttons that trigger microflows.
Which of the following options indicates a default configuration of a page created using the Wizard Progress page template, consisting of 4 page template steps? Step 2 is active, Step 1 is visited
In order to re-use a header from a given page on several other pages, which of the following options would allow you to automatically update the content of this header throughout the app after its content has been changed? Snippet
Which of the following widgets can be used to select associated objects, when multiple select is possible? Reference set selector
From the buttons on a Data Grid widget that work with single select mode, which ones need to be configured with multi-select mode? Edit, Delete
Where should you configure that only selected roles are allowed to see a container on a page? In the Conditional visibility property of the container.
Resizable popups By default, popup windows in Mendix are resizable and the size of the popup is determined automatically. It is also possible to give popup windows a fixed size. This is done in the properties of the page.
Popup footer By default, popup windows in Mendix are generated with a layout grid as the most outer layer of the page. This will make the entire page scrollable, meaning the buttons in the footer will also be in the scrollable area.
By removing the outer layout grid the footer of the popup window becomes “sticky”, in other words: always visible.
How is the size of popup windows set to fixed? By setting the resizable property of the page to No.
How can you ensure that the buttons in the footer area of the relatively long and scrollable pop-up page are always visible? By removing the outer layout grid.
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.
Whenever you wish to display a navigation menu, but not the main navigation tree, you can use the Menu document to create a custom navigation menu.
A menu document defines a navigation menu that can be used by a menu widget. Typically the main menus for your application are defined in device types, while you use menu documents for auxiliary menus, e.g., a sidebar.
A menu consists of a list of menu items, which optionally contain sub-items. Depending on the widget a number of levels are allowed. This Menu document can be displayed anywhere you want in the app, on a page, or in a navigation layout.
Show a notification [Notifications.Notification_Account = ‘[%CurrentUser%]’] [not(Read)]
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
Mendix works with translatable texts which allow labels, button captions, data grid columns, and menu items to be easily translated. Your complete app can be translated from English to French or from Spanish to German in no time. Translatable texts are tracked and stored in your project, and they can be used for translation at any time.
Project Language You can add as many languages as you like and set one as the default language. The default language is what users will see when they use your application.
Development Language When you start developing the app, a default language will be set. By default, that will be English (US), though it can be changed to another language if desired.
Translatable Texts -> After switching your development language, the pages will display their labels and content in... in the selected language. Labels that haven’t yet been translated to the selected language will display the text of the default language between angle brackets (for example, <Requests>).
What happens when the app is deployed and some labels haven't been translated yet? When the app is deployed with labels that don’t have a translation yet, they will also display the default language label, but without the angle brackets.
Mendix provides several translation tools out of the box that you can use: Batch Translation Text Occurence Export / Import Translations
Batch Translation This feature shows a complete list of all the translatable texts of a source and destination languages. This makes translating easier. You can also filter on specific modules and use the search to find specific labels.
Text Occurrence Because some labels and texts are in the list multiple times, it’s important to know where in your app they’re being used. You can see this using the Occurrence window at the bottom of the Batch translate window
Export/Import Translations If you want to translate a language outside Mendix Studio Pro, you can export the translatable texts to the Excel (.xlsx) format. This will produce an Excel file with two columns, one for each language.
Add Language App Explorer -> Settings Languages Add Search language Ok
Add Language detailed In the Language menu in the toolbar, click Batch Translate… Source language: English, United States (default). Destination language: Dutch, Netherlands. click OK
How many source and destination languages can you specify? One source, one destination
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
Created by: Angeltje1992
 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards