Marketplace Content Support
Presents information on the Marketplace content support.
This how-to covers the basics of accessing the Marketplace from Studio Pro and provides examples of how to add a widget and a module to your application.
This how-to teaches you how to do the following:
There are three ways to install a Marketplace component, which are described in the sections below.
To download content in Studio Pro 9.19 and above, follow these steps:
Open Studio Pro and sign in with your Mendix credentials.
Open the app in which you want to install the component from the Marketplace.
To open the Marketplace in Studio Pro, you can either click the View menu in the top bar and select Marketplace, or you can click the Marketplace icon on the right side of the top bar
The Marketplace pane opens.
You can explore Marketplace content in the following ways:
Select a component from the pane to see its details:
The details presented here correspond to what you see on the component details page in the online Mendix Marketplace.
Click Download to download the component. The correct version of the component that is compatible with your Studio Pro version is integrated directly into your application (for widgets, version compatibility is not applicable). By default, the highest correct version of the component is downloaded. If you want to download an older component version, go to the Releases tab and click Download for the desired version.
Depending on whether the component is a widget, a module, an extension, (which is a special type of module), or an app, go to one of the sections below:
If you download a widget, a pop-up window states the module was successfully imported. Click OK, and you can find the imported widget in the Toolbox.
If you download a module, the Import Module dialog box opens, where you should perform the following steps:
Select one of these options:
Add as a new module (default option when the module is downloaded to your app for the first time ) – if you select this option, new entities and attributes are created in your app.
Replace existing module (default option when the module already exists in your app) – if you select this option, you need to specify which Module to replace
Click Import.
Wait until a pop-up window states that the module was successfully imported. Click OK. You can find the imported module in the App Explorer.
If you download an extension, a warning dialog box opens.
If you trust the extension, click Trust module and enable extension.
If you decide to not trust the extension, you will get asked whether or not to trust the extension every time you reload the application.
Click OK in the confirmation pop-up window. Your extension is now installed and is ready to use. Depending on the extension that you have installed, the functionality appears in a certain location of your app. Read the extension-specific documentation to get more information on how to use it.
If you do not want to trust the extension and would prefer to remove the extension altogether, you can remove the add-on module that was added.
If you download an app, the Download Marketplace App dialog box opens, where you should perform the following steps:
Select where the app should be stored: New Mendix Team Server, Existing Mendix Team Server, or Locally on disk.
Configure the necessary settings based on your storage choice.
Click OK.
After the app is downloaded, it opens automatically in Studio Pro.
To download content in Studio Pro 9.18 and below, follow these steps:
Open Studio Pro and sign in with your Mendix credentials.
Open the app in which you want to install the component from the Marketplace.
Click the Marketplace icon in the top menu bar to open it in Studio Pro. The Marketplace opens within Studio Pro. The Categories menu item on the left side gives an overview of which types of content are available.
Use the Search bar to find the component that you want to download. Note that results for Marketplace content searches within Studio Pro may differ from those in the online Marketplace due to synchronization issue.
Click the component (or the Read more button on the right side) to show the details of the component.
Click Download to download the component. The correct version of the component that is compatible with your Studio Pro version is integrated directly into your application (for widgets, version compatibility is not applicable). By default, the highest correct version of the component is downloaded. If you want to download an older component version, go to the Releases tab and click Download for the desired version.
Depending on whether the component is a widget, a module, or an app, go to one of the sections above:
To import content downloaded from the online Mendix Marketplace into Studio Pro, follow these steps:
Go to the Marketplace and sign in with your Mendix credentials.
Search in the online Marketplace for the component you want to download and open the component details page.
Check Usage > Version to see the required Studio Pro version for the component. Do not download a component that requires a higher version than the one you are using.
Go to the Releases tab and Download the desired version. Mendix recommends using the latest version of the component if possible.
In the App Explorer, right-click the app, then click Import module package, and select the component you downloaded:
The Import Module dialog box opens.
In the Import Module dialog box, select one of these options:
Add as a new module (default option when the module is downloaded to your app for the first time ) – if you select this option, new entities and attributes are created in your app
Replace existing module (default option when the module already exists in your app) – if you select this option, you need to specify which Module to replace
Click Import.
Wait until a pop-up window states that the module was successfully imported. Click OK.
You can find the imported module in the App Explorer.
To manually add content downloaded from the online Mendix Marketplace into Studio Pro, follow these steps:
You can find the added widget in the Toolbox or the added .mxmodule in the App Explorer.
After you download a component, you can use the component in your app. For detailed information on how a component works, check the Documentation tab on the page of the component in the Marketplace.
After you install the widget from the Marketplace in your app, there are two ways to add the widget from the Marketplace via Studio Pro.
To add a widget from the Toolbox, follow these steps:
Open the page where you want to add the widget.
In the Toolbox, search for the name of the widget (for example, Rating to find the widget):
Drag the widget to the place on the page where you want it to be.
To add a widget using the Add widget option from the toolbar, follow these steps:
Click Add widget on the toolbar on the page where you want to add the widget. The Select Widget dialog box opens.
In the Filter bar, enter the name of the widget, for example Rating, to find the widget.
Click the widget and then click Select.
In the page, click where you want to drop the widget. The widget is added to the location where the mouse pointer is.
To update the widget in your app to a newer version, go to the Marketplace to download the right version, and install it in your app.
In the scenario where you have an app with multiple languages in which you need to update an imported Marketplace widget that only comes with one language and where you have manually added translations for the additional languages you need, you can maintain the additional translations by following these steps:
After you place the widget in your page, some new errors can appear in the Errors pane. That is because you still need to configure the widget. In this procedure, the Ratings widget is used as an example.
To configure the widget, follow these steps:
Go to the Errors pane and check the error message. This error shows after you drop the Rating widget into the page:
In the page, double-click the Rating widget. The Edit Rating dialog box opens and the Attribute field shows (none) – this means that no attribute is assigned, which causes the error.
Click Select to select an attribute. In this example, we select the attribute ProductRating. This is the attribute of an entity that we already created.
In the Edit Rating dialog box, click OK. The error in the Errors pane disappears.
After you install a module in your app, you can use it.
A module downloaded from the Marketplace has a light blue icon to differentiate it from the development modules.
To update the module in your app to a newer version, follow these steps:
Before downloading the newer version, remove all the Java libraries that are only used by this module from the userlib folder in your app directory. Java libraries are accompanied by a blank [Module].RequiredLib file. This will help you identify by which module the Java libraries are used. Doing this prevents you from ending up with having conflicting Java libraries which cause unexpected issues.
Go to the Marketplace to download the right version and install it in your app. When the Import Module dialog box opens, select Replace existing module and click Import.
Check the userlib folder in your app directory for duplicate Java libraries. If your userlib folder contains multiple versions of the same Java library, it is usually safe to delete the old ones and keep only the new one.
In the scenario where you have an app with multiple languages in which you need to update an imported Marketplace module that only comes with one language and where you have manually added translations for the additional languages you need, you can maintain the additional translations by following these steps:
Each module that you download from the Marketplace is different. Some modules can cause errors because they are connected to other modules. For example, after you download the Database Replication module, you also need to download the Mx Model Reflection module to accomplish the configuration. If you run into any problems, always check the Documentation tab on the page of this module in the Marketplace for installation guidelines and details on any dependencies.
Keep in mind that some modules you can download may come with their own user roles. If the Security level of your app is set to Prototype/demo or Production, you need to map the module roles to the applicable user roles in your app.
Downloading a starter app (via Create New App) creates a new app structure in the storage location that you select. After you click Download, a window will appear where you can specify how the app should be created.
To remove a widget from your app, follow these steps:
To remove a module and user data from your app, follow these steps:
In the App Explorer, find the module that you want to delete.
Right-click the module and select Delete from the pop-up menu. A warning pop-up window opens.
When you are sure that you want to delete the module and existing user data, click Delete module and user data.
Presents information on the Marketplace content support.
Presents details on the partner solutions available in the Mendix Marketplace.