We currently have 4 (with a 5th incoming) mendix applications for one of our customers. These applications used to be for seperate parts of the organization, but are becoming more and more integrated, meaning that people need to log on in multiple applications. We are thinking about creating our own SSO solution just for these Mendix applications (it does not have to be connected to some active directory or something similar). How would one go about setting this up? Will there be one application which contains all the accounts (The host) and the other applications would be clients. Could we for example use the SAML module for this, and connect it to the host application rather than an active directory? Suggestions on how to set this up/get started would be very helpful.
↧
Suggestions on how to build your own SSO between Mendix Applications
↧
Mendix 6 issue with Amazon S3 storage service - Connections not closed?
Hi, We recently migrated all our files to Amazon S3 and have configured our runtime settings to use Amazon S3 (https://docs.mendix.com/refguide6/custom-settings#5-amazon-s3-storage-service-settings). It seems like Mendix does not close the connections. For 2 days in a row we started to get connection time out errors. (Unable to execute HTTP request: Timeout waiting for connection) Searching for this error in relation with the AWSJavaSDK it seems that the connections are not closed which results in a build up of connections and eventually no new connections can be created. Source: https://forums.aws.amazon.com/thread.jspa?threadID=130172 https://github.com/aws/aws-sdk-java/issues/1405 Anyone experienced similar issues? Is there a workaround (for example close all old connections with a custom Java action). Thanks!
↧
↧
Difference between calculated Attribut and stored attribute
Hello Experts While creating attributes in Data Model I have to select one of the two 1. calculated Attribute 2. stored attribute what is the difference between the two. Regards Shanmukha Rao Banisetti
↧
Object data not available in After Create event when object is being created via a web service
Hi all, It seems that the data of an object (entity) is not available in the After Create event handler if the creation of that same object is triggered via a web service. When tracing I see that the web service message contains correct data while at the same time, when debugging the After Create microflow in the receiving app I see that the object is (still) empty. Can anyone confirm and explain this behavior? Regards, René
↧
How to implement REST call with SAML authentication
I need to implement a REST API call with a back-end system, but I need to authenticate using SAML. How do I do that? The native connectors currently only support HTTP authentication
↧
↧
Prevent embedding your app in an IFrame - On Premise
Hi, setting the configuration Prevent embedding your app in an IFrame from the cloud is very easy. But where can I configure this in an on premise environment (windows)?
↧
Page keeps refreshing to the top of the page when pressing button
Hi guys, I have a listview and for each item of the list I can type in an integer value and then press a button to save it. The microflow does a commit with a refresh page. However, after the button is pressed I keep being brought to the top of the page and then need to scroll down again to see the field I need. I recently made some UI changes to the page, applying some bootstrap css for col-md-x , but other than this, nothing else. Before these changes, I believe that this kind of behavior was not happening, although not sure if it's related cause it really shouldn't, should it? Also tried without refresh page and this is still happening... Could you please help? Kind regards, Razvan
↧
Two Different TenantUsers on One Form?
Hello all, I am wondering how you would go about having two of the same entity (in this case, tenant users) on one form. The idea is to have one user from the tenant group Assessors and one from the tenant group Customers linked to the consultation, so both can access it later on. Attached below is a screenshot of the current form I have. More information: I am using the MutliTenantAdministration module The Assessor input has the xpath restriction [System.UserRoles = '[%UserRole_User%]'] The Customer input has the restriction [System.UserRoles = '[%UserRole_Customer%]'] Current Behavior: When selecting an assessor from the dropdown, the selected name flashes in the input field for a split second, then disappears. Same behavior is seen when trying to select a customer. If more information is needed, please let me know and I will provide. Thanks in advance for any advice!
↧
Select the entity of which this button should create an object. What kind of button we get this error
Hello Experts My question is in which senareo we get the error "Select the entity of which this button should create an object". We do not always bind an entity to a button, but we do not get error with all the button. My question is .. What kind of buttons we get this error? Regards Shanmukha Rao Banisetti
↧
↧
Navigation structure in the project Explorer
Hello Experts, A project in desktop moder is having 3 nodes in the project explorer 1. Project "Project Name" 2. System 3. MyFirstModule (We create pages , UI and data model ) Can you share some knowledge about what each and every node signifies and what is the use of these nodes. If you have documentation, please share with me. Regards Shanmukha Rao Banisetti
↧
Integrate a chat in my app
Hi, I want to integrate a kind of ''chat'' in my app with the different types of users but I have no idea how to start. I found the Chatter widget but I could't make it work. Anyways, could you give me some help with ideas of how can I achieve this?
↧
Application Security settings for Production
Hi, Does anyone know of security settings specifications for the production deployment. I am trying to generate the deployment (MDA) and run it as a service through Mendix Service Console but for some reason it keeps giving me "Unable to start the server. Reason: Cannot start in production or acceptance mode with security disabled." I am using MySQL Database in data base setting for the application in Mendix Service Console with root user. in Modeler i have used built in Database.
↧
OnPremise Installation on windows server
I have installed the application in Mendix Service Console and created the rules in IIS. I can see the application running as a service How could we access the application in the browser now.
↧
↧
Pass list as argument to the rest URL from mendix application
I am new to mendix. I have a mendix application that syncronizes its few tables from another database. One of the tables has some employees information (say salary info). The employee table is not synced. Now the requirement is not to list the inactive employees from a page showing the employee salary. I want to remove the salaries from this page where the employee is inactive. I am trying to add a workflow to pass the list of this salary details table to a java application where I will filter out the inactive employees and give back the list as response. But It seems while calling the rest url, I can not pass the list. Please tell me what is the correct way to do this. Thanks,
↧
Oauth2.0: core.getuser() doesnt retrieve the initialized user from our proprietary openid connect provider...user here is populated manually into system.user / administration.account objects post authentication
hi team, we are trying to work on a POC wherein we are connecting to a proprietary opened connect provider and trying to authenticate / authorize users. Now, post this, since, we don't have a user repository that mendix understands (for. ex. mendix db), we are trying to override the context by filling the system.user / administration.account objects with the logged in user credentials and then trying to initialize it / createsession out of it. Now, we see that the core.getuser() function doesn't retrieve user which has been initialized using the method user.initialize(context, administrator.account mendix object). Not sure what's wrong here?? can some one help... Ideally, post this, we should be able to create session out of the method...createsession()...
↧
Oauth 2.0: getting commit failed exception...
hi team, we are trying to work on a POC wherein we are connecting to a proprietary opened connect provider and trying to authenticate / authorize users. Now, post this, since, we don't have a user repository that mendix understands (for. ex. mendix db), we are trying to override the context by filling the system.user / administration.account objects with the logged in user credentials and then trying to initialize it / createsession out of it. Now, we see that the core.getuser() function doesn't retrieve user which has been initialized using the method user.initialize(context, administrator.account mendix object). In order to handle this, we tried commiting the user to mendix db by using user.commit(context); instruction. But, this is giving error saying commit failed...can someone help here?
↧
Nanoflow daysbetween function
Hi I am trying to calculate days between two dates(current datetime and datetime value from object) in nanoflow. I see that daysbetween function is not available in nanoflow. Is there a way to calculate daysbetween in offline mode? Thanks
↧
↧
Published OData Service
Hello, I created an OData service to be consumed in excel. The OData service cannot be accessed within the network of the customer. However, it works well outside the customer network. In the customer network, there is a message error about failing to authenticate with proxy. I will like to know if there is anything that can be done to the configuration of the OData service to solve this issue.
↧
Constants in on-premise Pivotal CloudFoundry
On-premise beginner question: how do I reach Mendix constants with the CloudFoundry command line tool and how can I set them?
↧
Trying to change Enumaration through dropdown, however the value before does not change.
I'm working with Enumerations and a boolean display of the Enumerations and trying to change a picture of one Enumeration to another one. This works, however it does not set the old value too false. Example: I have Enumerations: small spoons, big spoons and large spoons and I'm able to make a picture and save it within the Enumerations. With the Enumarations I'm working with a display for them and they are shown based on attribute values true or false, which is displayed in the overview. So I'm making a picture for a small spoons save it with data and later on I want to change that picture to big spoons. I'm able to change the picture to big spoons and it shows on the overview the big spoon display as in a microflow I setted to change to value to true. However, it takes the additional data also to big spoons and the display for small spoons is still on true and if I click on it it shows an error. Within a microflow on the save button as I'm I will select my change to another Enumeration I want to make sure that the old value I had before can be set on false so the display is turned off and also only take the picture to another display. Can someone give me some insight or ideas? Thank you in advance
↧