Skip to content

Commit f3a8ce9

Browse files
author
adam-dupaski
committed
Restructure
1 parent df2b37f commit f3a8ce9

3 files changed

Lines changed: 46 additions & 46 deletions

File tree

content/en/docs/quickstarts/_index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ tags: ["hello world", "microflows", "widgets", "app", "nanoflow", "app developme
88

99
Welcome to the Mendix quickstarts for building an app! These tutorials cover the essentials of Mendix development:
1010

11-
* [Part 1: Build a Responsive Web App](/quickstart/part1/)
12-
* [Part 2: Add a Native Mobile App](/quickstart/part2/)
11+
* [Part 1: Build a Responsive Web App](/quickstarts/part1/)
12+
* [Part 2: Add a Native Mobile App](/quickstarts/part2/)
1313

1414
Each tutorial should take about 25 minutes to complete.
1515

1616
While you can start with Part 2, we recommend you read Part 1 to understand the basics of Mendix.
1717

1818
When you are done, you will have mastered the basics of building and hosting apps with Mendix, and you will have your first app.
1919

20-
Let's get started with [Part 1](/quickstart/part1/)!
20+
Let's get started with [Part 1](/quickstarts/part1/)!

content/en/docs/quickstarts/part1.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Build a Responsive Web App"
3-
url: /quickstart/part1/
3+
url: /quickstarts/part1/
44
weight: 10
55
description: "Learn the basics of making an app in a Responsive Web profile."
66
tags: ["hello world", "microflows", "widgets", "app", "nanoflow", "app development"]
@@ -39,15 +39,15 @@ Here you will choose an app starting point. It is key that you choose a starting
3939

4040
1. Starting from Studio Pro, click **Create New App**:
4141

42-
{{< figure src=""/attachments/quickstarts/part1/starting-point.png" width="450px" alt="New app">}}
42+
{{< figure src="/attachments/quickstarts/part1/starting-point.png" width="450px" alt="New app">}}
4343

4444
1. Search for the **Blank Native Mobile App** and click **Use this starting point**:
4545
* **Why choose this template?** — Choosing the **Blank Native Mobile App** template lets you start with an already-configured native mobile navigation profile setup for your app.
4646
* **Does that mean this app is native mobile only?** — No. The blank native mobile app template also comes with a responsive web navigation profile configured. This means your app is accessible on both web browsers and natively on mobile devices.
4747
1. Name your app *Quickstart App* and click the **Create app** button.
4848
1. Wait a few minutes for your app to be created, its team server to be initialized, and a local copy of the app to be downloaded to your development machine. After that the app will open on your app’s home page called **Home_Web**:
4949

50-
{{< figure src=""/attachments/quickstarts/part1/home-web.png" width="450px" alt="Home Web page">}}
50+
{{< figure src="/attachments/quickstarts/part1/home-web.png" width="450px" alt="Home Web page">}}
5151

5252
A page defines the end-user interface in a Mendix app. You can create and edit pages using the Page Editor. All pages are based on layouts and templates:
5353

@@ -74,15 +74,15 @@ For more information on the top bar's menus and functions, see the [Top Bar](/re
7474

7575
You can navigate through your app using the [App Explorer](/refguide/app-explorer/), the window on the left side of your screen. This is where you can create and explore new documents and modules in your app:
7676

77-
{{< figure src=""/attachments/quickstarts/part1/tour-left.png" alt="App Structure">}}
77+
{{< figure src="/attachments/quickstarts/part1/tour-left.png" alt="App Structure">}}
7878

7979
Any [modules](/refguide/modules/) you download from the Marketplace will appear under **Marketplace Modules** > **App** section.
8080

8181
### 4.3 Bottom Dockable Pane
8282

8383
Look at the bottom dockable pane of Studio Pro:
8484

85-
{{< figure src=""/attachments/quickstarts/part1/tour-bottom.png" width="450px" alt="Bottom Dockable Pane">}}
85+
{{< figure src="/attachments/quickstarts/part1/tour-bottom.png" width="450px" alt="Bottom Dockable Pane">}}
8686

8787
Here you will find several default panes such as:
8888

@@ -96,7 +96,7 @@ For additional information on bottom default panes, see the [MxAssist Best Pract
9696

9797
Look at the right dockable pane of Studio Pro:
9898

99-
{{< figure src=""/attachments/quickstarts/part1/tour-right.png" width="350px" alt="Right Dockable Pane">}}
99+
{{< figure src="/attachments/quickstarts/part1/tour-right.png" width="350px" alt="Right Dockable Pane">}}
100100

101101
Here you will find more default panes:
102102

@@ -125,14 +125,14 @@ Mendix by default uses its own built-in HSSQL database, but Mendix also supports
125125

126126
* There is already an entity here: **Login** (it is part of the template and is used only for native mobile authentication, so you can ignore it for now)
127127

128-
{{< figure src=""/attachments/quickstarts/part1/create-entity.png" width="450px" alt="Create entity">}}
128+
{{< figure src="/attachments/quickstarts/part1/create-entity.png" width="450px" alt="Create entity">}}
129129

130130
1. Add an entity, *Picture*, to store all your uploaded images in the database. Drag a new **Entity** from the Toolbox and drop it into the domain model (or right-click anywhere in the domain model to add a new entity).
131131
1. Double-click the new entity to open its properties window:
132132

133-
{{< figure src=""/attachments/quickstarts/part1/entity-config.png" width="450px" alt="Open properties">}}
133+
{{< figure src="/attachments/quickstarts/part1/entity-config.png" width="450px" alt="Open properties">}}
134134

135-
{{< figure src=""/attachments/quickstarts/part1/entity-config-cont.png" width="450px" alt="Edit configuration">}}
135+
{{< figure src="/attachments/quickstarts/part1/entity-config-cont.png" width="450px" alt="Edit configuration">}}
136136

137137
1. Name the entity *Picture*, then click **Select** next to **Generalization**.
138138
1. Search for and select the **Image** entity (found in the system module).
@@ -145,12 +145,12 @@ Next you must add some attributes. Remember, your entity now inherits many prope
145145

146146
1. Under the **Attributes** tab in the entity’s properties, click **New**, name your attribute *Title*, and click **OK**:
147147

148-
{{< figure src=""/attachments/quickstarts/part1/add-attributes.png" width="450px" alt="Name attribute">}}
148+
{{< figure src="/attachments/quickstarts/part1/add-attributes.png" width="450px" alt="Name attribute">}}
149149

150150
1. Repeat the process while adding an attribute called *Description*, except select **Unlimited** for the string's **Length**.
151151
1. Click **OK** to close the entity’s properties window:
152152

153-
{{< figure src=""/attachments/quickstarts/part1/description-attributes.png" width="450px" alt="Entity properties">}}
153+
{{< figure src="/attachments/quickstarts/part1/description-attributes.png" width="450px" alt="Entity properties">}}
154154

155155
## 6 Creating Your App's User Interface
156156

@@ -169,18 +169,18 @@ Now it is time to build your photo album app:
169169
1. Drag a **Template Grid** from the **Toolbox** onto the page.
170170
1. In Mendix, in order to display data from the domain model on a page element it needs to be within a context. Double-click the template grid to open its properties, then go to the **Data source** tab:
171171

172-
{{< figure src=""/attachments/quickstarts/part1/template-datasource.png" width="450px" alt="Open data properties">}}
172+
{{< figure src="/attachments/quickstarts/part1/template-datasource.png" width="450px" alt="Open data properties">}}
173173

174-
{{< figure src=""/attachments/quickstarts/part1/template-datasource-cont.png" width="450px" alt="Data source tab">}}
174+
{{< figure src="/attachments/quickstarts/part1/template-datasource-cont.png" width="450px" alt="Data source tab">}}
175175

176176
1. Leave the **Datasource type** as **Database** and under **Entity** select the **Picture** entity we created earlier, then click **OK** to close the window:
177177

178-
{{< figure src=""/attachments/quickstarts/part1/template-edits.png" width="450px" alt="Configure data source">}}
178+
{{< figure src="/attachments/quickstarts/part1/template-edits.png" width="450px" alt="Configure data source">}}
179179

180180
1. When Studio Pro prompts you to automatically fill the contents of the template grid, click **Yes**.
181181
1. Note the red error pointers on the **New** and **Edit** buttons of the template grid. This is because there is no page connected to the buttons. To resolve this, right-click one of the buttons and select **Generate Page**:
182182

183-
{{< figure src=""/attachments/quickstarts/part1/generate-page.png" width="450px" alt="Connect page">}}
183+
{{< figure src="/attachments/quickstarts/part1/generate-page.png" width="450px" alt="Connect page">}}
184184

185185
1. Leave the page name as is and choose the **Form Vertical** template for the page.
186186

@@ -194,7 +194,7 @@ A building block is a collection of pre-styled display widgets. A building block
194194

195195
Next you will connect your data to the display widgets because your page is currently displaying only static resources:
196196

197-
{{< figure src=""/attachments/quickstarts/part1/edit-caption.png" width="450px" alt="Dynamic data">}}
197+
{{< figure src="/attachments/quickstarts/part1/edit-caption.png" width="450px" alt="Dynamic data">}}
198198

199199
To start, replace the static image with the image the user uploads to the database:
200200

@@ -208,7 +208,7 @@ Your **Images** will now be displayed from the database, but the **Labels** on t
208208
1. In the new window, replace the caption field with the place holder *{1}*.
209209
1. Click to add a new **Parameter** and select the **Title** attribute:
210210

211-
{{< figure src=""/attachments/quickstarts/part1/parameter.png" width="450px" alt="Add attributes">}}
211+
{{< figure src="/attachments/quickstarts/part1/parameter.png" width="450px" alt="Add attributes">}}
212212

213213
1. Repeat this process for the label below with the caption **Supporting text**, making sure to select the **Description** attribute this time.
214214

@@ -226,11 +226,11 @@ Implement custom logic with a microflow by doing the following:
226226
1. Set the on click action type to call a microflow.
227227
1. Choose to create a new microflow in the **Native Mobile** module called *ACT_ValidateAndSavePicture* (click the **Show** button to quickly navigate to the new microflow):
228228

229-
{{< figure src=""/attachments/quickstarts/part1/edit-microflow.png" width="450px" alt="Edit microflow">}}
229+
{{< figure src="/attachments/quickstarts/part1/edit-microflow.png" width="450px" alt="Edit microflow">}}
230230

231231
1. You should now see the microflow open in your editor:
232232

233-
{{< figure src=""/attachments/quickstarts/part1/microflow.png" width="450px" alt="Microflow">}}
233+
{{< figure src="/attachments/quickstarts/part1/microflow.png" width="450px" alt="Microflow">}}
234234

235235
1. Add a decision to the flow (The orange diamond shape) from the toolbox.
236236
1. Give it the caption `Has title?` and provide the following expression (function 'trim' will [always return a string](/refguide/string-function-calls/#trim)):
@@ -239,7 +239,7 @@ Implement custom logic with a microflow by doing the following:
239239
trim($Picture/Title) != ''
240240
```
241241
242-
{{< figure src=""/attachments/quickstarts/part1/decision.png" width="450px" alt="Decision expression">}}
242+
{{< figure src="/attachments/quickstarts/part1/decision.png" width="450px" alt="Decision expression">}}
243243
244244
1. Click OK to close the window.
245245
@@ -250,20 +250,20 @@ Notice the line has changed to red. This is because a decision creates multiple
250250
1. Double-click your validation feedback action, select **Variable** > **Picture (NativeMobile.Picture)**, **Member** > **Title**, and in **Template** add some error text such as *Please provide a title for your picture.*.
251251
1. Repeat these steps for the **Description** attribute until your microflow looks like this:
252252
253-
{{< figure src=""/attachments/quickstarts/part1/expand-microflow.png" width="450px" alt="Your microflow">}}
253+
{{< figure src="/attachments/quickstarts/part1/expand-microflow.png" width="450px" alt="Your microflow">}}
254254
255255
Finally we need to commit the image to the database, and then close the page:
256256
257257
1. Add a **Commit object(s)** action from the toolbox to the true path.
258258
1. Select the **Picture (NativeMobile.Picture)** entity to commit, select With **Events** > **No**, and select **Refresh in Client** > **Yes**:
259259
260-
{{< figure src=""/attachments/quickstarts/part1/commit-objects.png" width="450px" alt="Configure commit object">}}
260+
{{< figure src="/attachments/quickstarts/part1/commit-objects.png" width="450px" alt="Configure commit object">}}
261261
262262
1. Add a **Close page** action to the end of the microflow to ensure the user is directed back to the home page after clicking **Save**.
263263
264264
You have finished your responsive app! You can run your photo album app and test it by pressing <kbd>F5</kbd> or by clicking the green play icon in the top-right corner of Studio Pro (next to the **Publish** button):
265265
266-
{{< figure src=""/attachments/quickstarts/part1/complete.png" width="450px" alt="Run your app">}}
266+
{{< figure src="/attachments/quickstarts/part1/complete.png" width="450px" alt="Run your app">}}
267267
268268
{{% alert type="info" %}}
269269
Launching your app compiles your app locally on your development machine, your local host. Publishing your app will push your app to a cloud environment or web container connected to your app. If none exists, an environment will be initialized for your app on the Mendix Cloud Free Tier EU.
@@ -273,4 +273,4 @@ Congratulations! You successfully completed Part 1 of the quickstart guide. You
273273
274274
## 8 Continuing with the Next Tutorial
275275
276-
To continue learning, see Part 2: [Add a Native Mobile App](/quickstart/part2/).
276+
To continue learning, see Part 2: [Add a Native Mobile App](/quickstarts/part2/).

0 commit comments

Comments
 (0)