Last modified by Eva Torken on 2023/06/20 17:15

Show last authors
1 {{container}}
2 {{container layoutStyle="columns"}}(((
3 In this microlearning, we will focus on updating an eMagiz Mendix Connector.
4 With the help of this Mendix module created by the eMagiz team, you can easily connect between Mendix and eMagiz for data integration.
5
6 Should you have any questions, please contact academy@emagiz.com.
7
8 == 1. Prerequisites ==
9 * Basic knowledge of the eMagiz platform
10 * Access to a Mendix application
11 * Access to the Deploy phase of your eMagiz project
12
13 == 2. Key concepts ==
14 This microlearning centers around updating an eMagiz Mendix Connector
15 With eMagiz Mendix Connector we mean: A Mendix module developed and maintained by eMagiz that simplifies connect a Mendix application to an eMagiz project for data traffic between both systems.
16
17 To update an eMagiz Mendix Connector you need the following:
18
19 * The Mendix Module called the eMagiz Mendix Connector (available in eMagiz under Deploy of your project)
20 * Access to a Mendix project which has an eMagiz Mendix Connector in it at this moment.
21
22 == 3. Update an eMagiz Mendix Connector
23
24 To update the eMagiz Mendix Connector in a Mendix app, the following steps need to be performed.
25
26 === 3.1 Download the eMagiz Mendix connector
27 * The eMagiz Mendix connector can be downloaded via eMagiz. Log in and then go to one of the busses you have access to.
28 * Go to **Deploy -> On Premises -> Runtime Downloads** the eMagiz Mendix connector can be downloaded.
29 You must look at the column Mendix version. It must correspond to the Mendix version of the project where you want to use the eMagiz Mendix Connector.
30 If you do not do this then the connector will **not** work.
31
32 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-emagiz-mendix-connector--emc-download-screen.png]]
33
34 === 3.2 Importing eMagiz Mendix connector
35
36 Now that we have downloaded the correct eMagiz Mendix connector (the latest version that is available for the Mendix version of our project and newer compared to the current one) we can open Mendix itself.
37
38 If you open your Project in Mendix you can navigate to the left-hand panel called "Project Explorer". In this panel, you see all modules (box icons) that are currently in the project.
39 In Project Explorer, right-click and choose the option "Import module package..."
40
41 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-update-emagiz-mendix-connector--import-module-package.png]]
42
43 In the pop-up that follows select the correct eMagiz Mendix Connector version and press Open / Openen (depending on the language settings of your PC)
44
45 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-update-emagiz-mendix-connector--import-module-package-selection.png]]
46
47 As a result, Mendix will show you the following pop-up. In this pop-up you press Import and Mendix will import the eMagiz Mendix Connector for you.
48
49 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-update-emagiz-mendix-connector--import-module-package-replace-existing-module.png]]
50
51 You may be prompted with a warning pop-up the moment you update to a newer version. Make a screenshot and press OK.
52
53 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-update-emagiz-mendix-connector--import-module-package-java-update-warning.png]]
54
55 === 3.3 Cleaning up the project
56
57 After you have updated to a new version of the eMagiz Mendix Connector you must clean the project before you do a new commit.
58 Otherwise, it can happen that the communication between Mendix and eMagiz will take place based on the old instead of the new version.
59
60 ==== 3.3.1 Run the eMagiz Cleanup Tool
61
62 When you navigate to **Project -> Show Project Directory in Explorer -> resources** you will see one Jar file which you can run called the emagiz-cleanup-tool.
63
64 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-update-emagiz-mendix-connector--emagiz-cleanup-tool.png]]
65
66 Run this cleanup tool by double-clicking on it to make sure that all ties to the old eMagiz Mendix Connector version are cut. In the pop-up that follows select the button Cleanup
67
68 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-update-emagiz-mendix-connector--emagiz-cleanup-tool-result.png]]
69
70 After you have pressed Cleanup eMagiz will tell you whether or not this has succeeded. Below you see a successful result
71
72 [[image:Main.Images.Microlearning.WebHome@novice-mendix-connectivity-update-update-emagiz-mendix-connector--emagiz-cleanup-tool-success.png]]
73
74
75 ==== 3.3.2 Cleanup Deployment Directory
76
77 As the pop-up states, the next step to finish up the update of your eMagiz Mendix Connector is to clean up your deployment directory.
78 You can simply do this by navigating to **Project -> Clean Deployment Directory** and selecting that option.
79
80 Congratulations, you have successfully updated your eMagiz Mendix Connector to the latest available version.
81
82 == 4. Key takeaways ==
83
84 * The crucial part of updating an eMagiz Mendix Connector is to select the correct version that will work with your Mendix project
85 ** To select the correct eMagiz Mendix Connector version look at the Mendix version your app is running in (8.0.0+,7.0.0+, etc.) and look at which of the versions eMagiz has released is the newest version (that is newer compared to the current version).
86 * The actual installation in Mendix is simply importing a module package and selecting the correct one. As easy as can be.
87
88 == 5. Suggested Additional Readings ==
89
90 If you are interested in this topic and want more information on it please read the release notes provided by eMagiz that accompany the eMagiz Mendix Connector version you have selected.
91
92 )))((({{toc/}}))){{/container}}{{/container}}