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

Dynamic Data Updation

$
0
0
Hi..Its Hari I have imported data from an Excel file through Excel Importer and I want the data changes made in the excel file should be reflected to the database in mendix where it is Importing in “REAL TIME” can you help me out with this please..?  

Menidx report with Chart

$
0
0
We need to build  reports and we are exploring the possibility to use Mendix as the final reporting development platform We need to build complex calculation on Mendix data, we come from Microsoft development and we have always used complex T-SQL stored procedures to create report data sources. We want to use a Mendix widgets to build reports. We are seeking the possibility to have: - a filter panel to filter datasets - an advanced grid (possibility to group values, drilldown, etc). A flat table grid is not something acceptable for our users. - charts (bar chart, pie chart, line chart, ...) We saw that Mendix removed the Chart widget from the Report Widget section in the new version 8. We saw that it is possible to use OQL or Java Action to create the grid data source for a Report Grid but is it possible to do the same data source to integrate Mendix charts? Or do they need a Microflows as data source? What are your suggestions?

Exception occurred between two microflow objects

$
0
0
I have an application where a microflow is triggered based on messages received in a java action callback. A java action does this using the Core.execute microflow function. A microflow is run every 5 seconds and more than one sources can invoke it that means this microflow could be invoked multiple times every 5 seconds.  Average execution time of microflow is 40ms.  It caused error on very normal load i.e., 2 microflow invokes every 5 seconds. Error message is below:   MicroflowEngine: Exception occurred between two microflow object executions, microflow 'MyFirstModule.Microflow' is terminated. MicroflowEngine: java.lang.NullPointerException: null  

SAPODataConnector: JSONObject text must begin with '{' at 1 [character 2 line 1]

$
0
0
When using the Odata Connector, with only one specific view I am trying to loead, I get the following error: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.thirdparty.org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1] at DataImport.GetRM_MESSAGES_Parameters (JavaAction : 'Get list') at DataImport.ACT_HanaImport_RM_MESSAGES_Loop (SubMicroflow : 'GetRM_MESSAGES_Parameters') If I access the link with my personal user from the browser, the XML looks fine. Could this error point to the User I am using to access the data out of Mendix not having the correct access and the XML being empty? I am not really working with Jsons here, so this error comes from somewhere inside the Odata Connector module, and I don’t know how to debug further. All my other imports work just fine. I appreciate any hints! Thanks!  

create a HTML5 Table with variable column count

$
0
0
Hi there, We are working with very generic data. We would like to display this data in a table. Our data could look like this [ { "a": 1, "b": true }, { "a": 2, "b": false } ] or like this [ { "c": "some string", "d": 123, "e": true, "f": "2020-02-02T0202" }, { "c": "another string", "d": 234, "e": false, "f": "2020-03-02T0202" } ] or any other structure imaginable. In Mendix this setup would be like so: List of Entity Entity: - List of Attribute Attribute: - Name - Value So what we need to do is convert rows into columns by converting the List of Attributes of each Entity into columns. We currently use a method where we loop over each Entity and generate a wrapper container with display: flex. We then loop over each Attribute within it and generate a flex box in order to align it horizontally.  This works, but the issue we have now is when the content is not the same width (which is most of the time) the simulated columns start to spread (e.g. like so ), because they are of course not constraint vertically in any way. I tried to work with CSS min-width and max-width in order to force the width to be the same. This works but is not suitable for less columns because it doesn’t make use of the available space. The best option I figured would be to use a plain old table for this. Declare the table with its headers. Then loop over each Entity and generate a tr-wrapper, within it loop over each Attribute and generate a td-block in order to dynamically generate the desired table looking somewhat like this: But how do I do this? Mendix generates a lot of overhead and wrapping divs and a I wasn’t able to find a way of extending the available render modes for containers (in settings.json?). Any ideas?

Merging is creating alot of headaches

$
0
0
I am working in a Team of 2 and one of us has created a branch and done some commits to that branch. Branch1 is at number 7. We create a branch called Branch2 that forks from that branch at revision 7. So we now have a second branch Branch2 that is at revision 7. Both branches are at the same point. In the second branch we change something, a text for example (Revision 8). Then we commit that (Revision 8) and we merge Branch2 into Branch 1. What should!!! happen is that Branch1 knows it is at revision 7 and should see that Branch2 has only 1 new commit. Therefore when we merge and we can select a start revision and a end revision we should only!!!! be able to select revision 8 as start and end revision and the other revisions before 8 should be gray and impossible to select since all the previous revisions are already in branch 1. So the problem is that Mendix has a real problem when merging because when we merge we can select all the revisions. Therefore we have no idea what revisions to select. How can we fix this????    

Excel exporting custom date format.

$
0
0
Hi, everyone.  Right now i have created a table with custom date ( YYYY-MM ), but after exporting it shows not correct information.

Link button with icon only is no longer clickable with Atlas 8.7.0

$
0
0
I upgraded my application from 8.6.1 to 8.7.0 and updated Atlas UI module. I have buttons rendered as link only wit an icon; I use them to call an LOV page. In releases < 8.7.0 the rendered icon was clickable all right; after the upgrade the icon is no longer clickable. To make it work in 8.7.0 I had to change the render mode from Link to Button. However, it creates a bad user experience. Does anybody else experience this problem? Is this simply due to upgrade? Am I missing setups which are added in 8.7.0.

OAuth2.0 Authentication (access to API)

$
0
0
Is there a good course on implementing OAuth2.0 in Mendix? I need to use OAuth2.0 authentication to get access to an API from Strava.  

Invalid Date

$
0
0
Hi My Date Input Fields have stopped working. I am getting Invalid Date on Date Pickers, even though the Date is valid. My  Database does not have any Date Validation on the Date Field This was working on Friday prior to the Leap Year, but not working this morning.   My Dates are UK Mode.

Text area size properties do not have any effect in app

$
0
0
In my app on a number of positions I use text areas. In the properties I changed the ‘Number of lines’ property to 15 lines. When I run my app, the text area is shown with three lines and a scroll bar.  I tried property ‘Grow automatically’ set to ‘Yes’, this also does not have any effect on the size of the text area. I found an older post about problems with text areas, but the solution in this, also does not work for me. https://forum.mendixcloud.com/link/questions/92449 Any ideas ?

Hide straight line in line chart when no data is received

$
0
0
In a line chart (plotly charts widget by Mendix), when no data is received for a while, this duration is represented by a straight line from last data received to the point when data is resumed again. So the gap between two points when there was no data received let say for 1-2 minutes is represented by a straight line (black rectangle in below image). Is there any way to remove that line between these two points and show a blank area to represent disconnection time between two points? Image is attached for better understanding of scenario.

Import .txt and convert to .dat

$
0
0
Hello Together, Maybe someone has an idea about that. We have a measuring machine which writes the results into a .txt file. The thousands delimiter of the values are a dot, but for further processing i need a comma. Moreover i need to convert the .txt file into a .dat file.  Is there a way to automate that with Mendix? For example : What i get from the machine: .txt 0.345 0.456 0.789 What i need: .dat 0,345 0,456 0,789 Thank you for your help!

game maker op Mendix

$
0
0
Is het mogelijk om gamemaker te verwerken in Mendix?

put application module download to background

$
0
0
I recommend if we can put app module download progress to  background. When downloading we need to spend time waiting there, without doing anything. If set background, we can continue to do our design.

OAuth google authentication

$
0
0
Hi, I have added the OAuth module and followed the documentation. When I run the application on cloud, I get the login page where I choose Google, and I get directed to this link https://mobiledevicewidget100-sandbox.mxapps.io/signin/google  and it returns ‘404 Not Found’. Any idea what I might be missing? Thanks,

Tooltip Page for other components than DataGrid Columns

$
0
0
Hi, We just found out about this feature called “Tooltip Page” which allows you to reference a page as a tooltip on a DataGrid Column. See docs for more info.   Is there a way to implement this kind of page tooltip on other components?

Line chart with atlas ui brand colors

$
0
0
Hi, I’m making a dashboard metrics page with a line chart. I want the line color to match the brand color used in atlas ui.  You can change the color in the line chart widget, however this is fixed and I need to change it in a multi-tenant environment. Is there a way to change the link color in css or? Regards, Wilfried  

Maker of the Month Challenge: March 2020

$
0
0
Hello, Makers! We’re excited to announce the first Maker of the Month challenge. What is the challenge you might wonder? We'll challenge you with a new question based on the new release every month, the perfect opportunity to test and to show off your Mendix knowledge. Whoever answers the question most complete, receives a free fancy Mendix t-shirt.  Please include your explanations for the correct answer, and make sure your Mendix account is public so we know who you are as our next potential first-time winner! The winner will be announced in the next release video.  Question: What is the maximum number of warnings that you can suppress in one app?   Good luck everyone!

filter datagrid by clicking row

$
0
0
Hello, I am wondering if the following is possible: I like to select a row and filter the datagrid on two specific attributes in that row. When clicking outside the datagrid I would like the filter to disappear. Anyone any ideas? Thank you for your help!  
Viewing all 83468 articles
Browse latest View live


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