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

Input from custom login check

$
0
0
I was wondering if it was possible to check user input from custom login screen (the login data are already created and saved in an entity) and authenticate while clicking on the login button.  If the inputted values are true go to page1 or if not stay on same page with an error. My plan was to check the user input with the entity where the data is saved. I hope that I have expressed my question well

MxBuild error : App with addon custom widgets

$
0
0
I am facing following error when I try to create deployment package using MxBuild . Error is clearly about the custom widgets used in app. I am using sample app available on app store named as ‘’Budgets”. This app uses custom widgets. If I create deployment package using modeler, then there is no issue.  What is going wrong here ?

Not able to add attribute for radio buttons

$
0
0
Hi Team,   Please help me on this,   Scenario :  I have created a page for online test, Where I have question list and option list loaded from the database. I have created the Listview to show the question and trying to add radio buttons to show the options. But I am not able to add attribute list for the options. Please help me on this.      

[SAP Cloud Platform] Error 560 - The given object is not a Administration.Account

$
0
0
Hi everyone, After downloading the Beta Version of the Mendix 8.0 Studio Version and redeploying the application to a Test Space, I’m getting the following error: ERROR - Connector: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.IllegalArgumentException: The given object is not a Administration.Account 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] Caused by: java.lang.IllegalArgumentException: The given object is not a Administration.Account 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at administration.proxies.Account.<init>(Account.java:58) 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at administration.proxies.Account.initialize(Account.java:76) 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at sapauthentication.actions.StartXsuaaIntegration.createOrUpdateUser(StartXsuaaIntegration.java:303) 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at sapauthentication.actions.StartXsuaaIntegration.access$600(StartXsuaaIntegration.java:53) 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at sapauthentication.actions.StartXsuaaIntegration$2.processRequest(StartXsuaaIntegration.java:111) 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) 30 May 2019, 14:20:35 (GMT+02:00) STDOUT [APP/PROC/WEB/1] at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72) Even after deploying an older version of the application created by the older Modeler, I’m getting this error. Has anyone the same issue and can help? Best, Laura

AppCloudServices questions

$
0
0
Does the SSO that AppCloudServices provides use OpenID 2.0 or OpenID Connect? For configuring SSO with AppCloudServices (https://docs.mendix.com/developerportal/deploy/integrate-with-mendix-sso), please help me understand the purpose for using AppCloudMasterLayout?   Thank you!

Drop Downs Not Selectable on Mac Chrome (Stuck on first option)

$
0
0
Users Machine: Macbook/Mojave 10.1.405 Browser: Chrome 74.0.03720.169 We have added a bit of Javascript to the app to remove the Blank space in drop-downs and replace them with “Select”. We had to use an Interval because depending on when the page loads we have to catch the data in the Drop-down. This isn’t a problem in any browser or OS other than what is listed above. The issue is that in that specific OS/Broswer the drop-downs are not responsive. The user cannot select anything other than the first option. setInterval(function() {      $(".form-control").children('option[value=""]').html("Select"); }, 1000);

Creating Application to match skills with employees.

$
0
0
When selecting an employee from a list I would like my application to list all the skills associated with that specific employee. I would also like this to be done from the skills required of a specific job application. The end goal is to be able to match the employee skills with the job requirements to find the best fit candidate. Being able to personalize a list of skills from a dropdown menu to match the job description would also be helpful. If anyone has any insight please let me know. 

Trying to show images related to an entity of an entity

$
0
0
Hi, here is my domain model I need to view the activityimages when I am on a page connected to entity workouttracker The workouttracker is linked to the activityinventory entity to get the activityinventory Which turn the image is found using activityinventory id     on this page, I have added a data view to retrieve the list of images related to the activity inventory item selected and displayed on this page  Is this the right way to do it? Using this method I need a microflow that receives the workouttracker entity and should return the list of corresponding images         I am having trouble return the list of images  Please advise, Daniel  

How to avoid duplicate files uploaded to Mendix using System.FileDocument

$
0
0
Hi, I am using   MyDocument → ( System.FileDocument)  entity to upload the XML file into Mendix system. During upload , I am selecting name and  Browse / path for the file and clicking Save button to save the document into  System.FileDocument.   If the same file is being uploaded one more time then system should not upload the document rather it would say file is already uploaded etc.  For this requirement , I have added a MicroFlow → Onclick of Save button to check whether System.FileDocument table has the file name equals to MyDocument file name ( The one going to be uploaded) and based on that deciding if this file can be uploaded or not. But While entering into my MicroFlow ( On click save)  itself the System.FileDocument table has the new file already uploaded. Does any one know how to avoid duplicate file is being uploaded. Appreciate your inputs / help on this.

MX8 - How to get 'this' in nanoflow javascript actions?

$
0
0
Morning I’ve been playing with the new JS actions in Nanoflows, glad to finally have them. Has anyone found a way to get ‘this’, or get the element calling the nanoflow? For example, I want a button to call alert(this.id); as a foundation, but calling this right now just returns an alert with the message “undefined”. Anyone had any luck with this? Cheers  

Error when Run Locally from Mendix Studio Pro: Connector: 404 - file not found for file: styles/login.css

$
0
0
Hello, has anyone know about this error message that keep on showing when you are doing Run Locally ? Apart from Error message, I think the application was running fine.. it made me even curious.   Thanks in advance..

My First Application - Tour

$
0
0
Hello everybody, I’m trying to do the tutorial but there’s a missing banner in the tour and I don’t know how to follow… an the application que with errors and loops… Any Idea? Thanks

Missing feature in module 4 of the developer learning path, is it correct?

$
0
0
I just finished up to module four of the developer learning path. I’ve noticed that two buttons aren’t implemented yet and give me warnings. Edit and Delete for attendees in the training event created. Are those treated along the way, or are they just missing?  Thanks in advance.

Object Parameters

$
0
0
Hi I'm not sure if this is a non standard use if object parameters, but… Scenario Page A based on Entity A - invokes a microflow that opens Page B based on Entity B Question Is there any way to pass Page A’s current object to Page B, such that Page B call invoke a microflow that acts on the original current object in Page A?   Or put another way: - is there way around the “page was expecting object if type B“ error? - and if so, how long does a passed parameter remain available in the called page?   Thx!

Odata - How create mendix app to view data from third-party application

$
0
0
What specific training exist that study to create an web application use data from third-party application use odata. For example I can get data from Simatic IT use Postman with odata … Can I coded mobile web app with mendix to view Simatic IT data?

Dropdowndivconverter links not working

$
0
0
Hi all, I have a situation with DropdowndivConverter. It is showing what I need but the links/buttons refuse to work. I have no message in console nothing. Anybody had that before?  Any help would be appreciated.  Please see below screenshots and the widget configuration.    Thank you

Component bundles are not loaded

$
0
0
Hi, has anyone ever had the error "Component bundles are not loaded" when you run the version 5.1.1 of the modeler? If there's a solution to this please help. This happens every second time when I try to run the modeler after making changes to the project. The log node is M2EE and the message is Component bundles are not loaded. Thanks.

Repost: Survey Study: Forum Usefulness

$
0
0
Dear forum user, I am currently writing my master thesis about knowledge sharing systems, with as a case study the Mendix forum. In my research I study possible antecendents to the perceived usefulness of this forum and how this relates to actual forum use. The link depicted below will redirect you to a survey containing questions which capture related and relevant concepts.  https://erasmusuniversity.eu.qualtrics.com/jfe/form/SV_8AeHjeH3ywesv1b Filling in this survey will approximately take 4 minutes. In return, one contributor will be randomly chosen and gifted a, take a <br/> from code shirt, available in the Mendix Shop. If you wish to participate, you can leave your e-mail address in the survey.  Please note that this is an anonymous survey and that your answers will be treated confidentially.  Thanks in advanced and kind regards, Maurits

A simple custom log-in page

$
0
0
I know this question has appeared umpteen number of times in the forum. But here it is, yet again. Can anyone please help me in understanding how to build a simple log-in page, wherein I am not using the default authentication provided in the platform; but I would prefer to use registration into the app and authenticate registered users to access the app. I’ve been trying to use microflows, that is, I am trying to trigger a microflow that validates a user on click of a button(am not using Sign-In button or login form). My doubt here is: How to access the form variables in a microflow, so that I can check them with database values? All I can see is current_user, which is not what I’d validate the DB values with.    

Productivity tips and tricks when working with Mendix, what are yours?

$
0
0
I use a lot of tricks when working everyday with all of the features of the Mendix Platform so I would like to share these with you. Please let me and the community know what your tips and tricks are below (as answer) I deploy from the modeler. Saves switching to the browser, click Create package, select correct branch etc. Just click on Team->Deploy to licensed cloud and press deploy. Only you have to do is transport it to the correct environment. Choosing this would be a nice feature (placed it on the idea forum) Restore full backups from the cloud with a batch script (see scripts). It saves you opening PGadmin, search your database, backup it, delete it, create new, find your backup and restore it. Simply drag your downloaded backup onto the batch script a hit the magic 'Any key' :) Restore databases also with a script. Set you mousewheel on double click or a custom button if you have a fancy gamers mouse ;) Learn to do as much as possible with your keyboard. Ctrl+Enter is I guess the most used combination I use during the day (inspired by https://www.mendix.com/blog/6-mendix-shortcuts/) Use in the WIndows Explorer the feature Quick access (or pinned folders) and drag your running project folders there for quick access to your projects. With widget development I use grunt or semi automated with a batch script for packaging you widget into a .mpk (see scripts ) Shotcuts in your browser bookmark bar, quickly open your common locations like http://localhost:8080/login.html Turn off e-mailnotifications or check less frequent. E-mail distracts you from focused modelling Greenshot is the best (free) screenshot tool there is (http://getgreenshot.org). It has a lot of features. If you want to attach a screenshot to your userstory press PrntScrn, Greenshot saves it always on the same location (which is also in the Quick Access of the Windows Explorer ;-)) Use a password manager for quick and secure login in your applications. Even during development you can use this. We use LastPass and even share project folders for easy sharing credentials. Trust me this saves a lot of time. I measure my performance, activities and distractions with RescueTime on my work laptop and this gives me interesting insights in my daily work. Do you have more tips or tricks when working everyday with Mendix?
Viewing all 73361 articles
Browse latest View live




Latest Images