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

Getting unexpected error: Initializing environment is failed while deploying my application first time into production

$
0
0
Hello Team, I am getting unexpected error while deploying my application first time into production. 1. Logged into Mendix portal and came on environment page. 2. Selected application and click on transport to production and then followed . 3. we are getting error 'unexpected error occurred: initializing Environment Failed.'  4. We are doing application deployment on the production first time. 5. we have tried 3 times and getting same error. Please assist how to resolve this error. Today we are going live with the new application so there will be impact as Go Live delay if this error will not resolved timely.   

How can I enable filters for the template grid with data source microflow?

$
0
0
How can I enable filters for the template grid with data source microflow? I need to be able to filter the grid the same way as when the data source “domain model”.

Unable to configure custom mendix sso

$
0
0
As suggested in one documentation i was trying to customize mendix sso like create our own entity which can manage users rather than using MendixSSOUser entity of Mendix SSO module.but after configuring all things like changing createUser,updateUser microflows i am getting error like unable to create your account in app.

What is file entity

$
0
0
Hello buddies I am learning how to upload/donwload files from https://docs.mendix.com/studio-how-to/pages-how-to-attach-files#4-adding-a-file-manager. It mentions that create a file entity in domain model, but I didn’t get it from my studio pro, Could anybody tell me how to find this entity type?  Thanks.   but I didn’t find this entity type from my toolbox

Customization in mendix sso

Is their Static IP for Mendix Cloud and Is their any cache memory on Mendix cloud which stores data?

$
0
0
In my app Data is coming from API which is hosted on IIS of local server. I want to access data on Mendix cloud so, have couple of queries that whether Mendix cloud server has static IP and cache memory 

Trouble using Webflight's AWS SQS Connector

$
0
0
Ever since upgrading to 8.10.3 the AWS SQS connector by Webflight fails at compile time. Just to be sure; I’m linking the github repository but actually install using the mendix store. The stacktrace is as follows: ava.lang.NoSuchMethodError: com.fasterxml.jackson.annotation.JsonFormat$Value.empty()Lcom/fasterxml/jackson/annotation/JsonFormat$Value; at com.fasterxml.jackson.databind.cfg.MapperConfig.(MapperConfig.java:51) at com.fasterxml.jackson.databind.ObjectMapper.(ObjectMapper.java:613) at com.fasterxml.jackson.databind.ObjectMapper.(ObjectMapper.java:528) at com.amazonaws.partitions.PartitionsLoader.(PartitionsLoader.java:51) at com.amazonaws.regions.RegionMetadataFactory.create(RegionMetadataFactory.java:30) at com.amazonaws.regions.RegionUtils.initialize(RegionUtils.java:65) at com.amazonaws.regions.RegionUtils.getRegionMetadata(RegionUtils.java:53) at com.amazonaws.regions.RegionUtils.getRegion(RegionUtils.java:107) at com.amazonaws.client.builder.AwsClientBuilder.getRegionObject(AwsClientBuilder.java:256) at com.amazonaws.client.builder.AwsClientBuilder.withRegion(AwsClientBuilder.java:245) at com.amazonaws.client.builder.AwsClientBuilder.withRegion(AwsClientBuilder.java:232) at amazonsqsconnector.factories.AmazonSQSFactory.getSQS(AmazonSQSFactory.java:28) at amazonsqsconnector.actions.ReceiveMessages.executeAction(ReceiveMessages.java:41) at amazonsqsconnector.actions.ReceiveMessages.executeAction(ReceiveMessages.java:24) 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.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:30) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:56) 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.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:76) at com.mendix.webui.actions.client.ExecuteMicroflowAction.$anonfun$apply$3(ExecuteMicroflowAction.scala:42) at com.mendix.webui.actions.client.RegularClientAction$Helpers$.$anonfun$liftEither$1(RegularClientAction.scala:29) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.$anonfun$apply$4(RegularClientAction.scala:55) 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.RegularClientAction$Helpers$StateHandler.withState(RegularClientAction.scala:45) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:53) at com.mendix.webui.actions.client.RegularClientAction$Helpers$StateHandler.apply(RegularClientAction.scala:45) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:43) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:22) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:109) at scala.util.Try$.apply(Try.scala:213) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:109) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:107) at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$5(ContextHandling.scala:47) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49) at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25) at com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala:59) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:47) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:27) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:24) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:19) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:107) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23) at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14) at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10) at com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:86) at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:104) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:104) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:81) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79) at com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:930) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:755) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:547) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1300) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:485) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1215) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:500) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:547) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:117) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:834)     Over at Github there is a list with issues but the original contributer does not seem to pay attention to that place. Does anyone know how to fix this? I cannot seem to find the library used either but also can’t find when it was removed. Github issue I created Simply reinstalling the module does not change anything. It was still working on mendix version 8.8, so something after that version probably removed the library?      

Error while executing an SQL query (oracle database)

$
0
0
Dear Team, While executing an SQL query, I am getting below error, Could you please tell me how to resolve this? Thanks in advance. com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.sql.SQLRecoverableException: IO Error: Checksum fail     at MyFirstModule.Test_Database_Connection (JavaAction : 'Execute query') Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:152) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.sql.SQLRecoverableException: IO Error: Checksum fail     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156)  

How can I download a File using a REST call in a microflow? Getting errors CE0362 and cE0363 (details below)

$
0
0
In my microflow, I added a ‘Call REST’ activity. It is a Post. The return value is a file. I Selected “Store in a file document” . Now I see 2 errors : CE0362 System entity ‘System.HttpResponse’ is not allowed as a return type CE0363 The return type ‘System.HttpResponse’ must be a specialization of FileDocument Any suggestions on how to download a file via REST call?

OQL with String parameters

$
0
0
Hi,   Is there a way to add String parameters in OQL. now you can only add object, boolean, datetime, integer, enumeration and decimal but not String.   Kind regards, Steven Keersmaekers

extract "current time" from [%CurrentDateTime%] and compare

$
0
0
Hi all, Is there any good suggestions to extract current hours (+minutes ) from the variable [%CurrentDateTime%]  in a microflow? I want to compare the current time to specific time to make a decision in microflow, say it’s 5a.m. in the morning and admin doesn’t want user to see the screen at the time, “User cannot login before 7a.m.”   Found this one below in the Docs, but seems I cannot use the method in a microflow… https://docs.mendix.com/refguide/xpath-hours-from-datetime#1-overview     What method should I use? Thank you in Advance. Regards, Yuki

SQL Error with Database connections

$
0
0
I have the following error after updating my application from 7.23.4 to 8.11.1: WARNING ConnectionBus: Database connections: 0 active, 35 idle. ERROR    ConnectionBus: Opening JDBC connection to Some() failed with SQLState: 53300 Error code: 0 Message: FATAL: remaining connection slots are reserved for non-replication superuser connections Retrying...(1/4) The application is very slow and waiting for long times. Can anybody help me?

Automation testing in Mendix native application

$
0
0
We have written the automation script to one of our Mendix native mobile application. Script is written for the page to enter the two fields  and two buttons. Currently, XPATH and name to find the unique property of fields and used to pass the values to input field and to perform click button action. Could able to pass the input to the fields but it is not working on click event in automation. Mendix native app does not have automation support? Because we couldn’t able to perform button clickable action in page.  We are using Appium framework to do automation.  Thanks!!!

Widget.xml not found

$
0
0
Hi! I’m doing the crash course. I’m done up to ‘Setting Up Your Development Environment’ (11.4). After this, I couldn’t find the ‘widget.xml’ file. Is that something I should create from scratch? However, the tutorial says changing some code as if there should be an existing file. I’m using Studio Pro 8.10.3. Please help me where I can find the ‘widget.xml’ file or why I’m unable to see one. TIA! Vertika

Add details button to Data Grid

$
0
0
Dear All, I have been thinking and trying to solve the following problem. Im creating an app that should have a details button in its data grid as the first picture attached. How can I set up a details button for it on my data grid(second picture? Thanks in advanced  

Word Document to PDF

$
0
0
Hi,   is there any free libraries that convert word document to PDF document?   Any java code that converts Word document to PDF?   Thanks in advance

Pie Chart displaying count of enumeration (instead of string) as percentage

$
0
0
I want to display the count of enumeration (as percentage) in a Pie Chart using Pie chart widget   Below is my microflow.            Can anyone describe in detail a microflow that fetches the count of "Status” enumeration attribute and displays it in the PieChart. I do not want to manually fill in the decimal values in PieChart1y & PieChart2y but it should be automatically fetched by the microflow.

Setting the default tab of tab container in the run time

$
0
0
Hi, I have the scenario to load the default tab based on the enumeration value. For example, if the enum value is ‘one’ then the first tab should be displayed and if the enum value is ‘two’ then the second tab should be displayed when navigating to the page. Is it possible to set the default tab of the tab container widget in run time. Any suggestion would be great to achieve this feature, Thanks!

column chart X axis issues (string + int)

$
0
0
I have a column chart with an X axis field that is a string. The values of these records are as follows: “Q1’ 2019”, “Q4’ 2018”, “Q3’ 2018”, “2018”, “2017”, “2016”   Basically it’s a shirt that reports numbers based on the last three quarters and the last three years. Those years obviously look like int’s, but the entity field is a string. I even wrap the values in INT’s when setting them via microflow (thats the datasource, not the DB). However the last three don’t show up on the graph.  IF I append a string to them like “FY” + “ “ + $Year, ($year being a string variable). They DO show up on the graph.  Is this a known bug that if an Axis is a string, by the strings “LOOK” like a mix of text and numbers, the numbers get ignored?

How to pass a text input value to Microflow

$
0
0
Hello! I am a newbie and I know that similar questions have been asked, but I can’t find an appropriate example. I have a REST function for loading a Task with a given ID  How can I do that the user types in the ID, and this is passed to my Microflow? Which control do I need? My idea was maybe there have to be 2 dataviews nested, but does not work. Also that it is specified as page parameter is wrong. So the Id should be passed when user clicks the button “Get Task”, and then the information should be loaded into the text fields below.. I could not find a similar example in the “Crash course” or somewhere else Regards, Raimund
Viewing all 83469 articles
Browse latest View live


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