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

Close Page action in relation to an error

$
0
0

Hi,

I have a microflow that closes the current page and then calls a sub flow to submit finalized work to a REST call and request a new piece of work via a second REST call. I'm finding that the first REST call succeeds but the second fails because there is no more work available. We trap the error message returned to display a custom error message. When the user clicks to acknowledge the error, the application goes back to the calling page. Apparently the error overrides the "close page" action.

It appears that the "close page" action is held up until the rest of the microflow completes. Is this expected and if so, how do I ensure the page closes after the error is acknowledged. Currently users are able to click the finalize button again which calls the finalize work REST call again creating a duplicate record.

Thanks


AddDays function doesn't work in Mendix 6.6.0 and 6.7.0

$
0
0

Hi All,

I thought to share this for info and to see if others have the same issue with Mx versions 6.6.0 and 6.7.0.

My colleague is doing the "Online Mendix Introduction Course" using Mendix modeler version 6.7.0 and at "Microflow Basics" subject, on "Set the End Date" assignment he was trying to add the expression that is:

addDays($ScheduledCourse/StartDate, $Course/Duration -1)

alt text

but it's not working on version 6.7.0. He gets the error: extraneous input " expecting EOF.

He tested it on version 6.6.0 and it isn't working on this either.

However it is working on Mx version 5.20 and 6.5.1 (the version that's being used in online training). It seems that it is working on version 6.5.1 and on all the versions below that.

Do you think this is a bug? We have raised a ticket on this (467038), and if this is platform bug then hope this is solved in the next Mendix release.

How can I implement CAS for my App?

$
0
0

Hi all,

I am new to Mendix and I working on a project that requires SSO. Can anyone guide me on how to implement CAS?

Thank you very much

Mendix Gulp setup for ux-theming

$
0
0

Does anybody has some more info how to best setup gulp in combination with Mendix? I know that Jelte Lagendijk did mention in this post that a gulp setup was the best, but he did not elaborate on the configuration part.

Regards,

Ronald

multi level reference

$
0
0

Hi,

i am struggling with the following situation:

I do have an entity invoices with a relation to contracts. The contracts entity has a relation with employees (and customers). So an invoice belongs to 1 contract and a contract belongs to 1 employee.

At the newedit page of invoices I want to select te employee and the customer (and not some contract id).

When I use a reference field, I cannot select the field for employee.name and customer.name

Is there a way of doing this?

Jay

loading.gif 404 not found?

$
0
0

When I look in the Chrome console for the acceptance version of one of my apps, I see the following message:

GET https://appname-accp.mendixcloud.com/p/mxclientsystem/mxui/ui/widget/images/loading.gif?636062235037840790 404 (Not Found)

If I search the deployment directory on my local machine, this file is found in

appname/deployment/data/tmp/dojo/dijit/themes/tundra/images

evidently, it doesn't get placed in the proper place when I perform a cloud deployment.

Has anyone else seen this? Any idea what the cause of this could be?

How to achieve an .active class for a pressed in button?

$
0
0

Hi

I want to show a pressed in button different than an unpressed button. I know that some buttons do get the .active bootstrapp class.

How can I achieve that a custom button will receive also this .active class? Is it a specific button or so I can use?

How to change the position of a glyph in a certain button?

$
0
0

Hi

For one button i need to float righ the glyph in the button. Has anyone an advice how to reach this?

thanks


Filtering a list; only see people that are from your group

$
0
0

Hi,

I have a data grid where the current user may only see the people that are assigned to the same group as the current user. What do I have to type in my xpath constraint (in my microflow) to make this work? The Current User is a doctor that may only see the patients that have the same care group as he/she has. Care group is an attribute of a doctor and of a patient.

Thanks in advance!

Regards, June

Direct printing to google cloud print

$
0
0

Hi all, we are still pretty new to Mendix and trying to determine if its suitable for oure business application. One thin it currently needs is background printing.

Right now in our windows desktop application, this is not a problem. But since Mendix runs in the cloud, i cant directly talk to a local network printer without user interaction. Our printers support Google Cloud Print. And i was wondering if, for example, the following is possible :

run a scheduled background task that generates a document and sends this to google cloud print directly without user interaction.

Editable grid, when is the on change triggered

$
0
0

When a grid is editable you can easily change an enumeration and the object is saved automatically. The commit is triggered when you click outside of the field. However clicking a button after the change does not commit the object. See the screenshot. One can see that the enumeration is set to true but clicking the edit (bewerken) button opens the form with the object still in the other state. screenshot

Is this the right behavior? My gut feeling is that this behavior is wrong and that pressing anything outside of the field should trigger the save. But maybe this behavior is as designed. I like to hear some opinions about this.

Regards,

Ronald

Currency symbol inside input box

Cannot Open a project in mendix modeler from team server. Error showing "SharpSvn.SvnRepositoryIOException: Unable to connect to a repository at URL 'https://teamserver.sprintr.com/7cbf7b8e-0f0a-468b-98c9-1bd2adccb4f2/trunk' ---> SharpSvn.SvnRepositoryIOException: OPTIONS of 'https://teamserver.spr

$
0
0

SharpSvn.SvnRepositoryIOException: Unable to connect to a repository at URL 'https://teamserver.sprintr.com/7cbf7b8e-0f0a-468b-98c9-1bd2adccb4f2/trunk' ---> SharpSvn.SvnRepositoryIOException: OPTIONS of 'https://teamserver.sprintr.com/7cbf7b8e-0f0a-468b-98c9-1bd2adccb4f2/trunk': Server certificate verification failed: issuer is not trusted (https://teamserver.sprintr.com) --- End of inner exception stack trace --- at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets) at SharpSvn.SvnClient.CheckOut(SvnUriTarget url, String path, SvnCheckOutArgs args, SvnUpdateResult& result) at SharpSvn.SvnClient.CheckOut(SvnUriTarget url, String path) at Mendix.Modeler.VersionControl.SvnConnector.ClientDoT in C:\jenkins\workspace\Modeler-Build\Mendix.Modeler.Core\VersionControl\SvnConnector.cs:line 136 at Mendix.Modeler.Utility.ActionUtil.TryNTimesTException in C:\jenkins\workspace\Modeler-Build\Mendix.Modeler.Utility\ActionUtil.cs:line 29 at Mendix.Modeler.VersionControl.SvnConnector.Checkout(IRevLocation location, String targetProjectDirectory) in C:\jenkins\workspace\Modeler-Build\Mendix.Modeler.Core\VersionControl\SvnConnector.cs:line 235

error: cannot find symbol import com.mendix.systemwideinterfaces.core.IChangeBatch; While upgrade from 4 to 5

$
0
0

while upgrading from mendix 4 to 5, while migrating the java libraries resulting in compile errors saying error: cannot find symbol [javac] import com.mendix.systemwideinterfaces.core.IChangeBatch;

On analysing the java file, we could see that the IChangeBatch was no longer available in mendix.systemwideinterfaces.core

java.lang.NoClassDefFoundError: javafx/scene/control/TextInputDialog

$
0
0

Hi,

I get a class not found exception for javafx/scene/control/TextInputDialog, which is in the 1.8.92 JDK (jfxrt.jar), and I am using this jdk in my modeler and in eclipse.

I have no conflicting libraries in my userlib.

Can anybody tell me why I get this class not found exception?


Deeplink rendering / outlook settings

$
0
0

We have an application that generates deeplinks, but forcertain outlook users, the deeplink (hyperlink) comes across as plain text in the email. In virtually all other mail servers (lotus notes, gmail, etc it works fine). I have a hunch the issue is with the users outlook settings / spam filters. I followed the steps here to try to resolve the issue but was unsuccessful. Any help much appreciated. Here are the steps I tried to follow:

https://www.msoutlook.info/question/131

How to change the refkit / inputrefselector

$
0
0

Hi guys,

In order to style the app I need also to change some colors of the refkit / inputrefselector. I see that it is making use of the DOJO, totally unknown to it.

Do you guys have an idea how to change the colors of the next 3 things:

1 - border color when filling in 2 - border color of the list showing below 3 - background color when selecting an item from the list

1 & 2alt text

New Error w/ Email File Attachment in 6.7 and 6.7.1

$
0
0

I'm getting this error when running a previously functioning microflow that creates a PDF attachment to an email and I cannot figure it out:

Exception in execution of monitored action '{"name":"Projects.IVKEmailMeQuote","type":"Microflow"}' (execution id: c19f3ac1-b679-44a7-8ded-de4067648ddb, execution type: CLIENTASYNC_MONITORED)


com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at Projects.IVK_EmailMeQuote (Commit : 'Commit 'NewAttachment' ')

Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:143)

Caused by: com.mendix.core.CoreRuntimeException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at com.mendix.core.actionmanagement.ActionManager.executeInTransactionSync(ActionManager.java:143)

Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178)

Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)

Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at com.mendix.core.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:39)

Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178)

Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36)

Caused by: java.lang.RuntimeException: LocalFileSystemStore:: store Error opening file for key ' 3a6af896-21a6-4990-bd69-a2ddc77cb84a ' at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.storeFile$1(LocalFileSystemStore.scala:89) at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.store(LocalFileSystemStore.scala:96) at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.writeFile(FileDocumentProcessorImpl.java:197) at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.storeFileDocument(FileDocumentProcessorImpl.java:129) at com.mendix.core.objectmanagement.member.MendixBinary.commitValueAsFileDocument(MendixBinary.java:186) at com.mendix.core.action.user.CommitAction.com$mendix$core$action$user$CommitAction$$postProcess$1(CommitAction.scala:76) at com.mendix.core.action.user.CommitAction$$anonfun$commit$1.apply(CommitAction.scala:70) at com.mendix.core.action.user.CommitAction$$anonfun$commit$1.apply(CommitAction.scala:70) at scala.collection.immutable.List.foreach(List.scala:381) at com.mendix.core.action.user.CommitAction.commit(CommitAction.scala:70) at com.mendix.core.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:57) at com.mendix.core.action.user.CommitAction.executeAction(CommitAction.scala:39) at com.mendix.core.action.user.CommitAction.executeAction(CommitAction.scala:23) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) at com.mendix.core.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:37) at com.mendix.core.actionmanagement.EventExtendedAction.execute(EventExtendedAction.java:92) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:171) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) at com.mendix.core.actionmanagement.ActionManager.executeInTransactionSync(ActionManager.java:136) at com.mendix.core.component.InternalCore.commit(InternalCore.java:182) at com.mendix.core.component.InternalCore.commit(InternalCore.java:169) at com.mendix.core.component.InternalCore.commit(InternalCore.java:138) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:34) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:19) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146) at scala.util.Try$.apply(Try.scala:192) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

Caused by: java.lang.NullPointerException: null at java.io.FilterInputStream.read(FilterInputStream.java:133) at com.mendix.core.objectmanagement.member.RereadableInputStream.read(RereadableInputStream.scala:16) at java.io.FilterInputStream.read(FilterInputStream.java:107) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1719) at org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1696) at org.apache.commons.io.IOUtils.copy(IOUtils.java:1671) at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.storeFile$1(LocalFileSystemStore.scala:86) at com.mendix.storage.localfilesystem.internal.LocalFileSystemStore.store(LocalFileSystemStore.scala:96) at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.writeFile(FileDocumentProcessorImpl.java:197) at com.mendix.filedocumentprocessor.internal.FileDocumentProcessorImpl.storeFileDocument(FileDocumentProcessorImpl.java:129) at com.mendix.core.objectmanagement.member.MendixBinary.commitValueAsFileDocument(MendixBinary.java:186) at com.mendix.core.action.user.CommitAction.com$mendix$core$action$user$CommitAction$$postProcess$1(CommitAction.scala:76) at com.mendix.core.action.user.CommitAction$$anonfun$commit$1.apply(CommitAction.scala:70) at com.mendix.core.action.user.CommitAction$$anonfun$commit$1.apply(CommitAction.scala:70) at scala.collection.immutable.List.foreach(List.scala:381) at com.mendix.core.action.user.CommitAction.commit(CommitAction.scala:70) at com.mendix.core.action.user.CommitAction.commitPersistableObjects(CommitAction.scala:57) at com.mendix.core.action.user.CommitAction.executeAction(CommitAction.scala:39) at com.mendix.core.action.user.CommitAction.executeAction(CommitAction.scala:23) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) at com.mendix.core.actionmanagement.SyncEventExtendedAction.executeAction(SyncEventExtendedAction.java:37) at com.mendix.core.actionmanagement.EventExtendedAction.execute(EventExtendedAction.java:92) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:171) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) at com.mendix.core.actionmanagement.ActionManager.executeInTransactionSync(ActionManager.java:136) at com.mendix.core.component.InternalCore.commit(InternalCore.java:182) at com.mendix.core.component.InternalCore.commit(InternalCore.java:169) at com.mendix.core.component.InternalCore.commit(InternalCore.java:138) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:34) at com.mendix.modules.microflowengine.actions.mxobject.CommitAction.execute(CommitAction.scala:19) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146) at scala.util.Try$.apply(Try.scala:192) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)

InvalidNodeTypeError in Microsoft Edge browser

$
0
0

The following happens only in Edge. When clicking cancel on the popup where a new user is created, the fields for account and our user entity disappear from the screen, but the fields for AccountPasswordData remain. The console will log the following error:

mendix.sys.Datamendix.sys.Data.rollback: error in handler for [10696049115007133] : InvalidNodeTypeError

This cancel button is a standard Mendix button. The popup has AccountPasswordData as main context, and nested within it is Account, which has in turn our own entity representing a user nested in it. All this doesn't seem like anything special.

Has anyone seen this error before, or have any clue what's happening?

Open a Mendix (phonegap) application from a notification

$
0
0

Hi there,

I am looking for an elegant solution to the following issue;

for a client we are developing a number of different mendix applications (all wrapped in Phonegap, running on Android device). Using the new push notification connector we are sending notifications to the user. After clicking the notification I would like to right application.

I found the following on stack overflow but I am not sure if this applies to mendix based application

(http://stackoverflow.com/questions/13716723/open-application-after-clicking-on-notification )

any thoughts?

Viewing all 83469 articles
Browse latest View live


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