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

Refresh of non-persistable entities in a list view over association embedded in a dataview over association

$
0
0
Hi everyone, I am trying to understand an issue. I created a test project for it. You can try here: https://testprojectforissues-sandbox.mxapps.io/ You’ll find screenshots of the modeler (page, data model and microflow). I observe that when using an asynchronous call on an OnChange event, the list is always refreshed correctly. While if I use a synchronous call on an OnChange event, the list is most of the time not refreshed correctly – but it is sometimes refreshed... If the entity used in the list view is persistable, it works fine. But I’d like to understand what is going on with the non-persitable entity. I need some pointers to figure out why the synchronous call does not refresh the list of non-persistable entities correctly and why the asynchronous call does... Thanks! Nico

SAML for On-prem Application gives 404 not found error.

$
0
0
When my app routes to /SSO/ it gives 404 directory not found error. However my IDP and SP metadata is configured correctly.

Copying FileDocument contents with custom java

$
0
0
I have some custom Java that takes a list of objects. The object’s name is called TestFile and the generalization is System.Filedocument. I loop through each TestFile in java and store the binary contents into a string just for practice. It works fine. BUT I’m also trying to have it add a NEW TestFile and copy the contents of the file. The reason I’m doing this in java is because I intend to manipulate the content of the document first. But I’m having trouble: int length = this.Parameter.size(); for(int a = 0;a

File Dropper Drop zone text error

$
0
0
hi team I have an issue with dropzone text. I am using two FileDroppers on the same page. ex, fileDropper1 & fileDropper2 and I found that the fileDropper2 dropzone text is affected fileDropper1 dropzone text fileDropper1 fileDropper2 and this is what I got with fileDropper1!!! Do you know how to fix this ? or do I need to use another tool? thank you.

How to trigger Nanoflow using Javascript

$
0
0
Hi All, How can I trigger the Nanoflow using Javascript. I have checked the Client API however they are referring to triggering the Nanoflows from with the HTML Snippet widget. Thanks in Advance.

How to create Registration Page and its Logic in Mendix?

$
0
0
- Registration Page in Mendix with validation logic and how it stores data in domain model.

How can i display grouped row in the grid instead of all?

$
0
0
I am getting all the rows having for each product details. Suppose Product Month sold zone A jan 10 VU B jan 20 VU C Jan 30 Vu Total number of sold products are : 60 on page i want to display total number of sold product in VU Zone but righ now i am getting all.

Necessary methods to connect mendix with mindsphere

$
0
0
Hello community, I'm new to this and I have a question. What is needed to connect mendix with mindsphere, only having Mendix studio pro is it possible or do you need to pay some other software?

XPath Constraint inside Retreive object widget

$
0
0
How can I retrieve objects by using enumeration values as XPath constraint.

MQTT client(Publish) - Unable to load certificates, Unable to create MQTT Connection

$
0
0
Myself trying to push data to AWS IOT using MQTT publish activity. Entered the AWS endpoint, Certificates, topic and payload. Is there anything specific to consider while using MQTT client’s Object Activity Showing this error in console:- java.nio.file.NoSuchFileException: C:\Breakdown_App-main\deployment\model\resources\-----BEGIN CERTIFICATE-----MIIDQTCCAimgAwIBAgITBmyfz5m\jAo54vB4ikPmljZbyjANBgkqhkiG9w0BAQsFADA5MQswCQYDVQQGEwJVUzEPMA0GA1UEChMGQW1hem9uMRkwFwYDVQQDExBBbWF6b24gUm9vdCBDQSAxMB4XDTE1MDUyNjAwMDAwMFoXDTM4MDExNzAwMDAwMFowOTELMAkGA1UEBhMCVVMxDzANBgNVBAoTBkFtYXpvbjEZMBcGA1UEAxMQQW1hem9uIFJvb3QgQ0EgMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALJ4gHHKeNXja9HgFB0fW7Y14h29Jlo91ghYPl0hAEvrAIthtOgQ3pOsqTQNroBvo3bSMgHFzZM9O6II8c+6zf1tRn4SWiw3te5djgdYZ6k\oI2peVKVuRF4fn9tBb6dNqcmzU5L\qwIFAGbHrQgLKm+a\sRxmPUDgH3KKHOVj4utWp+UhnMJbulHheb4mjUcAwhmahRWa6VOujw5H5SNz\0egwLX0tdHA114gk957EWW67c4cX8jJGKLhD+rcdqsq08p8kDi1L93FcXmn\6pUCyziKrlA4b9v7LWIbxcceVOF34GfID5yHI9Y\QCB\IIDEgEw+OyQmjgSubJrIqg0CAwEAAaNCMEAwDwYDVR0TAQH\BAUwAwEB\zAOBgNVHQ8BAf8EBAMCAYYwHQYDVR0OBBYEFIQYzIU07LwMlJQuCFmcx7IQTgoIMA0GCSqGSIb3DQEBCwUAA4IBAQCY8jdaQZChGsV2USggNiMOruYou6r4lK5IpDB\G\wkjUu0yKGX9rbxenDIU5PMCCjjmCXPI6T53iHTfIUJrU6adTrCC2qJeHZERxhlbI1Bjjt\msv0tadQ1wUsN+gDS63pYaACbvXy8MWy7Vu33PqUXHeeE6V\Uq2V8viTO96LXFvKWlJbYK8U90vvo\ufQJVtMVT8QtPHRh8jrdkPSHCa2XV4cdFyQzR1bldZwgJcJmApzyMZFo6IQ6XU5MsI+yMRQ+hDKXJioaldXgjUkK642M4UwtBV8ob2xJNDd2ZhwLnoQdeXeGADbkpyrqXRfboQnoZsG4q5WTP468SQvvG5-----END CERTIFICATE----- at java.base/sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:85) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:103) at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:108) at java.base/sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:231) at java.base/java.nio.file.Files.newByteChannel(Files.java:370) at java.base/java.nio.file.Files.newByteChannel(Files.java:421) at java.base/java.nio.file.Files.readAllBytes(Files.java:3205) at mqttclient.impl.SslUtil.getSslSocketFactory(SslUtil.java:50) at mqttclient.impl.MqttConnector$MqttConnection.(MqttConnector.java:124) at mqttclient.impl.MqttConnector.getMqttConnection(MqttConnector.java:53) at mqttclient.impl.MqttConnector.publish(MqttConnector.java:39) at mqttclient.actions.MqttPublish.executeAction(MqttPublish.java:56) at mqttclient.actions.MqttPublish.executeAction(MqttPublish.java:17) 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:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.scala:25) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:80) at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:19) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:79) at com.mendix.basis.actionmanagement.UserActionCallBuilderImpl.execute(UserActionCallBuilderImpl.scala:34) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:35) at com.mendix.modules.microflowengine.actions.actioncall.ForegroundJavaAction.doExecute(ForegroundJavaAction.scala:11) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:38) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.$anonfun$execute$1(MicroflowObject.scala:32) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.scala:29) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.$anonfun$executeAfterBreakingIfNecessary$2(MicroflowImpl.scala:167) at scala.Option.flatMap(Option.scala:283) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.scala:167) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.scala:114) 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:48) at com.mendix.core.actionmanagement.internal.InternalCoreAction.call(InternalCoreAction.scala:25) at com.mendix.basis.actionmanagement.ActionManager.$anonfun$executeSync$2(ActionManager.scala:80) at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:19) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:79) at com.mendix.basis.actionmanagement.MicroflowCallBuilderImpl.execute(MicroflowCallBuilderImpl.scala:38) 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:42) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:39) 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:210) 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:51) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18) at com.mendix.basis.actionmanagement.ActionMonitoring$.$anonfun$monitor$1(ActionMonitoring.scala:49) at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:19) at com.mendix.basis.actionmanagement.ActionMonitoring$.monitor(ActionMonitoring.scala:49) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:51) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:26) at com.mendix.webui.actions.client.RegularClientAction.inContext(RegularClientAction.scala:86) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:23) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext$(ContextHandling.scala:18) 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.scala:18) 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:106) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:79) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:35) at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1(MxRuntimeConnector.scala:51) at com.mendix.external.connector.MxRuntimeConnector.$anonfun$processRequest$1$adapted(MxRuntimeConnector.scala:51) at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:19) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.scala:51) at com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:827) at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:25) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) 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:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.base/java.lang.Thread.run(Thread.java:834)

Online searching in Native Mobile

$
0
0
Hi Experts, I was wondering is there any seamless way to retrieve an entity via a microflow and then immediately return the list to a listview in native mobile? Right now native mobile doesn’t allow persistable entities to be returned from a microflow to a nanoflow. I could think of several ways to solve this, like syncing the list to the mobile device first, then adding search parameters in the nanoflow, but I think it will have an impact on performance. Any tips and advice will be much appreciated. Cheers!

Sending mail from mendix Application

$
0
0
I used Email template to send mail from my application. When I try to use gmail, it works fine, but when I use the outlook(smtp.office365.com), the mail is not sent. I cant able to debug as I cant see any errors in console, just I see ERROR in show message(object activity). Is there anything to do special for Outlook mails.

How a mendix application deploy using AWS?

$
0
0
- Deployment of a mendix web application using AWS.

How do I check if the Current User is an Administrator?

$
0
0
Hello, I'm a 2nd year University student working at Siemens for the year and consider myself a newbie Mendix developer. Just wondering how I can check if the currently logged in user is an administrator? So far, I’ve created a decision block which checks if the logged in user has an administrator username but I want to check the account by type rather than by name. How can I do this? Thanks in advance :)

Pluggable Widget was rendered incorrectly

$
0
0
Hi Forum, I have one pluggable widget with one Checkbox function; I could use it well in my local environment. But after integrated into Mendix itself, finally I got this; it seemed Mendix “changed / overrode” my css configuration, so the display didn’t work correctly below. Therefore, I would like to know, how can I override the css for this Checkbox? (I want to change the "position” into “absolute”). Thanks in advance.

Pdf generation from native mobile app.

$
0
0
Hi All, Can we generate pdf from native mobile. As on web pages we can do it by using document template and generate document activity in microflow. Is there any way to implement this. Thanks, Uddhav.

Ex[port excel of data grid via button

$
0
0
I need to set up a button on click of which data grid (using data grid 2) gets exported as it is using the button. I have downloaded the widget Excel exporter but not sure how to configure it. How can this be achieved?

Camera Widget not working for PWA application.

$
0
0
Hello, I am using camera widget for the PWA application. When I am testing it in mobile phones(android and ios) – it is not working. Can someone please help in this. Do i need to create some microflow for the camera access of mobile phones? And when I am trying with Take Picture JS- it is showing medianotsupported and Loading module require*_34 failed! Check script file for syntax errors.

Adding a dataview dynamically on same page just above main placeholder when user click a button.

$
0
0
Scenario: When user clicks calculate button i want to show the result (a table in a dataview) on the same page . Everything before click should be there but after click a dataview is added (possibly above Main Placeholder). Is there any way i can do that., or any other way to show a table on same page i.e., pushing main placeholder content below and show a table in the gap. Please help.

Downloading file outside docker container.

$
0
0
Hello, I have a use case where I need to create a .json file and download it on client side. I tried using Download file activity and File Manager widget as well. Both approaches works fine on cloud and local deployment but not inside docker container. When I try to download file inside docker container it gives below error ERROR - Connector: com.mendix.modules.microflowengine.MicroflowException: LocalFileSystemStore:: File does not exist for key: ********************** at ImportExport.ACT_ExportImages (Export with mapping : 'Export to JSON') MxStudio version 9.11.0 Can someone please help me here. Thank you so much.
Viewing all 83469 articles
Browse latest View live


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