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

Pass date field to Nanoflow from Native Pluggable widget

$
0
0
Hi Danny Roest ;-) or other Mendix colleagues,  We are trying to create a native pluggable widget and we want to call a nanoflow after a onClick event. We want to pass a date field to nanoflow from the pluggable widget. In de Modeler: We want to connect / configure the nanoflow (with the date parameter)  in the native pluggable widget. Can someone help us to achieve it. How can we pass data from the custom native widget to the configured nanoflow and call this Nanoflow (onClick). Thank you. We use Mx version 8.13.1 but it’s not in de list.  

Flat File Importer csv - 'Import from XML' error?

$
0
0
I am working on my 1st client prototype which requires the import of a number of different csv formatted files. I have implemented the Flat File Importer (v8.5) for my first time, following all the instructions and it appears that it is properly configured (Test Execution runs without error). When I attempt to import a csv, it reports an error and in the log indicates issue(s) with XML and importing from XML. I am working in Studio Pro 8.14 Any guidance would be greatly appreciated – I have include screen shots below.      

New to Mendix!

$
0
0
Hello everybody, I am new to Mendix and I want to start learning to build apps for business. I am not a programmer but I like to learn that, Can you please advice me where to start and whether is possible to learn that with a  0 knowledge of coding? Thanks, Omar

Calendar week

$
0
0
Hi all, if you have two different dates like 10/05/2020 and 10/12/2020 and you would like to know the calendar week for each date, how can you get this information? Thanks a lot for giving me an idea. Kind regards Siegfried        

Buttons in email and onclick functionality without navigating to app.

$
0
0
Hi Team, I have a scenario where I need to send a mail to the user with buttons for Approve and Reject. On click of one of them the task should be approved in the Mendix. This should happen in the email without navigating to different page. I tried using deeplink but this will be navigating me to a page in the app. Also is it possible to add a comment section in mail and user can enter text and retrieve that information in the app? Any help would be appreciated. Thanks in advance! Regards Sushuma

Error while calling Rest Service: java.security.PrivilegedActionException: javax.net.ssl.SSLException: Connection reset

$
0
0
Hello All, I’m getting below error while invoking rest API using Call REST Post activity in microflow. This error is happening very random and there is no clear steps or path to reproduce the issue. Can you please help to understand whether is it issue from server side or with my mendix application. What are all the best possible way to reproduce and fix this issue.  Here is complete stack trace of issue. Advanced stacktrace: at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:59) Caused by: java.security.PrivilegedActionException: javax.net.ssl.SSLException: Connection reset at com.mendix.integration.util.PrivilegedUtil$$anonfun$withPrivileged$2.applyOrElse(PrivilegedUtil.scala:17) Caused by: null at java.base/java.security.AccessController.doPrivileged(Native Method) at com.mendix.integration.util.PrivilegedUtil$.$anonfun$withPrivileged$1(PrivilegedUtil.scala:13) at scala.util.Try$.apply(Try.scala:213) at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:13) at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:26) at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:74) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:54) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:215) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:165) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54) at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) at com.mendix.basis.component.InternalCoreBase.executeSync(InternalCoreBase.java:382) at com.mendix.modules.microflowengine.MicroflowExecuter$.executeSync(MicroflowExecuter.scala:19) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:215) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:165) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54) at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) at com.mendix.basis.component.InternalCoreBase.executeSync(InternalCoreBase.java:382) at com.mendix.modules.microflowengine.MicroflowExecuter$.executeSync(MicroflowExecuter.scala:19) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SubMicroflowAction.scala:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:215) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:165) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:71) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:49) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:54) at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:147) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:152) at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:40) at com.mendix.webui.actions.microflow.GoHome$.go(ShowHomePageAction.scala:52) at com.mendix.webui.actions.client.GetSessionDataAction.handleHomePageIfAccessible(GetSessionDataAction.scala:185) at com.mendix.webui.actions.client.GetSessionDataAction.$anonfun$execute$9(GetSessionDataAction.scala:76) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:35) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:32) at com.mendix.webui.actions.client.GetSessionDataAction.withState(GetSessionDataAction.scala:28) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:29) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:22) at com.mendix.webui.actions.client.GetSessionDataActi

Java Retrieve Action Timezone issue.

$
0
0
Hello  We are using a java action to perform a retrieve and retrieve clause compares data.  The functionality is working fine for all countries , except for NZ and AU we are getting error “java.time.zone.ZoneRulesException: Unknown time-zone ID: Etc/GMT+13” .  CompletionDate is a date/time column.   Can someone please provide any pointers as what’s going wrong for this. I am trying to debug java action  but am unable to run application from eclipse. Am getting proxy Timeout error.     [(CompletionDate > ''' + formatDateTimeUTC($TimeSheet/WeekEndDate ,'yyyyMMddhhMMss') + ''' or CompletionDate = empty)]'      Caused by: java.time.zone.ZoneRulesException: Unknown time-zone ID: Etc/GMT+13     at java.base/java.time.zone.ZoneRulesProvider.getProvider(ZoneRulesProvider.java:279)     at java.base/java.time.zone.ZoneRulesProvider.getRules(ZoneRulesProvider.java:234)     at java.base/java.time.ZoneRegion.ofId(ZoneRegion.java:120)     at java.base/java.time.ZoneId.of(ZoneId.java:408)     at java.base/java.time.ZoneId.of(ZoneId.java:356)     at java.base/java.time.ZoneId.of(ZoneId.java:312)     at java.base/java.util.TimeZone.toZoneId0(TimeZone.java:573)     at java.base/java.util.TimeZone.toZoneId(TimeZone.java:550)     at com.mendix.shared.util.DateUtils$.parseDateIntoZonedDateTime(DateUtils.scala:43)     at com.mendix.shared.util.DateUtils.parseDateIntoZonedDateTime(DateUtils.scala)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.parseToTimestamp(WhereClauseMapper.java:1341)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.parseDateWhereTerm(WhereClauseMapper.java:1320)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.inferReplacementColumn(WhereClauseMapper.java:586)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleWhereTermSide(WhereClauseMapper.java:554)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleWhereTerm(WhereClauseMapper.java:170)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.map(WhereClauseMapper.java:143)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.map(WhereClauseMapper.java:131)     at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.mapWhereClauseWhereTerms(QueryMapper.java:740)     at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getMappedQueries(QueryMapper.java:243)     at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getQueryInstances(QueryMapper.java:145)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleSubQuery(WhereClauseMapper.java:1197)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleSelectColumn(WhereClauseMapper.java:1063)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleWhereTermSide(WhereClauseMapper.java:569)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.handleWhereTerm(WhereClauseMapper.java:170)     at com.mendix.connectionbus.retrieve.query.mapping.WhereClauseMapper.map(WhereClauseMapper.java:143)     at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.mapWhereClauseWhereTerms(QueryMapper.java:740)     at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getMappedQueries(QueryMapper.java:243)     at com.mendix.connectionbus.retrieve.query.mapping.QueryMapper.getQueryInstances(QueryMapper.java:145)     at com.mendix.connectionbus.retrieve.OqlRequestHandler.doOldQueryHandling(OqlRequestHandler.scala:174)     at com.mendix.connectionbus.retrieve.OqlRequestHandler.handleError$1(OqlRequestHandler.scala:68)     at com.mendix.connectionbus.retrieve.OqlRequestHandler.handleRequest(OqlRequestHandler.scala:102)     at com.mendix.connectionbus.retrieve.DataStoreCaller.processOqlGetRequest(DataStoreCaller.scala:41)     at com.mendix.connectionbus.retrieve.DataStoreCaller.$anonfun$getResult$1(DataStoreCaller.scala:35)     at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:245)     at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:36)     at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:33)     at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:38)     at scala.collection.TraversableLike.flatMap(TraversableLike.scala:245)     at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:242)     at scala.collection.AbstractTraversable.flatMap(Traversable.scala:108)     at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.scala:35)     at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.scala:33)     at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:66)     at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:49)     at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:518)     at com.mendix.basis.action.user.RetrieveXPathRawAction.retrieveXPathRaw(RetrieveXPathRawAction.java:132)  

About session ID management

$
0
0
I have a question about Mendix session management. If you know the following two points, please let me know. 1. When the session ID is received, is it a specification that verifies the validity of the session ID and immediately discards it if the session ID is invalid? 2. When the session ends (logout, timeout), is the session information retained in the application destroyed?

Does Mendxi runtime need a reboot?

$
0
0
Currently, we are considering operation and maintenance when introducing Mendix on IaaS (Azure / Windows Server). Is it necessary to reboot regularly as a specification of Mendix?

How to generating a Android APK

$
0
0
Hi All, I need to generate an Android APK, for hybrid application, How to generate it.  and APK generation is there any restrictions we need to bey an Enterprise addition?

Consume REST return as a LIST

$
0
0
Hi All, I’ve consume a REST api, and it is with JSON format, the JSON is with multiple records. For example: Would like to ask is there anyway that when i  call the REST Services, and return with the LIST ?  so far i tested it only able to return with the first record.   thanks.

Duplicate values in Reference Selector and Disabled form elements while using multiple entities on a single page.

$
0
0
Hi All,     - I'm consuming the User REST data, which is have 3 records of user information and i can see the list of 3records on separate page. its working fine. When I bind the UserName from the list using reference selector on the Add_Timesheet page, the records are duplicating in the dropdown each time I’m running the application.     - Another issue is, In the Add_Timesheet page, the User dropdown only is accessible(its from UserEntity through root). But in the same page, the Timesheet Entity elements are in read-only/disabled mode. how can i make it editable while adding the timesheet. Please help me to fix these two issues..  

Creating sample application using Camera Widget

$
0
0
Hi All, I’m working on a sample hybrid camera application, I’m using Camera Widget (https://appstore.home.mendix.com/link/app/107943/). I flowed the same steps as mention in this Widget, After placing the camera widget I’m getting this error “Move this widget into a data container, for example, a data view or list view” please guide me how to proceed further  Please find the attached image  

Accessing Page parameter inside data grid

$
0
0
Hi all, I am trying to access the data of page parameter inside data grid, I have a dataview which has page parameter with entity A and inside that I have a datagrid with entity B. Now I want to use the page parameter to fetch data from database, but I am not able to use the page parameter in data grid. I also tried to do it with %CurrentObject%, but it is not giving anything. Please help me out.    

Error with the native builder

$
0
0
I are trying to create a native mendix mobile app using this documentation: https://docs.mendix.com/howto/mobile/getting-started-with-native-mobile. However, while running the git cmd, and modifying and running the command provided on the document, I keep getting an error saying unable to create new repository from template repository   I am pretty new to github so I do not understand what they mean by template repository or if I need to create a template repository somewhere.   This is the command I wrote to the git CMD native-builder-v2.0.0\native-builder.exe prepare --project-name VerticalFarm-main_11 --java-home "C:\Program Files\AdoptOpenJDK\jdk-11.0.3.7-hotspot" --project-path "C:\Users\vimst\Documents\Mendix\VerticalFarm-main_11\VerticalFarm.mpr" --mxbuild-path "C:\Program Files\Mendix\8.13.1.5182\modeler\mxbuild.exe" --github-access-token ead1196ba6cebca1a03ce0eb1d83691c5278fa26 --appcenter-api-token d715f6d6d79d78e879256964481f9a22cba66b24 --appcenter-organization "cool-organization" --runtime-url "https://verticalfarm-sandbox.mxapps.io/" --app-name "verticalfarmm" --app-identifier "io.mxapps.verticalfarm-sandbox" --mendix-version 8.13.1 --app-version 0.1.0 --build-number 1 --native-packager 1 There are a bunch of things that i tried, thats why the commands is a bit messy.   Screenshot of the error

New Sprintr - stories UI

$
0
0
There is done a change in the UI of the stories in Sprintr. Can someone explain me: - how to remove a label of a story? - how to add a label when edititing the story (it can only be done from the list of stories) - how tp add a label during adding a new story It seems that the new UI is missing some functionality that was there before….

Retrieve returning empty even though object is referenced.

$
0
0
I am calling a microflow with the Java action executeInBackground, and I’m calling a retrieve on a non-persistable object and it returns empty even though the object im retrieving from has the id of the object (from the debugger). Why is it returning empty even though it is referenced?

Bad request error when trying to connect with our sharepoint

$
0
0
Hello, I’m trying to connect with the sharepoint of our company. According to microsoft doc, the first step is to get our “tenant id” using REST. The destination should be something like: https://mycompany.sharepoint.com/_vti_bin/client.svc When I try this on my microflow, I have an “unauthorized” error without authentication (which is normal) But when I add the authentication parameters, I got a bad request error… Do you know why? For information, if I connect to sharepoint with the user used as authentication, the request https://mycompany.sharepoint.com/_vti_bin/client.svc return correct response in my browser… Thanks in advance

text added to empty value in reference selector

$
0
0
Is it possible to assign a text (showing up in the selectable options) to the empty value of a reference selector? This in order to make the user aware that choosing for option "no choice" he explicitly chooses for this option. It would be very nice if, in addition, also can be chosen where this empty value (with caption) shows up, in other words, that the order of selectable items can be influenced.

How to increase upload speed for Mendix cloud?

$
0
0
We have built a simple application uploading big files (up to 300 MB) to Mendix with the standard upload control. When testing we see that the upload speed is limited to 50 Mbps. Is there a way to increase this limit?   We now use Azure blob storage as storage layer, but the limit does not seems to be dependent on the storage layer. 
Viewing all 83469 articles
Browse latest View live


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