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

Is there a way to handle the erro 'Error, contact your system administrator' due to the internet connectivity issues?

$
0
0
Hello All, Is there a way to handle the erro 'Error, contact your system administrator' due to the internet connectivity issues? I know in the microflow we can handle the error scenarios. But we have some users who might access the application from poor network and this error is causing confusion. Is there a way to handle this error or notify the user that the connectivity is poor?

Native mobile app builder fails

$
0
0
I upgraded a Mendix app from 8.18.16 to 9.24.5 and tried to build a native Android app. I also selected a new GitHub repository and upgraded the native template to 7.0.5. The build fails while it worked fine in version 8. Below a snapshot of the log file: 2023-08-25T10:51:27.5314640Z Project nativeTemplate at : is either no Android app project or build version has not been set to override. Skipping... 2023-08-25T10:51:28.3342450Z 2023-08-25T10:51:28.3359390Z > Configure project :app 2023-08-25T10:51:28.3366420Z Project app at :app is either no Android app project or build version has not been set to override. Skipping... 2023-08-25T10:51:28.3366810Z 2023-08-25T10:51:28.3367240Z FAILURE: Build failed with an exception. 2023-08-25T10:51:28.3367560Z 2023-08-25T10:51:28.3367900Z * Where: 2023-08-25T10:51:28.3368620Z Build file '/Users/runner/work/1/s/android/app/build.gradle' line: 1 2023-08-25T10:51:28.3368950Z 2023-08-25T10:51:28.3369330Z * What went wrong: 2023-08-25T10:51:28.3369890Z A problem occurred evaluating project ':app'. 2023-08-25T10:51:28.3370540Z > Failed to apply plugin 'com.android.internal.application'. 2023-08-25T10:51:28.3371040Z > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8. 2023-08-25T10:51:28.3371720Z Your current JDK is located in /Users/runner/hostedtoolcache/Java_Temurin-Hotspot_jdk/8.0.382-5/x64/Contents/Home/jre 2023-08-25T10:51:28.3372240Z You can try some of the following options: 2023-08-25T10:51:28.3372780Z - changing the IDE settings. 2023-08-25T10:51:28.3373350Z - changing the JAVA_HOME environment variable. 2023-08-25T10:51:28.3380670Z - changing `org.gradle.java.home` in `gradle.properties`. 2023-08-25T10:51:28.3387100Z 2023-08-25T10:51:28.3404550Z * Try: 2023-08-25T10:51:28.3462440Z > Run with --stacktrace option to get the stack trace. 2023-08-25T10:51:28.3470130Z > Run with --info or --debug option to get more log output. 2023-08-25T10:51:28.3493570Z > Run with --scan to get full insights. 2023-08-25T10:51:28.3493990Z 2023-08-25T10:51:28.3551940Z * Get more help at https://help.gradle.org 2023-08-25T10:51:28.3552480Z 2023-08-25T10:51:28.3552950Z BUILD FAILED in 1m 14s 2023-08-25T10:51:29.4393660Z Error: /Users/runner/work/1/s/android/gradlew failed with return code: 1 2023-08-25T10:51:29.4437780Z at ChildProcess. (/Users/runner/work/_tasks/Gradle_8d8eebd8-2b94-4c97-85af-839254cc6da4/1.128.0/node_modules/vsts-task-lib/toolrunner.js:569:30) 2023-08-25T10:51:29.4475980Z at emitTwo (events.js:106:13) 2023-08-25T10:51:29.4495640Z at ChildProcess.emit (events.js:191:7) 2023-08-25T10:51:29.4511850Z at maybeClose (internal/child_process.js:920:16) 2023-08-25T10:51:29.4539510Z at Socket. (internal/child_process.js:351:11) 2023-08-25T10:51:29.4568370Z at emitOne (events.js:96:13) 2023-08-25T10:51:29.4603880Z at Socket.emit (events.js:188:7) 2023-08-25T10:51:29.4626950Z at Pipe._handle.close [as _onclose] (net.js:509:12) 2023-08-25T10:51:29.4862380Z ##[error]Error: /Users/runner/work/1/s/android/gradlew failed with return code: 1 2023-08-25T10:51:29.4917550Z ##[section]Finishing: Gradle Task

Use of Import mapping And Export Mapping

$
0
0
I want to know what is use of Import mapping And Export Mapping while implementing Rest API , Why it is used?

background-image : url(");

$
0
0
Hi guys, Anyone know how to fill the background image? I have try use the background-image css, retrieved from project directory resources folder and still did not get the solution. I want add image to the blue background. Anyone has idea?

Cant upload files with file manager

$
0
0
I am making a project with the following entities: a student, a studentassistant. if a student login then he goes to a form page. if the studentassistant logins then he goes to a studentassistant home page. i made a microflow to check if the user logging in is a student or studentassistant. this works well. the problem i encounter is that for the student page there is a form to fil in. here the student has some options to answer. the student also needs to upload back/front of his identification and here it goes wrong. i put a data view and set the entity as page parameter student. but some how the file manager wont be connected to the database.

Free 10.6.9 app upgraded to JDK21 still uses Gradle 7.6.3 on MX cloud

$
0
0
I upgraded Mendix IDE to 10.6.9. I took an existing free application which was using JDK11. I upgraded JDK to OpenJDK21 and Gradle to 8.7 locally. The application builds and runs locally without an issue. When I deploy the application to Mendix cloud, I am getting the error 'Could not open proj generic class cache for build file' and Gradle apparently referencing version 7.6.3. My build fails. How do I recover from such situation? I also cleared deployment folder locally. Same result. MX 10.6.9. OpenJDK21.0.3_9. Gradle 8.7.

pagination in publishing APIS which are to be consumed in another project.

$
0
0
Hi Team, I need to implement pagination while publishing API in mendix. My output is in json format.

Formatting a PDF

$
0
0
I am working on creating a way to create a PDF from my app. I have been using the document template but I can't get things formatted the way I'd like. I've attached a screenshot of how it's supposed to look. My issues is that the more text I have the boxes will expand but I want the text to get smaller instead. The boxes on the page should never change and I can't figure out how to do that. Does anyone have any suggestions on how to do that with the document template? I've also been looking into the PDF Document Generation Widget if anyone knows how it could be done there. Thanks!

How to save reference selector table

$
0
0
Hi all, how to save reference selector table? The save button is not working. The button become dark green after I press it.

Return a Asset or User entity

$
0
0
I have a system that can find an asset OR user object based on a UUID. a MF only allows me to return 1 predefined obj. what is best practise regarding these kinds of issues? 1. create a NPE and return that, with user or asset associated, then if association != empty, then Asset, else user 2. return a string, something like 'A-$uuid' for asset and 'U-$uuid' for the user, and then have a split that reads the first letter, and then retrieve the correct obj. 3. something else?

How can I fix the CE1571 Error: No argument has been selected for parameter 'Token' and no default is available.Please select an argument manually.

$
0
0
Hello Mendix Developers, I'm relatively new to Mendix development and I encountered an error in Mendix in the EmailTemplate_NewEdit Snippet when I wanted to use the Email Connector module in my project. I have no clue how can I fix this. You can examine the problem in the following screenshot. I would greatly appreciate any advice, tips, or insights that you can offer. Thank you so much for taking the time to assist us with my question.

Show toast notification when click the button

$
0
0
Hello everyone, I want to show a toast notification when the button is clicked. I have also tried some toast widgets, but they don't work since most of them are triggered by data changes. Does anyone have a solution? Best Regards

Persistent login and user list across multiple apps

$
0
0
We are new to Mendix and want to break a large application created in OutSystems out into multiple apps on Mendix so it's not one monolithic app. However, whenever someone logs in on our site, we don't want them to have to login again if they move from one app on Mendix to another (which from the user perspective would be just opening a different page in the same site). We are going to use single sign on, however that may change in the future so don't want to depend on the authenticator for this but seeing if there is a way to do this just within Mendix so that if you sign in on one app (no matter how authenticated), how to make this persistent across any other apps that are then opened in the same browser. We do plan on having a shared external database used by all of the apps for the user list, if possible, so that the user lists are not having to be replicated/updated between apps. Has anyone done this already and found a way to get it to work?

Drawer Function in normal page

$
0
0
Does Mendix can achieve drawer function in normal page? like this link. I only know in the layout this way can be used.

Unable to Download Certificate

$
0
0
On Friday i have done my Mendix Intermediate Exam very well...I got the 82%.But the certificate has not shown from Friday onwards How can i download the certificate...Please let me know the details. i have already droped a mail two times to academy but no response

Graph hover is not showcasing the data correct way

$
0
0
Hi Team, Graph hover is not showcasing in the correct way. When we move the curser on the column chart the hover is not showing the information at correct place. Please refer below diagram the curser position at dec-24 but showing the data for Nov 24. Is there any way to fix this issue when we hover at the correct place it shows the information for that place only.

Unable to place conditions

$
0
0
Hi everyone, I'm in the Create an App with Advanced Page Building module in part 2.3.1. It shows to put a true and false condition value. But the option of “condition value” is disabled for me. How to fix it? In this photo is how it is. In this other one is how the microflow should be. Underline the conditions in red.

Changing the chart widget settings

$
0
0
Hello, i'm using mendix version 10.9.0. Hi, I'm heaving some issues finding how to change some more detailed settings on mendix's line chart widget. What i want to do is to force mendix to only put only integer numbers in the Y labels. Here's a screenshot for context: Here I don't want mendix to display the circled numbers. Also i'd like to change the position of the series names, I'd like to put them on the bottom, or at least in a diagonal pattern. Thanks for the help.

RazorPay Is Not Defined

$
0
0
Hi team, I am using razorpay in my application for payment process. I have configured razorpay connector and everything correctly. But when I try to trigger the payment button there is a error appearing in console as “ RazorPay not defined”.I got to know that the error is due to the script tag of checkout in razorpay. So I included it using HTML snippet. Still the error persists. Can anyone suggest a solution for this. Thanks in advance

How to integrate payment gateway(Razorpay) ?

$
0
0
I am trying to build a wallet where we can add money, for that I need to integrate payment gateway, how we can create payment gateway in mendix ?
Viewing all 83469 articles
Browse latest View live