Skip to content

Commit 2c88a58

Browse files
committed
Update links
1 parent 8258455 commit 2c88a58

File tree

5 files changed

+66
-66
lines changed

5 files changed

+66
-66
lines changed

content/en/docs/marketplace/platform-supported-content/modules/external-database-connector.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ For free apps, make sure to add the default values to the constant in Studio Pro
9595

9696
When the connection is successful and saved, you can search the **Browse database** tab for Tables, Views, Procedures, and Functions.
9797

98-
{{< figure src="/attachments/refguide/modeling/integration/use-the-external-database-connector/3.png" width="700" >}}
98+
{{< figure src="http://attachments/refguide/modeling/integration/use-platform-supported-content/use-the-external-database-connector/3.png" width="700" >}}
9999

100100
## Querying a Database {#query-database}
101101

content/en/docs/refguide/modeling/integration/use-excel-documents/export-to-excel.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ To download the modules, follow these steps:
2929
1. Open the **Mendix Marketplace** from within Studio Pro.
3030
2. Search for the keyword *reflection* and select **Mx Model reflection**:
3131

32-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/18581166.png" class="no-border" >}}
32+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/18581166.png" class="no-border" >}}
3333

3434
3. Click **Download** to include the module in your app. It will be imported into **App** > **Marketplace modules** in the **App Explorer**.
3535
4. Search for the keyword *Excel*, select **Excel exporter**, and download that module into your app:
3636

37-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/exporter.png" class="no-border" >}}
37+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/exporter.png" class="no-border" >}}
3838

3939
{{% alert color="warning" %}}
4040
Depending on the layout selected when the app was created, errors in Studio Pro may arise due to the new module's default layouts. To correct this, open each page that has an error and update the layout to the desired layout within the app.
@@ -47,15 +47,15 @@ In this section, you will learn how to add the required pages in the app's **Nav
4747
1. In the [App Explorer](/refguide/app-explorer/), go to **Navigation**.
4848
2. Add a **New item** to the navigation to open the page **MxModelReflection.MxObjects_Overview**:
4949

50-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/new-menu-item-mxreflection.png" alt="new-menu-item-mxreflection" class="no-border" >}}
50+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/new-menu-item-mxreflection.png" alt="new-menu-item-mxreflection" class="no-border" >}}
5151

5252
3. Add a new item to the Navigation to open the page **XLSReport.Excel_Document_Overview**:
5353

54-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/new-menu-item-excel-exporter.png" alt="new-menu-item-excel-exporter" class="no-border" >}}
54+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/new-menu-item-excel-exporter.png" alt="new-menu-item-excel-exporter" class="no-border" >}}
5555

5656
4. Open **App Security** and assign these two modules to the Administrator user role:
5757

58-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/security.png" class="no-border" >}}
58+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/security.png" class="no-border" >}}
5959

6060
## Creating an Input Object Entity
6161

@@ -64,7 +64,7 @@ In this section, you will create an entity which will be used to export the Exce
6464
1. Open the domain model for your app and add an entity to serve as a "primary export" entity that is a specialization of **FileDocument**.
6565
2. Create an association between the newly created entity and the entity (or entities) that you will want to serve as a base for the Excel export.
6666

67-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/18581908.png" class="no-border" >}}
67+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/18581908.png" class="no-border" >}}
6868

6969
## Configuring Mx Model Reflection {#configure-mx-model-reflection}
7070

@@ -104,7 +104,7 @@ To set up a template, follow these steps:
104104

105105
7. Provide a **Description** for identifying and documenting what this template is for:
106106

107-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/new-excel-template.png" class="no-border" >}}
107+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/new-excel-template.png" class="no-border" >}}
108108

109109
8. Specify the **Date time export format** which defines how the dates and times should appear in the Excel file once exported.
110110

@@ -116,7 +116,7 @@ To upload an Excel file as a template, perform the following steps:
116116

117117
1. Click the following icon:
118118

119-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/upload-excel-file.png" alt="upload-excel-file" class="no-border" >}}
119+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/upload-excel-file.png" alt="upload-excel-file" class="no-border" >}}
120120

121121
2. For **File**, click **Browse** and navigate to the Excel file that you want to use as a template.
122122

@@ -132,7 +132,7 @@ To create the worksheet layout, follow these steps:
132132

133133
1. Under the **Worksheets** section for the template, select **New** to create a new sheet template:
134134

135-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/18581907.png" class="no-border" >}}
135+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/18581907.png" class="no-border" >}}
136136

137137
2. Specify the **Name** that will be given to the sheet when the file is exported.
138138

@@ -144,11 +144,11 @@ To create the worksheet layout, follow these steps:
144144

145145
The following figure shows a template where worksheet has **Reference to the template input object** and **Sheet input Object** configured:
146146

147-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/worksheet-with-input-object.png" class="no-border" >}}
147+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/worksheet-with-input-object.png" class="no-border" >}}
148148

149149
The following figure shows a template where worksheet does not have **Reference to the template input object** and **Sheet input Object** configured:
150150

151-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/worksheet-without-input-object.png" class="no-border" >}}
151+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/worksheet-without-input-object.png" class="no-border" >}}
152152

153153
5. Configure the **Start retrieved data at row** to set the ordinal number in which the data should be exported.
154154

@@ -180,15 +180,15 @@ To create the worksheet layout, follow these steps:
180180

181181
Below you can find an example of the definition of a template and the corresponding exported Excel file: the two worksheets are defined as **Topic** and **PubMessage** in the template, and the corresponding Excel file has two sheets that have the same names.
182182

183-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/multiple-sheets.png" class="no-border" >}}
183+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/multiple-sheets.png" class="no-border" >}}
184184

185185
### Configuring Dynamic Column Data {#dynamic-column-data}
186186

187187
To configure the dynamic column data, follow these steps:
188188

189189
1. On the **Column Data** tab, select **New** to create a new export column:
190190

191-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/18581905.png" class="no-border" >}}
191+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/18581905.png" class="no-border" >}}
192192

193193
2. The **Column number** will be set automatically, but can be overwritten to the desired ordinal number.
194194
3. Define a **Name** for the column. This will be the **Column Header** when exported.
@@ -205,7 +205,7 @@ To configure the static data in the sheet, follow these steps:
205205

206206
1. Open the **Static Data tab** and select **New** to create a new export column.
207207

208-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/18581903.png" class="no-border" >}}
208+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/18581903.png" class="no-border" >}}
209209

210210
2. Specify the **Row** and **Column** that the static value should be placed.
211211
3. Enter a name for the cell in the **Name** field.
@@ -218,7 +218,7 @@ To configure the custom formatting and styling for the cells, follow these steps
218218

219219
1. Back on the main page for your new template, click **New** in the **Styles** section to create a new style that can be applied to any of the data in the Excel export:
220220

221-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/18581900.png" class="no-border" >}}
221+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/18581900.png" class="no-border" >}}
222222

223223
2. Specify the properties of the style that will be applied to the cells.
224224

@@ -234,17 +234,17 @@ In this section, you will learn how to call the newly created Excel export templ
234234

235235
2. In the microflow, retrieve a single object which is the template you set up earlier to use for the export.
236236

237-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/retrieve-template.png" class="no-border" >}}
237+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/retrieve-template.png" class="no-border" >}}
238238

239239
3. In your microflow, call the **XLSReport.GenerateExcelDoc** Java action (available from the module's **JavaActions** folder) to pass the required objects to the module.
240240

241-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/java-action.png" class="no-border" >}}
241+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/java-action.png" class="no-border" >}}
242242

243243
4. In your microflow, download the resulting FileDocument object.
244244

245245
Your microflow should look similar to this:
246246

247-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/microflow-for-generate.png" class="no-border" >}}
247+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/microflow-for-generate.png" class="no-border" >}}
248248

249249
If your template definition does not have **Input Object**, your microflow can directly retrieve the template object and **Row Object** from the database for the export.
250250

@@ -272,7 +272,7 @@ To run the microflow you created above, you will need to create another microflo
272272

273273
Your new microflow should look similar to this:
274274

275-
{{< figure src="/attachments/refguide/modeling/integration/using-the-excel-exporter/associating-objects.png" class="no-border" >}}
275+
{{< figure src="/attachments/refguide/modeling/integration/use-excel-documents/using-the-excel-exporter/associating-objects.png" class="no-border" >}}
276276

277277
{{% alert color="info" %}}
278278
If you create a **PolicyDoc** with *no* associations to **Policy** objects, you will export an empty spreadsheet with the structure defined in the template.

content/en/docs/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Before starting this how-to, make sure you have completed the following prerequi
2424

2525
The Excel sheet you receive in this scenario contains almost every country in the world, as well as some supporting data. This data has to be imported into your application.
2626

27-
You can find the Excel sheet here: [Countries](/attachments/refguide/modeling/integration/import-a-large-excel-file/Countries.xlsx).
27+
You can find the Excel sheet here: [Countries](http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/Countries.xlsx).
2828

2929
You are going to make an XSD schema from the headers in the Excel sheet so you can import the data into the model.
3030

@@ -33,9 +33,9 @@ To modify your Excel sheet, follow these steps:
3333
1. Select the header row with all the country names.
3434
2. Copy and paste them in a new sheet using the transpose function:
3535

36-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/transpose.png" class="no-border" >}}
36+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/transpose.png" class="no-border" >}}
3737

38-
Your headers should be listed vertically and your sheet should look like this: [Countries Transposed](/attachments/refguide/modeling/integration/import-a-large-excel-file/CountriesTransposed.xlsx).
38+
Your headers should be listed vertically and your sheet should look like this: [Countries Transposed](http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/CountriesTransposed.xlsx).
3939

4040
You are now ready to add some tags around the column.
4141

@@ -48,17 +48,17 @@ To modify your Excel sheet, follow these steps:
4848
4949
5. Drag the string all the way down to the last country.
5050
51-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/country-sheet.png" class="no-border" >}}
51+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/country-sheet.png" class="no-border" >}}
5252
5353
6. In cell **C1**, enter the following string:
5454
5555
```text
5656
"/>
5757
```
5858
59-
7. Like you did with the previous string, drag it down to the last country. The Excel sheet should now look like this: [Countries with Tags](/attachments/refguide/modeling/integration/import-a-large-excel-file/CountriesWithTags.xlsx).
59+
7. Like you did with the previous string, drag it down to the last country. The Excel sheet should now look like this: [Countries with Tags](http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/CountriesWithTags.xlsx).
6060
61-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/countries-with-tags.png" class="no-border" >}}
61+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/countries-with-tags.png" class="no-border" >}}
6262
6363
Now, group the three different columns into one column. This is necessary to copy the whole column into an XSD file.
6464
@@ -68,7 +68,7 @@ To modify your Excel sheet, follow these steps:
6868
=(A1&B1&C1)
6969
```
7070
71-
9. Drag the cells down like you’ve done with column **A1** and **C1**. Now, column **D** should have columns **A**, **B**, and **C** combined into one, and your sheet should look like this: [Countries with Tags and Column D](/attachments/refguide/modeling/integration/import-a-large-excel-file/CountriesWithTagsAndColumnD.xlsx).
71+
9. Drag the cells down like you’ve done with column **A1** and **C1**. Now, column **D** should have columns **A**, **B**, and **C** combined into one, and your sheet should look like this: [Countries with Tags and Column D](http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/CountriesWithTagsAndColumnD.xlsx).
7272
7373
## Preparing Your XSD File
7474
@@ -98,7 +98,7 @@ You have used some of Excel's basic functionalities to create the first part of
9898
</xs:schema>
9999
```
100100
101-
Your file should look like this: [Country Import](/attachments/refguide/modeling/integration/import-a-large-excel-file/CountryImport.xsd).
101+
Your file should look like this: [Country Import](http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/CountryImport.xsd).
102102
103103
5. Click **Save**.
104104
@@ -108,29 +108,29 @@ The XSD file is ready to be imported into your app. To import it, follow these s
108108
109109
1. Open your app and create a new XSD schema. Do this by right-clicking the module and selecting **Add other** > **XML schema**.
110110
111-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/create-schema.png" class="no-border" width="600" >}}
111+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/create-schema.png" class="no-border" width="600" >}}
112112
113113
2. With the new XSD schema, create the XML-to-domain mapping by right-clicking the module > **Add other** > **Import mapping**.
114114
115-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/create-mapping.png" class="no-border" width="600" >}}
115+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/create-mapping.png" class="no-border" width="600" >}}
116116
117117
3. Check all the attributes listed. After clicking **OK**, you see a mapping entity with all your countries.
118118
119119
4. You will now generate a real entity from it that you can use as an import table for your Excel sheet. Click **Map automatically**:
120120
121-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/map-automatically.png" class="no-border" width="400" >}}
121+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/map-automatically.png" class="no-border" width="400" >}}
122122
123123
Your entity is created:
124124
125-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/new-entity.png" class="no-border" >}}
125+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/new-entity.png" class="no-border" >}}
126126
127127
5. Open your domain model and set the entity’s **Persistable** property to **Yes**.
128128
129-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/persistable-properties.png" class="no-border" >}}
129+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/persistable-properties.png" class="no-border" >}}
130130
131131
The data is imported to the page, as seen in the image below:
132132
133-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/large-file.png" class="no-border" >}}
133+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/large-file.png" class="no-border" >}}
134134
135135
To keep your application clean, you can delete the XSD schema and XML-to-domain files from your app.
136136
@@ -156,6 +156,6 @@ To create entity in your domain model using an Excel sheet, follow these steps:
156156
* If the column names do not conform to Mendix naming conventions, they will automatically be corrected.
157157
* The extension identifies correct data types of each column (such as string, boolean, or date).
158158
6. After reviewing the preview, click **Create Entity** and a non-persistable entity (NPE) is created in your domain model.
159-
{{< figure src="/attachments/refguide/modeling/integration/import-a-large-excel-file/create-entity-using-excel-input.png" class="no-border" >}}
159+
{{< figure src="http://attachments/refguide/modeling/integration/use-excel-documents/import-a-large-excel-file/create-entity-using-excel-input.png" class="no-border" >}}
160160
161161
You can change the name of the entity or change its persistence later, if necessary.

0 commit comments

Comments
 (0)