Quantcast
Channel: Mendix Forum Questions
Viewing all 83469 articles
Browse latest View live

Mendix Integration With External Apps

$
0
0
HI All, Could use some guidance. Needing to solve the following situation: There will be an external app, that will send a Document ID of some sort to my Mendix App. Which will then search our underlying database for the correct information, using that Document ID (Looking for a URL). The Mendix App will then redirect the user to a that corresponding external website (website is not in Mendix  app).   At first glance, this would sound like a REST API call. But we are needing the Mendix app to take on all functionality once the External app hits the Mendix layer. Also, Ideally we would not want the user to see the Mendix App at all (Kicking off Mendix App via a microflow being called as the default upon app startup).   Any ideas on how to best retrieve the Doc ID from the External App? Ideally the external app would redirect to my Mendix App, with the Doc ID in the URL as a parameter

Sending and receiving MTOM attachments in REST

$
0
0
Hello everyone, I would like to send an attachment from Mendix application as an MTOM document to another system using the REST service call and also want to receive the attachment back as an MTOM document from another system to the Mendix app. After doing some reason, I understand that it's possible to achieve it using a WebService call. Wondering if this can be done with REST call.   Thanks in advance, Pranay

How to correctly design domain models?

$
0
0
Hello Forum, I am relatively new to Mendix, and I am coming over from a world of programming with Java and JavaScript. But, with the brief time I have spent on Mendix, I realize that the full benefits of this no code/low code development hinges a lot on how the domain model is designed. Correctly designed domain models can simply make the development and maintenance experience joyful with Mendix or can turn it into a not so joyful experience!  Can you direct me to some resources (trainings, blogs, articles, case studies, etc) that would help me learn how to create domain models correctly in Mendix, I would be very grateful. I apologize if this question has been asked before here.  Thanks in advance. Regards, Sunil George.

Can't preview or publish after update mendix studio "build an app" class

$
0
0
After chapter 5 in the “build an app with mendix studio” learning path I couldn’t preview or publish the app anymore. Chapter 6 is to publish the app (SLA dashboard). Before the update (8.7.0?) I could preview the app and everything worked fine, no errors. After the update I couldn’t preview or publish anymore. I now have 8 checks/errors. And when I want to click publish it says to update the app..  The error codes are: CE6083 and CE6085 – and if I click on the errors it says “The selected document type can only be edited using Mendix Studio Pro.”  Does anyone know how to solve this? 

Capturing user input and storing on entity that is connected over association

$
0
0
Hello, I am trying to capture user input on few of the fields, these fields are attributes (string) of another entity that is connected with main entity via 1-* relationship so I can pick up the attribute as a data source in my input text box but when I run this locally, this input field is disabled from making any changes hence I cannot capture the input. Mind you, the input text box I have connected to an attribute that is part of the the same main entity works fine. Here is an example: - I have one main entity (I call it main since it is the most important one) called “Request” with attributes like “Title”, “Description” and these text boxes are editable - I have two other entities “RequestOffice” and “IssueOffice” with attributes like “RequestOfficeID”, “RequestOfficeName”, “IssueOfficeID”, “IssueOfficeName” , etc. - Both of the RequestOffice and IssueOffice are connected to Request via 1-* association The users need to provide input via a form so I have built a form inside a DataView gird. The DataView grid has “Request” as the data source and when I create text box and select RequestOfficeID, RequestOfficeName, IssueOfficeID, which are available over association, and when I test this, it browser doesn’t allow me to provide input.   

Can't select an entity for an image viewer

$
0
0
I want to select an entity for an image viewer, but there is no entity to be chosen as shown in the following screenshot. because the button of the select is grey, I can’t choose. Does anyone know what’s the problem?

Attachments Names in IMAP POP3 Mail Receiver Module in Menidx

$
0
0
I am using IMAP POP3 Mendix Module in my project . I have some pdf/word docs as attachments in mail .  With english names for the documents attached is working fine . But the attachments with arabic Name  leads some issues like below: Name of the attachment get Corrupted after mail received in my mendix project  And even doc lost its type . Is there any ways to get the docs with its name in arabic using IMAP POP3 

Canary Deployment

$
0
0
I have a single code base for a Mendix application. However, I want to deploy this application in Europe so that each country receives its own instance of this Mendix application. Is this possible? Has anybody done something like this? With such deployment I can choose a country to test new features; once the features are accepted by the public, I can push the code to the rest of Europe.

Testing a Mobile Native App

$
0
0
I have a problem testing a mobile native app using the “Make it Native” app on my mobile device. When I scan the QR-Code, it gives an error “unable to load script”. Is there a way I can use to solve this and be able to test my app?

Can Mendix desktop application support Web Push notification

$
0
0
Our applications need push notification to user browser when user is online, I checked Mendix mobile application can use FCM to push notification to mobile device,  can Mendix web application integrates FCM? is there any document or examples about it? Thanks.  

Mendix on MAC

$
0
0
Hi! I can’t seem to download Mendix on MAC, does anyone know a way around this? I also tried opening it on a virtual computer lab, but it’s giving me a hard time on there too. Please help!

Unable to upload file

$
0
0
Hello guys, I'm working on some import XML functionality and I'm unable to upload file through the file manager.  When I click on upload I don't get anything. Is there any idea why this is not working?  Also when I turn off the project security, it doesn't work.  Thanks in advance, Kind regards, Aleksandar Alempic

How to Associate Separate Form Pages for an Application

$
0
0
I am working on a project where we have 8 different sections of an online application, each “part” of which is collected as a separate forms page. I have associations setup (some are one to one, others one-to-many) but I am confused as to how this associations will relate each part of the application back to the user. As it sits, I have eight buttons where the user clicks in to a forms page, with it’s own model. If it were a single models for all 8 parts, I don’t think it would be as issue, but it seems that if I have a button create one object for section 1, then another for section, 2 and so on, there will be no association between the forms. I guess I’m expecting to see something along the lines of “Create Child Object for Parent Object”, so that there is some context for the association, but so far I have not been able to find something similar to this. Any assistance would be appreciated. 

Mendix 5.13.1

$
0
0
Hey all, I’m working with a customer and need to create a local instance of what they are doing to match production. Problem being that they are running Mendix 5.13.1, this isn’t supported any longer and I’m finding it difficult to track down. Anyone have the executable still that could share it with me?

Pie Chart - Show Data Label When Hovering?

$
0
0
Hi – I’m using the simple pie chart widget. Is there a way to show the data value when I hover over a slice?

' error while creating a custom widget

$
0
0
Hello Everyone, I’m a beginner in mendix field and I’m tring to build a custom widget following the instructions given in the learning path. https://gettingstarted.mendixcloud.com/link/module/134/lecture/1269   But according to the path, while running the command gulp  it should run properly but I’m getting an error : PS C:\Users\Gayatree\test-widget\enter-to-action> gulp [13:11:28] Using gulpfile ~\test-widget\enter-to-action\gulpfile.js [13:11:28] Starting 'default'... [13:11:28] Starting 'build'... [13:11:28] Starting 'compress'... [13:11:28] Starting 'clean'...    [13:11:28] Finished 'clean' after 20 ms [13:11:28] Starting '<anonymous>'...    [13:11:28] Finished '<anonymous>' after 127 ms [13:11:28] Finished 'compress' after 178 ms [13:11:28] Finished 'build' after 181 ms [13:11:28] Starting '<anonymous>'... [13:11:28] '<anonymous>' errored after 1.77 ms [13:11:28] Error: watching ./src/**/*: watch task has to be a function (optionally generated by using gulp.parallel or gulp.series)     at Gulp.watch (C:\Users\Gayatree\test-widget\enter-to-action\node_modules\gulp\index.js:31:11)     at C:\Users\Gayatree\test-widget\enter-to-action\gulpfile.js:47:14          at bound (domain.js:419:14)     at runBound (domain.js:432:12)     at asyncRunner (C:\Users\Gayatree\test-widget\enter-to-action\node_modules\async-done\index.js:55:18)     at processTicksAndRejections (internal/process/task_queues.js:76:11)    [13:11:28] 'default' errored after 220 ms   I have attached the  index.js  'use strict'; var util = require('util'); var Undertaker = require('undertaker'); var vfs = require('vinyl-fs'); var watch = require('glob-watcher'); function Gulp() { Undertaker.call(this); // Bind the functions for destructuring this.watch = this.watch.bind(this); this.task = this.task.bind(this); this.series = this.series.bind(this); this.parallel = this.parallel.bind(this); this.registry = this.registry.bind(this); this.tree = this.tree.bind(this); this.lastRun = this.lastRun.bind(this); this.src = this.src.bind(this); this.dest = this.dest.bind(this); this.symlink = this.symlink.bind(this); } util.inherits(Gulp, Undertaker); Gulp.prototype.src = vfs.src; Gulp.prototype.dest = vfs.dest; Gulp.prototype.symlink = vfs.symlink; Gulp.prototype.watch = function(glob, opt, task) { if (typeof opt === 'string' || typeof task === 'string' || Array.isArray(opt) || Array.isArray(task)) { throw new Error('watching ' + glob + ': watch task has to be ' + 'a function (optionally generated by using gulp.parallel ' + 'or gulp.series)'); } if (typeof opt === 'function') { task = opt; opt = {}; } opt = opt || {}; var fn; if (typeof task === 'function') { fn = this.parallel(task); } return watch(glob, opt, fn); }; // Let people use this class from our instance Gulp.prototype.Gulp = Gulp; var inst = new Gulp(); module.exports = inst;   I have also attached the gulpfile.js file  // Generated on 2020-02-13 using generator-mendix 2.2.5 :: git+https://github.com/mendix/generator-mendix.git /*jshint -W069,-W097*/ "use strict"; // In case you seem to have trouble starting Mendix through `gulp modeler`, you might have to set the path to the Mendix application, otherwise leave both values as they are var MODELER_PATH = null; var MODELER_ARGS = "/file:{path}"; /******************************************************************************** * Do not edit anything below, unless you know what you are doing ********************************************************************************/ var gulp = require("gulp"), zip = require("gulp-zip"), del = require("del"), newer = require("gulp-newer"), log = require('fancy-log'), colors = require('ansi-colors'), plumber = require("gulp-plumber"), gulpif = require("gulp-if"), jsonTransform = require("gulp-json-transform"), intercept = require("gulp-intercept"), argv = require("yargs").argv, widgetBuilderHelper = require("widgetbuilder-gulp-helper"), jsValidate = require("gulp-jsvalidate"); var pkg = require("./package.json"), paths = widgetBuilderHelper.generatePaths(pkg), xmlversion = widgetBuilderHelper.xmlversion; gulp.task("clean", function () { return del([ paths.WIDGET_TEST_DEST, paths.WIDGET_DIST_DEST ], { force: true }); }); gulp.task("compress", gulp.series("clean", function () { return gulp.src("src/**/*") .pipe(zip(pkg.name + ".mpk")) .pipe(gulp.dest(paths.TEST_WIDGETS_FOLDER)) .pipe(gulp.dest("dist")); })); gulp.task("build", gulp.series("compress")); gulp.task("default", gulp.series('build', function() { gulp.watch("./src/**/*", ("compress")); gulp.watch("./src/**/*.js", ("copy:js")); gulp.watch("./src/**/*.html", ("copy:html")); })); gulp.task("compress", gulp.series("clean", function () { return gulp.src("src/**/*") .pipe(zip(pkg.name + ".mpk")) .pipe(gulp.dest(paths.TEST_WIDGETS_FOLDER)) .pipe(gulp.dest("dist")); })); gulp.task("copy:js", function () { return gulp.src(["./src/**/*.js"]) .pipe(plumber(function (error) { var msg = colors.red("Error"); if (error.fileName) { msg += colors.red(" in ") + colors.cyan(error.fileName); } msg += " : " + colors.cyan(error.message); log(msg); this.emit("end"); })) .pipe(jsValidate()) .pipe(newer(paths.TEST_WIDGETS_DEPLOYMENT_FOLDER)) .pipe(gulp.dest(paths.TEST_WIDGETS_DEPLOYMENT_FOLDER)); }); gulp.task("copy:html", function () { return gulp.src(["./src/**/*.html"]) .pipe(newer(paths.TEST_WIDGETS_DEPLOYMENT_FOLDER)) .pipe(gulp.dest(paths.TEST_WIDGETS_DEPLOYMENT_FOLDER)); }); gulp.task("version:xml", function () { return gulp.src(paths.PACKAGE_XML) .pipe(xmlversion(argv.n)) .pipe(gulp.dest("./src/")); }); gulp.task("version:json", function () { return gulp.src("./package.json") .pipe(gulpif(typeof argv.n !== "undefined", jsonTransform(function(data) { data.version = argv.n; return data; }, 2))) .pipe(gulp.dest("./")); }); gulp.task("icon", function (cb) { var icon = (typeof argv.file !== "undefined") ? argv.file : "./icon.png"; console.log("\nUsing this file to create a base64 string: " + colors.cyan(icon)); gulp.src(icon) .pipe(intercept(function (file) { console.log("\nCopy the following to your " + pkg.name + ".xml (after description):\n\n" + colors.cyan("<icon>") + file.contents.toString("base64") + colors.cyan("<\/icon>") + "\n"); cb(); })); }); gulp.task("folders", function () { paths.showPaths(); return; }); gulp.task("modeler", function (cb) { widgetBuilderHelper.runmodeler(MODELER_PATH, MODELER_ARGS, paths.TEST_PATH, cb); }); gulp.task("version", gulp.parallel("version:xml", "version:json"));   Please can anyone help me?

Docker Image Generation on Windows

$
0
0
Hi All, We are trying to generate the Docker image on the Windows Machin. Here are the steps which we followed. These are the documentations about Docker support of Mendix: we have gone through this. Build a Docker Image from a Mendix App Project: https://docs.mendix.com/developerportal/deploy/docker-deploy Run a Mendix Docker Image: https://docs.mendix.com/developerportal/deploy/run-mendix-docker-image   Post-reading the documents we have approached the same steps.  Here are the below questioned asked my self. Install Docker on your working machine: is your installation working properly?  Yes, working properly2. Unzip the Mendix Docker Buildpack in a location according to your choice: did you do this step properly?  yes this also done . Copy the project folder to the unzipped docker build folder: did you do this step successfully?   Yes, this also done. docker build command: if it fails, what kind of errors did you get?  Getting the below error.   D:\docker-mendix-buildpack-master>docker build --build-arg BUILD_PATH=DataImportSampleApp-main_3 -t testdocimage1.0 . Sending build context to Docker daemon  134.8MB Step 1/21 : ARG ROOTFS_IMAGE=mendix/rootfs:trusty Step 2/21 : FROM ${ROOTFS_IMAGE} trusty: Pulling from mendix/rootfs image operating system "linux" cannot be used on this platform D:\docker-mendix-buildpack-master> Thanks in advance and help is very much requried, we could not able to move forward.  

Compare data fields while Importing from excel sheet

$
0
0
Hey everyone.. I’m facing a problem in Comparing the already imported excel sheet values and the newly(modified) excel sheet values.. How to compare and highlight the modified data fields in the mendix grids..? help me out please...

Excel Importer

$
0
0
I was trying to import Excel document in my application and it shows so many errors stating The selected entity “MxModelReflection.MxObjectType” is no longer exists.   what should i need to do now..? can anyone help me out please? There were 370 errors  version 8.5.1

Integrating Mendix application with AQM module

$
0
0
Where can I find in detailed documentation about AQM How to configure AQM module with Mendix application Note: I'm working with a free app. Only able to find few documentations about specificity of AQM but not the AQM(part of pricing list) module in the app store modules and the configuration details.
Viewing all 83469 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>