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

cannot run mendix project in eclipse

$
0
0
Hi, all. I deploy a mendix project for eclipse and import to eclipse, but meet some errors. I tried eclipse 2020-3,2020-6 and also 2019-9, all of them failed to run the project.  I think the build path is already set, but still failed. Thanks in advance.  

Does Mendix supports Handheld Bar code scanner and Printer?

$
0
0
If Bar code scanner is a handheld device without a camera then how can we connect Bar code scanner and send its template to Bar code printer ?

Barcode Reader Integration with Application

$
0
0
Hi All,   I have requirement where user will read the barcode using Barcode Reader(for Example, if you go to any supermartket, they will use barcode reader then the price of the product will be visible in the application) and the details of the barcode should be visible in the application(Note: Barcode generated in the application already, details has to get from the database and show it in the page). I want to know how to integrate the Barcode reader with my application.  Thanks in advance.

Which Hardware do you use? // Mendix Pro on Windows Server 2016

$
0
0
Hi, With the time my projects slowly become a bit bigger. However, I have the impression that my hardware with Mendix reaches its limits, especially when Teams is also running at the same time.   HP EliteBook 745 G6 AMD Ryzen 5 PRO 3500U w/ Radeon Vega Mobile Gfx, 2100 MHz 16,0 GB RAM   What hardware do you use and what is your experience?  

How to convert all mendix data/record in pdf format and share via what's up

$
0
0
Hello, I have all the product details, I want to convert all the data in pdf format in the page and share that pdf to another person via what’s up or skype or any other social media platform. Please suggest me. Thank you.

Show password in the Login form the App store

$
0
0
Hello ! i downloaded the Login form from the app store ,  is there is any way to add the glyphicon eye to show the password inside the password field ??   

Unable checkout code

$
0
0
Mendix.Modeler.ProjectHandling.Checkout.ProjectCheckoutException: Downloading the App failed.    at Mendix.Modeler.ProjectHandling.Checkout.ProjectCheckouterUI.<>c__DisplayClass9_0.b__0(IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.ProjectHandling\Checkout\ProjectCheckouterUI.cs:line 120    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 83    at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\jenkins-ci\workspace\AppStudio4.0-Build@2\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 63    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

Unit testing Java actions

$
0
0
Are there any best practices to adhear to when unit testing your Java actions? I'm finding it difficult to call a Java action from within a unit test when I have to specifcy parameters of type module.proxies.MendixObject. I can't initalize one of these objects without an IContext or IMendixObject.

Unable to download "Starting Point" file from Private Organization App Store

$
0
0
We are trying to create a package that is a “Starting Point” for Mendix. It’s uploaded to the app store and private to our organization. It shows up as an option to choose from, and when I try to download it to start my project, I get the following error (see log below). Any ideas on why this is failing?   2020-07-12 22:40:10.1225 ERROR Mendix.Modeler.AppStoreIntegration.AppStoreDownloader Error while communicating with App Store. System.ServiceModel.FaultException: Access Denied Server stack trace: at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Mendix.Modeler.AppStoreConnector.AppStoreService.AppStoreServiceMx6_2PortType.GetDownloadUrl(GetDownloadUrlRequest request) at Mendix.Modeler.AppStoreConnector.AppStoreDataManager.<>c__DisplayClass28_0.b__0(AppStoreServiceMx6_2PortTypeClient c) in C:\jenkins-ci\workspace\AppStudio4.0-Build@4\modeler\Mendix.Modeler.AppStoreConnector\AppStoreDataManager.cs:line 271 at Mendix.Modeler.AppStoreConnector.AppStoreDataManager.DoRequest[TResult](Func`2 action) in C:\jenkins-ci\workspace\AppStudio4.0-Build@4\modeler\Mendix.Modeler.AppStoreConnector\AppStoreDataManager.cs:line 63 at Mendix.Modeler.AppStoreIntegration.AppStoreDownloader.GetDownloadUrl(String versionId, String userName) in C:\jenkins-ci\workspace\AppStudio4.0-Build@4\modeler\Mendix.Modeler.Core\AppStoreIntegration\AppStoreDownloader.cs:line 164  

Default background on template document

$
0
0
Our customer uses a Mendix app to produce output with Microsoft Word (using Templates and Generate Document). They requested to add an default background image in the (Word) template, almost full page (A4) instead of using custom paper in the printer (reducing costs). How to achieve this?

microflow environment

$
0
0
How do i navigate to the microflow environment? version is studio pro 8.11.0

Checkbox without data view in mendix

$
0
0
Hi, I need checkbox without data view.I need  to pass a hard coded value let say 1 for first checkbox 2 for second check box without data view. Once the user selects the checkbox, I need get the check box value and based on which I will clean-up whole entity reference table.   Whether it is possible to create a checkbox without data view in mendix? If so how to do the same.

Barcode Scanner from Tablet Browser

$
0
0
Hi all,   i have requirement to scan Barcodes . Application is a desktop application. The Barcode scan has to happen when the application is opened in the browser of tablet or a mobile phone. Is there any widget or way to scan a barcode from Tablet browser or Mobile phone browser.   Thanks in Advance    

IBM Watson Assistant Error when sending Message

$
0
0
Hello, I am currently working on integrating IBM Watson Assistant into one of my Apps.  Unfortunately I am facing some issues which I didn’t have, when I tested the other Services (e.g. Speech to text, Tone Analyzer).  When I try to send a Message to the Assistant I get the following Error Code:   com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException     at MyFirstModule.Assistant (JavaAction : 'Assistant - Send message') Advanced stacktrace:     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException     at MyFirstModule.Assistant (JavaAction : 'Assistant - Send message') Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:418) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: java.lang.NullPointerException: null     at watsonservices.utils.AssistantService.sendMessage(AssistantService.java:70)     at watsonservices.actions.SendMessage.executeAction(SendMessage.java:43)     at watsonservices.actions.SendMessage.executeAction(SendMessage.java:20)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:414)     at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:56)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:383)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:398)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:46)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:32)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:15)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:46)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:33)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.withState(RegularClientAction.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:44)     at scala.util.Try$.apply(Try.scala:213)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:44)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:42)     at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$6(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:21)     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:21)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$1(RegularClientAction.scala:42)     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:21)     at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:39)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:124)     at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:101)     at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75)     at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:953)     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:867)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)     at org.eclipse.jetty.server.Server.handle(Server.java:502)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)     at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)     at java.lang.Thread.run(Thread.java:748)   I also get the following Network activity (shown in Chrome Dev Tools):   Does anyone have an idea how to solve this error?   Thanks!

OQL - Sub SELECT statements in SELECT?!

$
0
0
  Hi all,  I have a dynamic excel export where I build as many columns as required, but when looking at the OQL it creates, I am not able to pick the right cell under the relevant header.   SELECT RowAnswer as RowAnswer0, RowAnswer as RowAnswer1   FROM "Reporting"."HeaderItem" AS headerItem     INNER JOIN headerItem/"Reporting"."RowItem_HeaderItem"/"Reporting"."RowItem" AS rowItem    INNER JOIN "headerItem"/"Reporting"."HeaderItem_Report"/"Reporting"."Report" AS refobject    ON refobject/ID = 40250921669626909    WHERE headerItem.ColNo = 1 ; This results in a table like this for example (where all rows have the same result since there is only one where clause pointing to the one header only): Vendor       Status Docusign     Docusign Workshare   Workshare FlipLet          FlipLet HighQ           HighQ   What is the best way to achieve a SELECT where the each column will have a where clause, e.g. RowAnswer0 where headerItem.ColNo = 1, RowAnswer0 where headerItem.ColNo = 2, and so on, so I end up with a result like the one below: Vendor       Status Docusign     In Progress Workshare   To Start FlipLet          In Progress HighQ           Completed   I have tried a number of options but back to square one as none worked. The model. The RowItem_Report was not intended, but it was one way to get some of the output as required

Where a Signature is stored as an image?

$
0
0
Hi all! So I’m trying to create an app where someone can add a signature in a page.  I’m using the signature widget I found on the app store. My scope is to add this image on a pdf file but I cannot understand how to add it and also where is it stored.  Do you have any suggest? Maybe another trick for this scope? 

Getting "SenderId mismatch" while sending push notification message to my app running on Make it native app.

$
0
0
I have configured FCM, and downloaded  google services glist, json and private key and followed all steps. Log: {   "error": {     "code": 403,     "message": "SenderId mismatch",     "status": "PERMISSION_DENIED",     "details": [       {         "@type": "type.googleapis.com/google.firebase.fcm.v1.FcmError",         "errorCode": "SENDER_ID_MISMATCH"       }     ]   } }  

HTTP Error 500 when running Mendix App locally

$
0
0
Hello, In our project we currently have the problem, that some developers run into a HTTP ERROR 500 when running the app locally and viewing it in the browser. In our project we are currently working with Mendix 8.8.1. We tried to compare the following between my machine where it works and the machines where it doesn't. None of it helped. Comparing the Errors in the Mendix Console when running locally. Yes there is an error, but also on my machine, where it works perfectly (see screenshot attached) Comparing the complete project settings (esp. Runtime, Anonymous users and security. They are all the same. Trying with different branches and rolling back to older versions Setting breakpoints in the microflows which are used after startup (Esp. in SiemensEntitlementSSOIntegration.ASU_OpenIDConnect_Start since we use the Siemens Entitlement Module. We assumed the problem could come from this module, but we could not link the Error 500 to any called microflows.) Comparing Firewall settings   Since we couldn't figure out what exactly causes the Error 500 - Is it possible to access logs of the local server which could contain further information? What could be another approach to find the cause for this error?   Thank you for any hints!  

Embedding a link in javascript action

$
0
0
Hi everyone, I have very little javascript experience, and I am trying to embed a link in an email in a javascript action, but it is not formatting the way I want it to. I just want the link to say for example “link”. Below is how the javascript code and what is produced from it.          Does anyone know how to resolve this, or perhaps know another solution?    Thank you! Jon Cohen

line break in hybrid mobile app

$
0
0
Hello everybody, I am trying to break a line if it is too long for a cell in a table. The table is in a dataview and the App-Type is hybrid. I have tried to add line_break{     word-wrap: break-word;              overflow-wrap: break-word;         width: 100%; } to my _custom.scss in the theme\styles\web\sass\app\ folder and add “line_break” to the class-attribute of the properties of my dataview. After synchronizing the project dir i tried but there were no changes. Does somebody know, what I am doing wrong?   Best regards   Tobias
Viewing all 83469 articles
Browse latest View live


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