Hi to all, I’m quite new at Mendix, so I’m a little lost. I’m trying to connect Mendix with an IOT 2040 (from siemens) via MQTT. The problema is that I couldn’t find any document explaining how to do that. Is there a tutorial on how to make this connection? Thanks in advanced for the help. Best regards, MRocha
↧
How to configure MQTT Client?
↧
Page still visible for user with incorrect role
I created a new app to test some things and noticed that when selecting the “Administrator” role and deselecting the “User” role for the home page that the user can still access/view the page. After logging in as MxAdmin, I just use the widget to select “demo_user”. I expected the page to be blank (again, just testing), or give an error, but nothing happens. Why are “Visible for” roles ignored in this context? Is that because the roles only affect data on the page and not the page itself? Or perhaps the widget is bypassing role-based visibility security?
↧
↧
Change Original Object with popup selecteion
i am creating a page where alternate medications will be recommended and on that page you can click an alternate medication. How do i get the selected medication to populate in the place of the original selection?
↧
Mindsphere Aggregate Chart Error
Hi everyone, I’m using mindsphere aggregate chart on my mendix project and it works nice. However, when I refresh it with setting refresh = true, it does the refresh but it also complains as below: Cannot read property 'id' of undefined TypeError: Cannot read property 'id' of undefined at http://localhost:8080/widgets/WebComponents/AggregateChart/AggregateChart.js?637090886292481157:109:43 at u (http://localhost:8080/mxclientsystem/mxui/mxui.js?637090886292481157:5:49443) at Object.then.l.then (http://localhost:8080/mxclientsystem/mxui/mxui.js?637090886292481157:5:50724) at E.<computed>.S.onSubcription (http://localhost:8080/widgets/WebComponents/AggregateChart/AggregateChart.js?637090886292481157:106:129) at E.<computed>.S._runSubscription (http://localhost:8080/mxclientsystem/mxui/mxui.js?637090886292481157:46:80792) at E.<computed>.S.e.callback.e.val.n.callback (http://localhost:8080/mxclientsystem/mxui/mxui.js?637090886292481157:46:80110) at Object.callback (http://localhost:8080/mxclientsystem/mxui/mxui.js?637090886292481157:73:189692) at http://localhost:8080/mxclientsystem/mxui/mxui.js?637090886292481157:40:23218 at Array.map (<anonymous>) at http://localhost:8080/mxclientsystem/mxui/mxui.js?637090886292481157:40:23172 Any help will be appreciated
↧
Autopopulation of datagrid with object linked to UserID
Hi I am building an estate administration system, where I have two user types, namely brokers and testators. Both user types need to log in first. I want the the system to automatically route the testator to a new page with a datagrid containing his estates' assets and liabilities upon successful login. My sense is to build a custom login page, linked to User entity, allowing me to obtain his UserID for both validation and estate object retrieval purposes. Where I am falling over is relating the UserID to a specific object in the Estate Table
↧
↧
Using Mendix to access native applications (.exe files)
Is it possible that I use a Mendix app (Deployed in Cloud, so that can use from any machine) and then trigger an instance of another native application in the machine (for example NX) Suppose if it is possible and then I modify the NX part in the native application which was opened using Mendix, is it possible to keep track of this update (i.e can we keep this native application in sync with Mendix)?
↧
Authentication of REST API calls
Hi all, This question is a step back from the question I posted yesterday which is here. Let me elaborate my situation. I am making a connector to an external website. This website provides API keys in a csv format for every person(or company) that registers. Each person(or company) which uses this connector may have to first register and get their own keys in the csv format. Now my question is, how to store these credentials? I have currently written a java action which reads the csv and fetches the credentials and save them in an entity for one complete flow(I know this may be a lousy approach) It is not safe to directly store them. @Ronald Catersels, had suggested that we encrypt all keys of all users and save in DB. Any pointers on how this could be done please? Thanks in advance - Kamala
↧
Remove padding-bottom from PieChart as its added dynamically
Hello , I am using the PieChart in list view and as per our requiremment we want to control the height of PieChart but due to the inbuilt padding-bottom configuration of pieChart the Padding between the list Rows is more, and we want to reduce the height. In below image the “Current Voting” represent the PieChart. I also tried the Appearance setting of PieChart as below but it was also not working for me. Please suggest a solution on this. Regards, Rajshree
↧
Changing the graph on the basis of attribute selection in the drop down list
hey, how to change the graph on the basis of the attribute we are selecting from the drop down For example we have temperature and humidity attributes. on selecting temperature it should show temperature graph and Like wise
↧
↧
How to downgrade app from Modeler version 8.2.2 to 7.23.7
I have started my Project(POC) with Mendix Modeler 8.2.2. But Now we want to downgrade from Modeler 8.2.2 to Modeler 7.23.7. While trying to downgrade app I have followed the below steps.
Open the project in 8.2.2
- Go to Project -> More versioning -> Manage branch lines
- Under Branch lines, click 'New'
- Create a branch from the mainline, select the last revision and click 'OK'
- Give it a name, e.g. 'Temporary-main-line'
- There will be a pop-up question: Do you want to download and open the branch line? Answer No!
- Open this new branch line in 7.23.7 but could not work. Reason to Downgrade:- LDAP doesn't work well with Mendix 8.2.2. I have searched for various questions asked on forum for LDAP but unfortunately no Solutions worked for me. so I decided to downgrade my app from 8.2.2 to 7.23.7. lDAP Java Compilation failed
↧
E-mail widget and reference selector
Dear all, do we have anyone I could contact in regards to references in Mendix and email-sending? In the logs, we find two errors in regards to this: emails cannot be sent due to no email address is found (though there is always an email address linked through a reference) sending email failed to mail server I believe that catching the references within the object is not done in time and therefore, sending the email causes an error. Does anyone have experience with this specific problem or knows how to tackle it? The App was built with Mendix Pro 8.3 and with the Siemens Layout available in the private section of the App Store. Thank you in advance, Sabrina
↧
Timestamp convert
Hello, I have some time data in database in mendix(domain model) with the type of timestamp(long int). But now I want to show time data in page with the type which people can understand, how do I implement this in mendix?
↧
Database Replication Module Problems
I've inherited a Mendix DB replication issue and I'm not looking for an answer so much as a place to start. The Replication product stopped working and gives the following error: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: replication.ReplicationSettings$MendixReplicationException: Error while processing the MetaInfoObjects: replication.ReplicationSettings$MendixReplicationRuntimeException: Invalid object key located, retrieved all objects for object: DatabaseReplication.Table but found an object with an unexpected key: 8|KEY|productcondition|KEY| | VERSION: 20130703 at com.mendix.core.Core.execute(SourceFile:232) I don't quite know where to start and I'm hoping somebody could just point me in the general direction. My guess is that I either start looking in: MxReflection (metadata out of sync) or Configuration of replication or Database level Is this something that is affected when changes happen in the "Synchronize Database Changes"?
↧
↧
Access rules
Our app is almost completely non-persistent. All customers and their associated entities are retrieved by REST calls to a back-end. Only Photos are stored in the Mendix app. Photos that belong to equipment of the customer. We know which Photo belongs to what equipment because of the EquipmentID that we store as Photo attribute. Two questions: How do I implement an access rule on the Photo to ensure that Users can only access Photos belonging to the Customer that they have access to? How do I constrain the synchronization of Photos in the native profile to only those Photos belonging to the Location in question? For issue 1, I wanted to implement an access rule that the CustomerID attribute of the Photo should be the same as the CustomerID attribute of the CustomerAccess object that I store to remember which customer a User has access to, but Mendix does not allow starting from CurrentUser in an Access rule. For issue 2, I implemented an Access rule that there should be an association to Account, but that results in other users with the same role not being able to see the Photos in the web profile.
↧
Excel Importer giving error while importing a file
Hi, I have a scheduled process which try to import an excel data file generated by a foreign database and it was working file till today and now suddenly it started giving an error as below: Can someone please suggest what could be the reason and how can i solve it? I am using Microsoft SQL as Mendix Database. Thanks.
↧
Datagrid search bar doesn't work on external SQL database data retrieved with Database Connector
I have done a SELECT * FROM [view] This works fine until I want to use the Datagrid search bar to search for a specific ID. When I click search, nothing happens. The search button should call a Nanoflow which is auto-generated by the Datagrid to filter the results inside the datagrid itself. I don't receive any errors or messages in console when clicking the Search button, nothing seems to happen at all. Data doesn't get filtered in the Datagrid. How do I filter / search for data inside a datagrid/dataview/listview when I use Microflow to retrieve external database data?
↧
Import project for free node deployment
Hi, I was working on a project a few weeks ago but then deleted the app. I kept the source though. I tried to recreate the app now using the web form. I named it exactly the same as the last time. I then selected a “Blank” app template and opened the app in Mendix Studio Pro. I copied over all the files from the backup folder into the project folder (except .svn and .mendix-cache) and overwrote the existing files. I then tested and commited the changes. I am able to start the project locally from within the studio pro. Also, the “Preview” mode of the Mendix Studio also works. I now want to deploy it but only the following image shows: Also, “Run” from within the Mendix Studio Pro is grayed out: What is a SprintrProject ? Can I fix this? What is the right way to import old sources? (using Mendix 8.4.0)
↧
↧
Ask a code for a specific user role
I want to add an extra security option for administrators. Normal users are allowed to login with only username/password. But I want to ask a code when the user is an administrator before he is really loggedin. Is there a way to do this?
↧
'List View Swipe' widget in native mobile profile in Mendix 8.3: list items stay swiped and 'Load more' button disabled
Hello! I'm using the 'List View Swipe' widget in a native mobile profile in Mendix 8.3. I have two issues. Maybe you can help? When I swipe a list item and use the revealed button to navigate to a newEdit page, and after saving the changes in a nanoflow, come back to the page with the list (by using a ‘close page’ command in the save nanoflow), the originally swiped item in the list remains ‘swiped’. I thought maybe refreshing the context of the list in the save nanoflow would help, but it did not. Using the ‘List View Swipe’ widget disables the ‘Load more’ button. When the page size of the list view widget is set to 10, the 11th list item is not shown, but also the ‘Load more’ button is not shown. Screenshot of the implementation: Hope someone can help! Gr, Bart
↧
Login using on premise database/REST-Service
Many customers already have a database with their users for authentication purpouse thats why I wanted to ask if it is possible to login using only a private on premise database or REST-Service ? Or do I have to create an Account for every user in Mendix too ?
↧