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

Excel export single object issue

$
0
0
Hi all, I have an issue with the excel export module. I can export all my objects (if I don't select an input object for the excel settings). However, in this case I want to limit the excel to a single row (object). I can't seem to get it right.  First: I referred to the doc-entity in my microflow, but that kept giving me errors or empty excels. Now I use the actual entity as an input object. This doesn't give me an error, but it does give me an empty Excel. How can I set-up my microflow and excel to work correctly? Below I have all the screenshots of my current set-up:

Order on two columns does not have the expected result

$
0
0
When i do the order by with shift en mousebutton,  select first hoofgroep and the stap, then i works fine? Do anybody why the layout show a wrong "order by"

CSV Export: Retrieve top result and its associated data in Excel exporter module

$
0
0
Hello all, I am using excel exporter module from Appstore to create csv file export. I want to retrieve latest record/object from the database and its associated entities. I retrieved this latest object from microflow and used this object in Settings. When I see my exported results, its retrieving all data instead of data related to latest object from database(Input object from settings). How to put filter on latest data. I also checked the constraint option available in settings, there neither I can write any query to get top 1 results or select the options available to filter latest result.     How to get top one row(T_Counter column ordering) for entity and its associated entities. Any one come across this issue?    

Next of three dates with empty handling

$
0
0
Hi all,  I have an object with three dates, and a report which will need to check which of three dates is the next date and return it as Date 4.  This logic does this fine: (Thank you Tim van Steenbergen) if ($MyObject/date1 > [%EndOfCurrentDay%]     and $MyObject/date1 < $MyObject/date2     and $MyObject/date1 < $MyObject/date3)     then $MyObject/date1     else if ($MyObject/date2 > [%EndOfCurrentDay%]              and $MyObject/date2 < $MyObject/date3)            then $MyObject/date2            else if $MyObject/date3 > [%EndOfCurrentDay%]                    then $MyObject/date3                    else somedefaultdate The issue is when dates are empty, if throws errors.  So I need something that will check each of the dates, discount any that are empty and any that are in the past. Of the dates left find which is the next date and return it to Date 4. If all dates are empty or in the past then it returns nothing, this is fine as the report will ignore any empty date 4 fields. 

index.html redirecting to login.html for no reason

$
0
0
Hello, I am designing a bucket list app for a class of mine. The goal is to have anonymous users who can create accounts and then sign in with those accounts. I had a version of this working (in FireFox and not Chrome, but that was fine) but something my group or I did messed everything up. Currently when I run the app locally it displays a Mendix 5 login page, which I cannot figure out how to undo. When running in the cloud one of two things happens: (1) the homepage is displayed but the loading bar in the center of the screen continues and I can click on nothing or (2) the page continually refreshes, sometimes showing the homepage and then a white page until I exit.  I am at a loss as to the reasons behind this, and have scoured the forums for days trying to find a solution. If you need more information about the app just ask and I will respond.  Edit: Here is a LINK to what the Chrome console looks like when running from the cloud

Refer to object of same entity

$
0
0
Hi all! Is it possible to create a reference between two objects of the same entity? I have a product database system, where I want the possibilty to connect some of the products to other products. Is this possible? And if yes, how? I can't seem to connect two objects of the same entity to eachother. Kind regards and many thanks in advance!

HTML div id

$
0
0
Hi,  I want to affect a div with javascript but the div i want to get in js haven't Id. I try getElementsByClassName but doesn't work... How can i add an id on my html div ?  Regards

Has anyone ever created a dual sidebar toggle layout?

$
0
0
I have a design in mind but not sure that it is possible.  I want to create a new layout that has a left and a right scroll region to go along with the top region and main body content. Each toggle region I'd like to make expand/contract but be initially open.  Each region would likely have a tab container, one for navigation or something else and another that would function like a knowledge base search. The mendix layouts don't seem to permit having two sidebar toggles but I am wondering if anyone has ever found a way to create one before.

Dynamic possibilities in google maps

$
0
0
Hi all, I would like to add google maps to my application, with the possibility to see where my own geolocation is, but also where added other users are seen on the map with their geolocation, whith the possibility to filter, what people are visible. Any ideas if that is possible (in the near future)? Pim

Set select value with javascript

$
0
0
Hi all I'd like a really simple solution to convert select elements to autocomplete text boxes so that i users can search a list of about 45 enumeration values easily. I've implemented selectToAutocomplete (https://github.com/JamieAppleseed/selectToAutocomplete/) but I have come across a problem that using vanilla javascript (element.value) or jQuery(element.val()) to set the correct option does not trigger mendix's event listeners. I can see someone else had the same issue (https://forum.mendixcloud.com/link/questions/9294) but the solution there is not relevant to my situation as I want this plugin library, not a button, to set the value. The autocomplete widget in the app store is complete overkill for my needs as i just want to search on an enumeration attribute, not set up extra data objects Any ideas?

REST service call raise CircularRedirectException

$
0
0
I get an CircularRedirectException if I call a REST service (running on locally tomee http://localhost:8080/... ) from my locally mendix app (http://localhost:8888/... ) . If I call the REST service in browser (http://localhost:8080/timeallocation/resthmo/heiko/gettimesheet/CT/Z003p33r/en-US/) so I get an result  {"Period":{"accountClosingDay":"","begin":"","client":"CT","closed":false,"display":201812,"employeeClosingTime":"","end":"","fy":2019,"period":3,"yyyypp":201903}}   The REST service will be called without PROXY. Does somebody has any idea?   error message: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service at MyFirstModule.Microflow_REST_Wiki (CallRest : 'Call REST (GET)') Advanced stacktrace: at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: Error calling REST service at MyFirstModule.Microflow_REST_Wiki (CallRest : 'Call REST (GET)') Advanced stacktrace: at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:57) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: java.security.PrivilegedActionException: org.apache.http.client.ClientProtocolException at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:15) Caused by: java.security.PrivilegedActionException: null at java.security.AccessController.doPrivileged(Native Method) at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11) at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:18) at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:66) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:52) 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:88) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:36) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:19) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:46) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:28) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:19) 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:209) 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$4(ContextHandling.scala:41) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) 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:49) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:41) 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:12) 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:122) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:99) 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:870) 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:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.http.client.ClientProtocolException: null at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at com.mendix.http.LoggableHttpClient.$anonfun$execute$1(LoggableHttpClient.scala:18) at com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:12) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11) at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:18) at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:66) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:52) 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:88) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:36) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:19) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:46) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:28) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:19) 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:209) 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$4(ContextHandling.scala:41) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) 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:49) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:41) 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:12) 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:122) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:99) 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:870) 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:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748) Caused by: org.apache.http.client.CircularRedirectException: Circular redirect to 'http://localhost:8080/timeallocation/resthmo/heiko/gettimesheet/CT/Z003p33r/en-US/' at org.apache.http.impl.client.DefaultRedirectStrategy.getLocationURI(DefaultRedirectStrategy.java:177) at org.apache.http.impl.client.DefaultRedirectStrategy.getRedirect(DefaultRedirectStrategy.java:221) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:122) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) at com.mendix.http.LoggableHttpClient.$anonfun$execute$1(LoggableHttpClient.scala:18) at com.mendix.integration.util.PrivilegedUtil$$anon$1.run(PrivilegedUtil.scala:12) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.integration.util.PrivilegedUtil$.withPrivileged(PrivilegedUtil.scala:11) at com.mendix.http.LoggableHttpClient.execute(LoggableHttpClient.scala:18) at com.mendix.integration.actions.microflow.RestCallAction.executeRequest(RestCallAction.scala:66) at com.mendix.integration.actions.microflow.RestCallAction.execute(RestCallAction.scala:52) 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:88) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:36) at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:19) at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:46) at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:28) at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:19) 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:209) 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$4(ContextHandling.scala:41) at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12) 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:49) at com.mendix.webui.requesthandling.helpers.ContextHandling.inContext(ContextHandling.scala:41) 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:12) 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:122) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:99) 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:870) 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:841) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:561) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597) at java.lang.Thread.run(Thread.java:748)    

Vertically scrolling doesnt seem to work the first time opening app

$
0
0
I am using Mendix 7.19 and call a simple microflow as 'default home page'. When opening the app for the first time and opening it on the mobile browser, it does not allow me to scroll vertically. When navigating to another page and then back, makes it is possible to scroll vertically again, while using the same microflow. Any suggestions?

How to provide a page break inside template grid data?

$
0
0
Dear All, I am trying to generate a pdf/word report which will print data of multiple applications one by one. To print multiple applications I am using template grid widget inside my document template. I want to print each application in a new page of the document. When I use the page break widget inside template it's saying you can't use a page-break widget inside it. I tried using 'page-break-after: always;' css property also inside main table of template grid, still it didn't workout. Can you please help me with this how can I achieve this?

Can we avoid a page break in the middle of a template-grid element when creating a pdf ?

$
0
0
Hello all, When I generate a pdf document that includes a template grid, I would like to avoid that there is a page break in the middle of an element. Ideally, if there is no space to display the full cell on the page, then there would be a page break to avoid to have the cell of the same element over two pages. (like below).   Any idea on how to do this, if it is feasible ? Thanks a lot for your help ! :)

Bypass SSO login as MxAdmin

$
0
0
Hi everyone,  We have implemented SSO (with the SAML20 module) in our Mendix project. Logging in as a user works fine. The mendix url: http://projectname.mendixcloud.com/ redirects to /SSO/ where you are able to fill in your credentials and be redirected to our Mendix app (logged in as a user). When you hit the log out button you will be directed to /login.html. When I fill in my MxAdmin user credentials the app redirects me to /SSO/ and then I'm logged in again as my ADFS user account. Now, I want to be able to login as the MxAdmin (bypass SSO) and not be redirected to SSO. How do I accomplish this? Thanks in advance.

App does not wake up - self-help?

$
0
0
I am trying to deploy a locally working app to the sandbox-cloud. Security setting set to productive. However, the app does not deploy - after 10minutes the Desktop Modeler throws an error - advising to check  the logfile.   Here is what the logfile states... v7.21.0.42856 Starting build for Mendix Project file: /srv/cloud/slots/tr10000/deploy/data/tmp/1544540245331-0/src/Schichtdickenerfassung.mpr Using the following options: * Build target: Package * Deployment package file: /srv/cloud/slots/tr10000/deploy/data/tmp/buildjob8588602447840299738.mda * Model version: 1.0.0.82 * Model description: Automatically generated deployment package for Free App deployment. * Project name: Schichtdickenerfassung Reading project file... Building project... Executing step 'Synchronize with file system' * Synchronizing with file system... Executing step 'Initialize' * Preparing deployment... Executing step 'Check prerequisites' * Checking for errors... Executing step 'Clean deployment directory' * Cleaning deployment directory... * Cleaning web deployment directory... Executing step 'Prepare deployment' * Writing files... Executing step 'Build deployment structure' * Compiling Java... * Generating integration files... * Exporting a theme... * Exporting pages... * Optimizing... * Exporting custom widgets... * Bundling custom widgets... * Compressing web resources... Executing step 'Save model to deployment directory' * Saving model to deployment directory... Executing step 'Create deployment package' * Creating deployment package... Executing step 'Finalize deployment package' BUILD SUCCEEDED Invalid type Mendix.Modeler.UIFramework.WebView.HtmlControl for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec:htmlControl Invalid type Mendix.Modeler.UIFramework.WebView.WebViewSpec for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec+<>c__DisplayClass26_0:<>4__this Invalid type System.Windows.Controls.ContentControl for instance field Eto.Wpf.Forms.WpfWindow`3[TControl,TWidget,TCallback]:menuHolder Invalid type Mendix.Modeler.UIFramework.WebView.WebViewSpec for instance field Mendix.Modeler.UserManagement.SignInDialog:webView [+ 50] [BUILD 4a90897e-55e2-4b7b-80df-c2183b20c573/trunk/82 -> 6229695. State: Running] Uploading to cloud portal.. [+ 53] [BUILD 4a90897e-55e2-4b7b-80df-c2183b20c573/trunk/82 -> 6229695. State: Running] Creating tag.. Committed revision 83. [+ 58] [BUILD 4a90897e-55e2-4b7b-80df-c2183b20c573/trunk/82 -> 6229695. State: Running] Created tag: 1.0.0.82       v7.21.0.42856 [...] Executing step 'Finalize deployment package' BUILD SUCCEEDED Invalid type Mendix.Modeler.UIFramework.WebView.HtmlControl for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec:htmlControl Invalid type Mendix.Modeler.UIFramework.WebView.WebViewSpec for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec+<>c__DisplayClass26_0:<>4__this Invalid type System.Windows.Controls.ContentControl for instance field Eto.Wpf.Forms.WpfWindow`3[TControl,TWidget,TCallback]:menuHolder Invalid type Mendix.Modeler.UIFramework.WebView.WebViewSpec for instance field Mendix.Modeler.UserManagement.SignInDialog:webView [+ 50] [BUILD 4a90897e-55e2-4b7b-80df-c2183b20c573/trunk/82 -> 6229695. State: Running] Uploading to cloud portal.. [+ 53] [BUILD 4a90897e-55e2-4b7b-80df-c2183b20c573/trunk/82 -> 6229695. State: Running] Creating tag.. Committed revision 83. [+ 58] [BUILD 4a90897e-55e2-4b7b-80df-c2183b20c573/trunk/82 -> 6229695. State: Running] Created tag: 1.0.0.82       -- any idea what goes wrong?

Regex with multiple lines never has a match

$
0
0
Hi community, Before I submit a support ticket, I want to validate I'm not making mistakes :) https://modelshare.mendix.com/models/031038db-ebe3-487c-9838-a51e5134b6a3/regex-bug If I do a match with the regular expression .* I would expect it always matches for any input. However, in this example I have multiple lines as input and now it states that is has no match. This is inconsistent with the results of https://regex101.com/r/XjLUDM/1 Is Mendix wrong here? Thanks for checking with me!

Page URL redirects to login page when using an id (/pagename/{id})

$
0
0
If I try to open a URL for a page with a parameter that a user has access to, I am asked to log in. If I open a URL for a page that does not require a parameter the page opens correctly. I am testing as follows: Log in Navigate to the page that requires a parameter Copy the URL (http://localhost:8080/p/Answer/16325548649220205) Navigate to another page Paste the URL (http://localhost:8080/p/Answer/16325548649220205) and hit enter. I am taken to the log in screen. If I log in, I remain on the login screen. What could I be doing wrong?  Thanks, EDIT: I simplified testing. Navigate to a page using the user interface so I can see the URL (http://localhost:8080/p/AnswerQuestions/16607023625930205?profile=Responsive). Either click the browser's refresh button OR Click on the address bar and hit Enter I'm taken back to the Login screen and if I sign in I'm taken to the login screen again. If I hit the View button on the Modeler, the app runs in a new tab and I'm already logged in. Same behavior in Chrome, Edge, and Firefox. Also tried using different pages in my app and get the same result.  

Url with Object {Id} redirect to login problem

$
0
0
I have configured mendix url, however, when try to use the link of object Id, I am redirected to login page even when I am login and it loop continuously without allowing me to access the page. I tested the homepage and other pages without  {Id} and they working.  ............/p/FAE/3659174697246729?profile=Responsive How can I resolve the issue? The user would like to have the direct link to the object and is there a way to get rid of "?profile=Responsive" from the url

SAP OData 401 (Unauthorized error)

$
0
0
Hi Everyone, We are trying to connect a Mendix app running in the SAP cloud platform to an existing SAP back-end using the SAP OData connector. We have used to SAP OData model creator to generate a domain model using the $metadata.xml file and imported it into our app. So we are first calling request Params, for which we add basic authentication, and now we have also tried to add the Header for Authorization : (Username:Password). For both the Basic Authentication and add header actions we get true as a result. After all of this we then call get list. The get list fails and returns error message 401 (unauthorized)   816b7787-735c-4c32-9bb7-1690a51aafcd|GET|Response code: 401, Response text: <html><head><title>Logon Error Message</title><META http-equiv="Content-Type" content="text/html;charset=UTF-8"><style type="text/css">body { font-family:tahoma,helvetica,sans-serif;color:#333333;background-color:#FFFFFF; }td { font-family:tahoma,helvetica,sans-serif;font-size:70%;color:#333333; }h1 { font-family:tahoma,helvetica,sans-serif;font-size:160%;font-weight:bold;margin-top:15px;margin-bottom:3px;color:#003366; }h2 { font-family:verdana,helvetica,sans-serif;font-size:120%;font-style:italic;font-weight:bold;margin-top:6px;margin-bottom:6px;color:#999900; }p { font-family:tahoma,helvetica,sans-serif;color:#333333;margin-top:4px;margin-bottom:4px; }ul { font-family:tahoma,helvetica,sans-serif;color:#333333;list-style-type:square;margin-top:8px;margin-bottom:8px; }li { font-family:tahoma,helvetica,sans-serif;color:#33333;margin-top:4px; }.emphasize { color:#333333;background-color:#C8E3FF;padding:5px;}.note { color:#CC6600; }a { font-family:tahoma,helvetica,sans-serif;text-decoration:underline;color:#336699; }a:visited { color:#001166; }a:hover { text-decoration:none; }</style></head><body><table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td><h1>Anmeldung fehlgeschlagen</h1></td></tr></table></body></html>  
Viewing all 83469 articles
Browse latest View live


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