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

Mendix provide integration with Tableau

$
0
0
Hi, How to integrate Mendix with Tableau.I am unable to find any app.

Out of sync database IDs

$
0
0
Does anyone know of a way to reset the tables guid counter. It appears that our database ids are out of sync. I am seeing the following error: QueueExecutor: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.ConnectionBusException: Exception occurred while inserting data. (SQL State: 23000, Error Code: 2627) UPDATE: I did a little more analysis on the events that occurred prior to the errors occurring. Our database admins were migrating hardware during this time. They took a DB backup to move to the new hardware. After the backup was taken, there was a package deployed to the server. Functional testing began at this point. The DB was then restored and the application was pointed to the new hardware while the application was still running. This is when the errors started to occur.

Random white bar on login screen of mobile app

$
0
0
On my mobile app (screenshot included) there is a random white bar that appeared a couple of versions ago that only appears on iOS and we haven't been able to determine the cause. I am wondering if anyone else has seen this issue and know what causes it.  The top portion of the screenshot with the company name and info has been cropped out and you can see the white bar at the bottom.  It's actually present in another iOS application as well and again only affecting iOS users.  

Adding schema location to xml

$
0
0
I am looking at trying to add the schema location to the xml that is exported from a defined xsd. I see that the namespace is added to the root element but i am expecting to see the schemalocation as well.  Here is what is generated This is what I am expecting to see I have added the xsi namespace within the xsd. Does mendix have the ability to place the schema location within the generated document?  

Bunch of questions regarding users

$
0
0
So i currently have my app set up to where a user of type "Supplier" can upload products and then view the uploaded products, but there's a few issues that i haven't been able to figure out.   First, i want the Suppliers to only see products they themselves have uploaded, not all the products in the database, i figured this should be doable with setting up an XPath-constraint to only show products made by currentuser, but i haven't been able to get that to work yet.   Secondly, i want it to, when a supplier  tries to upload a product that's already in the database(for instance, a supplier uploads a product named 'Coke bottle' and then another supplier uploads a product also named 'Coke bottle') add that supplier to the product, so that i can later show all the suppliers of a product. I struggled with this because i can't give my entity 'Products' an attribute of type list, so that i could just add suppliers to that list, so how would i go about doing this?   I'm also having issues with creating a custom entity for users ( i would like 2 user entities, 1 for said 'Supplier' and one for just regular users). I read that these entities should be generalizations of Administration.Account, but i also read that it should be of System.User.  I'm also unsure of how to then create objects of said user entities upon creation of a new account, do i just edit the Admin.SaveNewAccount microflow to create an object depending on the type of Account?   Any help would be greatly appreciated :)

Can't run a hybrid app locally on my device

$
0
0
Hello all!! I'm trying to run locally a hybrid mobile app in my phone. I'm using a cellphone that's hotspotting the wifi for my laptop and for the cellphone I want to run the app in. When I navigate to the address given in my laptop, it works perfectly, but in my cellphone it fails, in the browser it doesn't take me anyware (timeout) and scanning the qr code through the mendix app also gives an error. What can I be missing out? Thank you very much!

Push notification error on starting our app

$
0
0
Hi all, I keep getting an error with the push notification widget. I downloaded the newest version to my project and implemented all the steps. The push notifications work perfectly. Except everytime i log into the app i get a random error message which basically says nothing. I only get it on the phone and only get it with the push notifications snippet in my layout. I tried using the remote debugger to see whats going on but all it says is: mxui.js:1 TypeError: Cannot read property 'attributes' of null(…)error @ mxui.js:1 Nothing shows up in the modeler console log or the logfiles of the enviroment. I've tried everything, maybe somebody has a good idea where to look?

VERY VERY VERY IMPORTANT QUESTION (PS ITS MY SCHOOLPROJECT)

$
0
0
Hello smart people, I have a question about mendix.It might be a stupid question, but how do I get information from one account and be able to view it on another acc. For example i got a employee and i want to watch some information of the manager (like his email)  so i can mail him. So this is information of the manager which is viewed on the employee page. Pls help! :) I would apreciate it 

REST Service Authorization

$
0
0
Good Day,   Trying to consume a rest service and experimenting with a simple GET call without parameters for now. Have tested the endpoint using Advanced REST Client and have built the JSON structure, Import Mapping, Data Model and Page to call the GET method via a button that calls the Microflow.   Got a default error, after debugging the microflow which executes the service call, I noticed the 401 unauthorized error. The REST Client also confirmed the need for credentials during testing.    My Expressions are ( for the username and similar for the password)....   Here is my JSON structure...   The Import Mapping..., (I renamed the non-persisting entities) My Data Model...(I created a separate _Input entity which I will use later when using parameters to the service call)   The Microflow... (calling the rest service)     Questions 1. How and where do you add the authorization on an activity with action Call REST? Have tried the HTTP Headers tab by providing a username and password using expressions as the documentation suggest - but had no luck. The documentation do not contain examples of this.

Custom C# code

$
0
0
Good day! I am currently evaluating Mendix and I want to know if it is possible to run a custom C# code with it? Thanks!

Kudos to Tim van Steenburgen and Mendix!

$
0
0
In the release notes for 7.13.1, an improvement to Instant Update is described, I've pasted it below.  I didn't notice this too much when reading the release notes.  BUT, after using 7.13.1 for some of my apps, I have been blown away by how much faster this makes my work go!  When I switch to an app using an earlier version, I really notice the slowdown in my work.  Many thanks to Tim for suggesting this and to Mendix for implementing!  Awesome work!

Entity Equality Check

$
0
0
Is there a way to see if two entities are equal before doing a commit? It looks like there use to be a Java method called objectHasChanged but it seems to be absent in recent versions of CommunityCommons. Thanks in advance!

Bootstrap Input Addons

$
0
0
Hi there, I'm trying to use the Bootstrap Input Addon recently updated for Currency Amount fields. I found the following problems: The horizontal layout doesn't work (the label remains in the Horizontal configuration (parent data view is set horizontal) It is not possible to group digits (only define decimal positions) Did someone found the same limitations or it is my own configuration problem? Thank you Alessandro  

Data Grid Comparison Search Filter

$
0
0
Hi, We've upgraded from mendix5 to mendix6 and we're noticing that the data grid comparison search filter behaves differently when using a date attribute. In mendix5 if someone added anything other then a valid date then there would be an "invalid date" error that showed up but in mendix6, no such error shows.  I don't see any new options to set the error message to display. Is this a feature that is missing in mendix6 or is it a setting I have to turn on somewhere? Thanks

Appronto Validator question

$
0
0
Hi, We are using Appronto Validator to validate the fields on the page. It is helpful, however, we do want to ask if it is possible, to not show each individual validating message underneath the field that is validated. Instead, can we just highlight the field that needs attention. And use the bottom result pane to show which fields have validation errors? The reason we are asking is if each individual field has a pink box underneath, it can sometimes mess up the layout.  Thanks Ping

Add Upload and Download button in every row of a data grid.

$
0
0
Hello, I want to add Upload and download button side by side for every row in the grid. Is there a way I can do it? Thanks!

AWS 7.13.1 Issue: ERROR: Executing start did not succeed: result: 1,: An error occurred while initializing the Runtime: message None.get, caused by: None.get

$
0
0
Hi guys   I was playing around with a Linux AWS instance and tried to run the Mx app but I do get this vague error;   AWS 7.13.1 Issue: ERROR: Executing start did not succeed: result: 1,: An error occurred while initializing the Runtime: message None.get, caused by: None.get   Dont understand why it is not working, i did this: m2ee(admin): start INFO: Trying to start the MxRuntime... ERROR: Executing start did not succeed: result: 1, message: An error occurred while initializing the Runtime: None.get, caused by: None.get INFO: Waiting for the application to shutdown... INFO: The application has been stopped successfully.   Anyone an idea to solve this?

How to unpackage bz2

$
0
0
Hi guys   I download in a Microflow a file in bz2, I need to unpackage this package. Can anyone help me with this please seen I am not an Java expert.   Found this Java code, how can I use this in Mendix when I give a filedoc as parameter?   Factories Compress provides factory methods to create input/output streams based on the names of the compressor or archiver format as well as factory methods that try to guess the format of an input stream. To create a compressor writing to a given output by using the algorithm name: CompressorOutputStream gzippedOut = new CompressorStreamFactory() .createCompressorOutputStream(CompressorStreamFactory.GZIP, myOutputStream); Make the factory guess the input format for a given archiver stream: ArchiveInputStream input = new ArchiveStreamFactory() .createArchiveInputStream(originalInput); Make the factory guess the input format for a given compressor stream: CompressorInputStream input = new CompressorStreamFactory() .createCompressorInputStream(originalInput); Note that there is no way to detect the lzma or Brotli formats so only the two-arg version of createCompressorInputStream can be used. Prior to Compress 1.9 the .Z format hasn't been auto-detected either.   

toString in Microflow exppression

$
0
0
I want to check the phone number length in form validation. When I try to do that in the microflow expression there is an error. 

Navigation Layout no sidebar_full_reponsive

$
0
0
I am doing the training from this link : https://gettingstarted.mendixcloud.com/link/module/5/lecture/140 I am in the number 5 which tells me to : "Change the Navigation layout to Sidebar_Full_Responsive (NavigationLayout)."  But in my IDE I cant see the "Sidebar_Full_Responsive (NavigationLayout)" option:   As shown in the image only 3 option are there and the desired layout is not in the option  
Viewing all 83469 articles
Browse latest View live