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

Import a MySQL database into the built in HSQL database

$
0
0
Hi everybody, I was wondering about something. The application I'm currently working on run on an external database (MySql, Ubuntu server). This is fine, although performance wise, things could be snappier. My thought was: is it possible to import the SQL dump file, created with SQL Workbench (including the create schema command) into the local HSQL database? I'm sorry if this question has been answered in the past, but I couldn't find a thread about this specific case. Regards, Bart van den Heuvel

How to look up a value based on another entity

$
0
0
I have two entities, Employees and Projects. The Project Entity has multiple attributes (e.g. Owner, Developer and Lead) that I want to limit to records in the Employee entity.  What is the best way to do this?

Mendix Team Server Local Deployment

$
0
0
Hi Dear Experts, Is there a way to deploy team server locally on our in house servers to use version control?  My organization is dead serious about information security and we can't move the data to the external servers.

Object Locking / Record Locking

$
0
0
There have been various questions asked in the past about object locking and it seems to be unresolved.  I needed a mechanism to lock an object for the duration of a user transaction and found that the Community Commons locking mechanism has been removed because it was working in the Application Server and this is no use in a load-balanced architecture. So I have created a fairly simple mechanism that relies on the database to keep track of locks, based on the GUID of the objects.  The pattern would be easy to replicate in any project.  If anyone is interested, I would be happy to share, as I would appreciate other people's input to validate my design. Also I would like to know whether Mendix are about to publish a new solution to this problem. 

Business Process Orchestration and Choreography

$
0
0
Mendix uses BPMN models called Microflows to specify application logic inside a microservice. BPM/SOA platforms used to support BPMN-based orchestration of SOAP, REST and micro services.  The microservice architecture prefers choreography over orchestration typically using publish-and-subscribe messaging. My question is what Mendix does or will likely do in the near future to help developers implement business process orchestration and choreography involving many micro, REST and SOAP services internal and external to the Mendix platform? Capgemini seems to have done process orchestration pulling together Mendix apps and SAP SOA services.  And it seems contributing to CORA (Common Reference Architecture) to further advance BPM/SOA directions in the face of new types of SOA services such as the microservices generated from HP aPaaS like Mendix. Does anyone know what Mendix capabilities are available now for BP orchestration and choreography, and where they are headed to make them easier to implement?

Error while fetching object with guid

$
0
0
Hi, For whatever reason in my app, I sometimes get this error message when navigating from one page of the menu to another: Error while fetching object with guid 4503599627371605 The id obviously changes, but I am not sure why this happens. It also happens fairly randomly and haven't noticed a concrete pattern. Please help with any information you have, if you had this sort of issue before and what were the steps taken to eliminate the error. Thank you.

Hello everyone, why is my new page green?

$
0
0
Hello everyone, why is my new page green? When running locally, is this the case below, not a new page? Thank you very much!

Modeler and Macbook

$
0
0
Is there a way to download the modeler on a macbook? Thanks, Gaby

Timeout mobile hybrid app defaults to 5000 ms.

$
0
0
Hi, we're moving our project from 6 to 7. Not sure if this issue is related to the upgrade, but then just for context. When trying to execute a microflow the following error message is shown: A connection error occurred, please try again later. Then when checking the console it says: Error: Request POST https://jadajada.mendixcloud.com/xas/(executeaction) timed out after 5000 ms. This issue only applies to the mobile hybrid app, because when you call the same microflow using a desktop browser, then it works as expected. When checking the phonegap package, I assume the timeout is specified by the server timeout setting in the dojo config section. Why is there an extra timeout for mobile defined in the phonegap package, and should we change this, or go for workaround i.e. change microflow call type to asynchronous? Edit: You need to edit the entry.js in the src\www\scripts folder MxApp.onConfigReady(function(config) { // Perform any custom operations on the dojoConfig object here window.dojoConfig.server.timeout = 15000; });  

MxAdmin is not associated with correct user role

$
0
0
Hi Everyone, I have 'Administrator' and 'User' user roles who have access to certain pages. In the Project security > Administrator, initially I selected 'Administrator' as user role for MxAdmin. When I run the project locally and log in as MxAdmin, I was able to see correct pages and only had one role associated to MxAdmin account, so far all good!  When I go back again to Project security > Administrator and change the user role from 'Administrator' to 'User' and re-run the project locally, I expected the MxAdmin account to be just associated with user role 'User' but it seems like MxAdmin account has now got two user roles (Administrator and User). If I change this project security setting again to select any other new user role (example Finance) then this role also get associated to MxAdmin account and the list of associated user roles will increase by one.  When I deploy the change to test environment and log in as MxAdmin then the MxAdmin account is still associated to 'Administrator' role instead of 'User'. I never noticed this behaviour before maybe because I never changed the MxAdmin role from 'Administrator' to any other role. Just wanted to check with community if anyone tried this scenario and faced similar issue? Is this a bug or expected behaviour? EDIT: This issue is fixed in 7.18.0, please find the comment by Mendix below; " We have fixed this issue in Mendix 7.18.0. Starting from Mendix 7.18, MxAdmin user has only one role - the one configured in the Security settings of the project. But if an existing gets upgraded to the Mendix 7.18 for local projects no changes in the MxAdmin user roles are done until you select a different role in the Security settings and the project has to be restarted. This ensures that create_admin_user action is sent with a new role to Runtime.  Please note that for apps deployed on premise the creation of an admin user has to be initiated from the Service console. " Thanks in advance!

No constructor found for widget ListViewSwipe

$
0
0
Hi everybody, Im trying to include the listview swipe widget into my project. When I run the project (locally) underneath the listview this error is shown: "No constructor found for widget ListViewSwipe.widget.ListViewSwipe" I've searched the forum about this issue, and tried the suggested solutions: clean deployent dir, empty cache, reinstall widget... but no success. Could it be that the plugin has compatability issues with version 7.18 of the modeler? Regards, Bart 

Webservice user sessions seem not to be deleted

$
0
0
Hi, In our application there are both anonymous users and single-signed on users using the SAML module. Because of security requirements I have a scheduled event which deletes all non-webservice users every 5 minutes and I configured the SAML-users to be webservice users, such that the normal login procedure will never work as there are no local users. Unfortunately, this setup backfires on me as the named user sessions seem not to be deleted. Apparently, sessions of webservice users are not ended automatically (see graph below). Has somebody tips to enable session time-outs for webservice users? Or disable the normal login-method in some other way and go back to non-webservice users?

Mindsphere connection module

$
0
0
Im interested into connecting a mendix application to mindsphere in order to retrieve data. Is there any modul available? 

Issue with delete data in list view

$
0
0
Hi, i have created a list view with delete button for each item. when i delete an item using the delete button it will ask for confirmation as i configured in its property.if i press yes, the item will delete from entity. But it clear all item in the list view. How can i fix this issue?  

Pretend you are hacking your own application

$
0
0
Easy to use and safe check of your entity access. Browse available entities, attributes and objects. Visit https://securitycheck.webflight.nl/ NOTE: CREDENTIALS AND MX MODEL ARE NOT STORED OR LOGGED

How can I store session in my app?

$
0
0
I have a login page that I have created by my own(not using mendix security login). I need to show the data entered by logged in person on basis of his email id, in home page. Also, I need to show some of his details like email, contact number and image in home page. How can I achieve this? Is there any way to store email id in session in Mendix?

Pagination widget shows "[No translation]"

$
0
0
Hi all, I got a quite simple question about the Pagination widget from the List view controls. I added the widget to my page, but it renders with the text [No translation]. Im using 'Default' as Paging style and no input at the Page size options tab.  The language of my application is set to Dutch, so I guessed I have to give a translation for the widget. I already tried Language -> Batch translate -> Look for the 'From {1} to {2}' and translated it to 'Van {1} tot {2}'. Also if I scan the list with non-translated senteces from both Dutch to English as English to Dutch I don't see any options which could be for the translation for the pagination widget.  Anyone any idea how I can fix this?

iOS device not receiving push notification

$
0
0
Hi, I have set up the mendix push notification module in our development environment. I'm able to receive notification on android devices. But not on iOS devices. The device is getting registered. And I see the following entries in the logs when sending push notifications. But I'm receiving it on my iOS device. Any inputs will be highly appreciated. INFO - PushNotifications: Attempt to send 1 messages via APNS. INFO - PushNotifications: APN: Successfully sent message to 33904366... I followed the instructions here:- https://docs.mendix.com/howto6/push-notifications  

Signature Widget configuration how to

$
0
0
Hi guys, i downloaded the signature widget from the mendix store only, i can't configurate the widget right - Add the widget to a dataview. Connect the data URL property to an unlimited String attribute of the dataview context object. Where can i connect the data URL property? Does anybody has a step by step documentation of the configuration of this app?    

Retrieve from database vs by association

$
0
0
I have a microflow where I retriebe an entity by association. This takes nearly 100 ms. This seem to be too long for me and I triy to retrieve it from the database which takes 40 - 50 ms. I'm wondering why it is faster to retrieve it from the database. When I look into the microflow engine output it looks like that the entity is retrieved from the cache when I retrieve it from the database. This should be quite faster in my opinion. Anyone has an idea? [1ea51087e4ff420] Executing activity: {"name":"Process.Request_ActionMenu","current_activity":{"inputVariableNames":["Request"],"returnVariableName":"BusinessGroupAsOrganisation","caption":"Retrieve Organisation by $Request/Delivering_Organisation","inputConstants":{"associationName":"Process.Delivering_Organisation","fromCache":true,"returnType":"NAP.Organisation"},"type":"Retrieve"},"type":"Microflow"}
Viewing all 83469 articles
Browse latest View live


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