You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Search for the **Blank Native Mobile App** and click **Use this starting point**:
45
45
***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.
46
46
***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.
47
47
1. Name your app *Quickstart App* and click the **Create app** button.
48
48
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**:
49
49
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">}}
51
51
52
52
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:
53
53
@@ -74,15 +74,15 @@ For more information on the top bar's menus and functions, see the [Top Bar](/re
74
74
75
75
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:
@@ -125,14 +125,14 @@ Mendix by default uses its own built-in HSSQL database, but Mendix also supports
125
125
126
126
* 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)
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).
131
131
1. Double-click the new entity to open its properties window:
@@ -169,18 +169,18 @@ Now it is time to build your photo album app:
169
169
1. Drag a **Template Grid** from the **Toolbox** onto the page.
170
170
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:
171
171
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">}}
1. Leave the **Datasource type** as **Database** and under **Entity** select the **Picture** entity we created earlier, then click **OK** to close the window:
177
177
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">}}
179
179
180
180
1. When Studio Pro prompts you to automatically fill the contents of the template grid, click **Yes**.
181
181
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**:
1. Repeat this process for the label below with the caption **Supporting text**, making sure to select the **Description** attribute this time.
214
214
@@ -226,11 +226,11 @@ Implement custom logic with a microflow by doing the following:
226
226
1. Set the on click action type to call a microflow.
227
227
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):
1. Add a decision to the flow (The orange diamond shape) from the toolbox.
236
236
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:
@@ -250,20 +250,20 @@ Notice the line has changed to red. This is because a decision creates multiple
250
250
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.*.
251
251
1. Repeat these steps for the **Description** attribute until your microflow looks like this:
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**.
263
263
264
264
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):
265
265
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">}}
267
267
268
268
{{% alert type="info" %}}
269
269
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
273
273
274
274
## 8 Continuing with the Next Tutorial
275
275
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