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

Set Dynamic CSS value by Object Attribute string value?

$
0
0
I was pretty sure you could set CSS attribute values by the attribute value of an entity object, but I can't find again how to set this up. Let's say you have a Status object with the attribute 'Hex (string)' that contains '#f08245', then that value should be applied to the sibling/specified DOM element as 'color'. So my DOM element get's the CSS values 'Color: #f08245'. Note: I want to use string values, not enum's. I thought this could be done with CSS selector helper widget or EnumClass, but I haven't been able to. Am I missing something or does anyone have an idea how to make this happen?

Published Rest service Post requests fails with "Error while importing, key value should no be null error

$
0
0
I am following the Create Rest Api in the advanced learning paths. https://gettingstarted.mendixcloud.com/link/module/98/lecture/827 When I create import mapping for post requests as defined in the "Add a Post Method" module I do not see any errors and I am able to start the project. However at run time I get an exception which seems to suggest that the Import Mapping does not see the values VehicleId value I am sending in the post request. The image below shows my configuration for the published Rest service. Below is the import mapping. Here is the add vehicle microflow. I have not been able to find a solution to this. I get the following exception when I post an object. com.mendix.systemwideinterfaces.MendixRuntimeException: Error while importing, key value for 'VehicleId' should not be null.           at com.mendix.integration.importer.handlers.ObjectFinder.$anonfun$createArgs$1(ObjectFinder.scala:107)           at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)           at scala.collection.immutable.Map$Map1.foreach(Map.scala:128)           at scala.collection.TraversableLike.map(TraversableLike.scala:238)           at scala.collection.TraversableLike.map$(TraversableLike.scala:231)           at scala.collection.AbstractTraversable.map(Traversable.scala:108)           at com.mendix.integration.importer.handlers.ObjectFinder.createArgs(ObjectFinder.scala:99)           at com.mendix.integration.importer.handlers.ObjectFinder.findInDatabaseInternal(ObjectFinder.scala:64)           at com.mendix.integration.importer.handlers.ObjectFinder.findInDatabase(ObjectFinder.scala:54)           at com.mendix.integration.importer.handlers.ObjectFinder.$anonfun$find$1(ObjectFinder.scala:23)           at scala.Option.orElse(Option.scala:447)           at com.mendix.integration.importer.handlers.ObjectFinder.find(ObjectFinder.scala:23)           at com.mendix.integration.importer.handlers.ObjectMappingHandler.findObject(ObjectMappingHandler.scala:283)           at com.mendix.integration.importer.handlers.ObjectMappingHandler.getObjectViaDefaultAction(ObjectMappingHandler.scala:243)           at com.mendix.integration.importer.handlers.ObjectMappingHandler.getObjectImportInfo(ObjectMappingHandler.scala:108)           at com.mendix.integration.importer.handlers.ObjectMappingHandler.createObjectInfo(ObjectMappingHandler.scala:127)           at com.mendix.integration.importer.handlers.ObjectMappingHandler.$anonfun$endObjectElement$1(ObjectMappingHandler.scala:85)           at scala.Option.map(Option.scala:230)           at com.mendix.integration.importer.handlers.ObjectMappingHandler.endObjectElement(ObjectMappingHandler.scala:80)           at com.mendix.integration.importer.handlers.StreamingHandler.$anonfun$handleElement$1(StreamingHandler.scala:81)           at com.mendix.integration.importer.handlers.StreamingHandler.$anonfun$handleElement$1$adapted(StreamingHandler.scala:79)           at scala.Option.foreach(Option.scala:407)           at com.mendix.integration.importer.handlers.StreamingHandler.handleElement(StreamingHandler.scala:79)           at com.mendix.integration.importer.handlers.StreamingHandler.endObject(StreamingHandler.scala:69)           at com.mendix.integration.importer.json.JsonStreamingHandler.endElement(JsonStreamingHandler.scala:113)           at com.mendix.integration.importer.json.JsonStreamingHandler.parseObject(JsonStreamingHandler.scala:59)           at com.mendix.integration.importer.json.JsonStreamingHandler.$anonfun$parse$1(JsonStreamingHandler.scala:37)           at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:10)           at com.mendix.integration.importer.json.JsonStreamingHandler.parse(JsonStreamingHandler.scala:32)           at com.mendix.integration.importer.json.JsonImporter.$anonfun$parseJson$3(JsonImporter.scala:50)           at scala.util.Try$.apply(Try.scala:213)           at com.mendix.integration.importer.json.JsonImporter.$anonfun$parseJson$2(JsonImporter.scala:50)           at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:10)           at com.mendix.integration.importer.json.JsonImporter.$anonfun$parseJson$1(JsonImporter.scala:49)           at com.mendix.integration.util.AutoCloseableUtil$.using(AutoCloseableUtil.scala:10)           at com.mendix.integration.importer.json.JsonImporter.parseJson(JsonImporter.scala:48)           at com.mendix.integration.importer.json.JsonImporter.parse$1(JsonImporter.scala:37)           at com.mendix.integration.importer.json.JsonImporter.$anonfun$importStream$1(JsonImporter.scala:39)           at com.mendix.integration.util.ContextUtil$RichContext$.withTransaction$extension(ContextUtil.scala:11)           at com.mendix.integration.importer.json.JsonImporter.importStream(JsonImporter.scala:39)           at com.mendix.integration.internal.InternalIntegration.doImportStream(InternalIntegration.scala:92)           at com.mendix.integration.internal.InternalIntegration.doImportStream$(InternalIntegration.scala:80)           at com.mendix.integration.internal.InternalIntegrationImpl.doImportStream(InternalIntegrationImpl.scala:38)           at com.mendix.integration.service.rest.microflowarguments.ObjectOrListArgument.$anonfun$apply$2(ObjectOrListArgument.scala:56)           at scala.util.Success.flatMap(Try.scala:251)           at com.mendix.integration.service.rest.microflowarguments.ObjectOrListArgument.apply(ObjectOrListArgument.scala:42)           at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.bodyArgument(RestMicroflowArguments.scala:86)           at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.argument(RestMicroflowArguments.scala:68)           at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.$anonfun$apply$2(RestMicroflowArguments.scala:43)           at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:238)           at scala.collection.immutable.List.foreach(List.scala:392)           at scala.collection.TraversableLike.map(TraversableLike.scala:238)           at scala.collection.TraversableLike.map$(TraversableLike.scala:231)           at scala.collection.immutable.List.map(List.scala:298)           at com.mendix.integration.util.IteratorUtil$RichIterable$.toBreakoutMap$extension(IteratorUtil.scala:22)           at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.$anonfun$apply$1(RestMicroflowArguments.scala:42)           at scala.util.Try$.apply(Try.scala:213)           at com.mendix.integration.service.rest.microflowarguments.RestMicroflowArguments.apply(RestMicroflowArguments.scala:42)           at com.mendix.integration.service.rest.RestOperationProcessors.getMicroflowResult(RestOperationProcessors.scala:194)           at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$5(RestOperationProcessors.scala:127)           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.integration.service.ServiceMonitoredAction.monitor(ServiceMonitoredAction.scala:7)           at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$4(RestOperationProcessors.scala:125)           at com.mendix.integration.service.rest.RestOperationProcessors.withAuthenticationContext(RestOperationProcessors.scala:157)           at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$operationResponse$3(RestOperationProcessors.scala:120)           at com.mendix.integration.service.rest.RestOperationProcessors.operationResponse(RestOperationProcessors.scala:123)           at com.mendix.integration.service.rest.RestOperationProcessors.processOperations(RestOperationProcessors.scala:83)           at com.mendix.integration.service.rest.RestOperationProcessors.$anonfun$createProcessor$1(RestOperationProcessors.scala:62)           at com.mendix.integration.service.PathProcessors.$anonfun$process$3(PathProcessors.scala:32)           at scala.Option.fold(Option.scala:251)           at com.mendix.integration.service.PathProcessors.$anonfun$process$1(PathProcessors.scala:32)           at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:484)           at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:490)           at scala.collection.Iterator.isEmpty(Iterator.scala:385)           at scala.collection.Iterator.isEmpty$(Iterator.scala:385)           at scala.collection.AbstractIterator.isEmpty(Iterator.scala:1429)           at com.mendix.integration.util.IteratorUtil$RichIterator$.headOption$extension(IteratorUtil.scala:41)           at com.mendix.integration.util.IteratorUtil$RichIterable$.firstDefined$extension(IteratorUtil.scala:28)           at com.mendix.integration.service.PathProcessors.process(PathProcessors.scala:29)           at com.mendix.integration.service.PathProcessors.process$(PathProcessors.scala:28)           at com.mendix.integration.service.rest.RestOperationProcessors.process(RestOperationProcessors.scala:40)           at com.mendix.integration.requesthandlers.RestRequestHandler.$anonfun$processRequest$1(RestRequestHandler.scala:29)           at scala.collection.Iterator$$anon$11.nextCur(Iterator.scala:484)           at scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:490)           at scala.collection.Iterator.isEmpty(Iterator.scala:385)           at scala.collection.Iterator.isEmpty$(Iterator.scala:385)           at scala.collection.AbstractIterator.isEmpty(Iterator.scala:1429)           at com.mendix.integration.util.IteratorUtil$RichIterator$.headOption$extension(IteratorUtil.scala:41)           at com.mendix.integration.util.IteratorUtil$RichIterable$.firstDefined$extension(IteratorUtil.scala:28)           at com.mendix.integration.requesthandlers.RestRequestHandler.processRequest(RestRequestHandler.scala:29)           at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)           at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:76)           at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:73)           at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)           at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:79)           at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:963)           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.base/java.lang.Thread.run(Thread.java:834)

Templator module Error

$
0
0
Hi, I am using Templator Module for the generation of customized PDF, I built the microflow and it is working fine in local. It was mentioned like as of now Templator currently only works for apps that are publicly accessible i.e. have a public IP address. I deployed my app in mendix cloud platform. I made this generation process with a button now after deploying on cloud it is giving an error.

Learningpath to Advanced Developer Exam

$
0
0
During the learning paths to arrive at the 'Advanced Developer' status, there are three modules that pose quite a few problems. These are these three modules: - Learn to Build an SAP App - Develop a Smart SAP Catalog - Build a MindSphere app with Mendix Of the first two, Academy also indicates that there are problems, so that the learning path cannot be followed properly, without doing special (technical) things. With the MindSphere learning path, I come across all kinds of technical things that are very specific to MindSphere. I can't get out of there. My question now is to what extent it is necessary to successfully complete these three modules. Is the necessary knowledge required during the 'Advanced Developer' exam? Thanks in advance for your comment. Sincerely, Gert

When running message with erros but errorlist is empty

$
0
0
When I run the app localy in Mendix 10 I got the message “The project cannot be deployed at this time because there are errors. Please solve the errors in the errors list window. But the errors list window gives zero errors. Anyone an idea where to look? (8.10.0) I removed all Mendix Studio Pro Versions from my system, installed the latest 8.10.1 and the problem remains Opening in Mendix Studio reveals the error: “At least one allowed role must be selected if the page is used from navigation or a button.” This error does not show up in the terrorist of Mendix Studio Pro

Password in Account not usable

$
0
0
I have a person entity based on the central Account Entity. When I store a first password into the password field I can't login with that password. Whne I change the password using the standard interface the logging in is possible and the account is usable. But the initial password is not working. Am I missing something here?

execute command line bat files

$
0
0
Is it possible to execute a .bat on a local or remote computer from the application?   Thanks, Costin Marzea

Not able to connect Postgres Database to my app

$
0
0
Hello Folks, I am trying to connect postgres database to my app. Please help me in connection. I have used Database Connector and JDBC for connection. I have tried below way, but it’s not working.

Microflow Expression Error

$
0
0
Per the instructions in the rapid developer course I wrote the microflow out word for word and keep getting this input error. I have tried changing it around a number of different ways which have all led to more errors. Its probably a silly question but I am starting a new job remotely and have no other way to fix issues.   

How to program auto-save on change?

$
0
0
As a user changes or edits data on page, we should either auto-save on recognizing a change OR Give a warning to user to save their changes before they navigate away from the page. How do I go about doing this?

Mendix Native app Mobile Database View

$
0
0
Hi All, How to see mobile data for Mendix Native. The data is stored in SQLite database but what is the app or tool to be used to view tables stored in the mobile that we change through Mendix Native app. I was unable to use db browser for SQLite, as there are no related files in Mendix for this tool. Can we use this tool? Thanks in advance

Login without going to home page

$
0
0
Hi,  I have a question of customizing the login behavior: Currently in my App, the user will be redirected to its home page after successful login. Is there a way to let a user stay on the previous page (say, a “product detail” page) after successfully logged in (instead of going to the home page)?

Certificate problem

$
0
0
Hello ! In the deployment process , if we use Apache to redirect the application server to the web server , how can we let Apache see the secure certificate i want  because i have deployed an application on an on-premises server , and publish it over https , the application server can’t open the application because of the certificate problem  please if you have any idea what shall i have to do , i will be so thankful to you .  Note : everything is okay before i activate the production license of the application server , i mean at least the web server can open the application server but the certificate problem was exist . 

Database access

$
0
0
Is it possible to access your local database directly with a database client? If yes, which tool is preferable?

Insert several records in an external database

$
0
0
Hi, A module of my application manages metadata for Data Pipelines. When a Data Engineer decides to use a certain table for his Analytical Model, he can choose the table from a list of tables. The table is added to his project. A microflow adds the specific table to the Data Sources of the project. What I tried to do is to have the same microflow to extract the schema of the table from the database data catalog and insert the fields and their definitions to a secondary table that manages the history of changes of the schema.    The query that brings the Table schema from the catalog works fine, see details of some fields bellow:   The problem is that the last Statement Execution does not insert all the rows (as number of columns) in the MSSQL table.   Please assist.   Regards, Costin Marzea

User impersonation now fails

$
0
0
This Java action code was working, then it stopped after a recent Mendix upgrade (not sure which one): ``` // This file was generated by Mendix Studio Pro. // // WARNING: Only the following code will be retained when actions are regenerated: // - the import list // - the code between BEGIN USER CODE and END USER CODE // - the code between BEGIN EXTRA CODE and END EXTRA CODE // Other code you write will be lost the next time you deploy the project. // Special characters, e.g., é, ö, à, etc. are supported in comments. package commonutilities.actions; import java.util.UUID; import javax.servlet.http.HttpServletResponse; import com.mendix.core.Core; import com.mendix.systemwideinterfaces.core.IContext; import com.mendix.systemwideinterfaces.core.ISession; import com.mendix.systemwideinterfaces.core.IUser; import com.mendix.webui.CustomJavaAction; /**  * Force login as another user using only their username.  This is intended only as an admin function, or possibly if the user requests to remember them on their own machine.  */ public class Impersonate extends CustomJavaAction {     private java.lang.String username;     public Impersonate(IContext context, java.lang.String username)     {         super(context);         this.username = username;     }     @java.lang.Override     public java.lang.Boolean executeAction() throws Exception     {         // BEGIN USER CODE                  IUser user = Core.getUser(getContext(), username);         var rResponse = this.context().getRuntimeResponse();         var response = rResponse.isPresent() ? rResponse.get() : null;                   //unknown user?         if (user == null) {             return false;         } else {                          //known user                          UUID currentSessionId = this.getContext().getSession().getId();             ISession session = Core.initializeSession(user, currentSessionId.toString());                          // session initialized, make sure the user (browser) knows about it through cookies             if (session != null) {                 if (response != null) {                     /** create cookies and redirect: String key, String value, String path, String domain, int expiry */                     response.addCookie("XASSESSIONID", session.getId().toString(), "/", "", -1);                     response.addCookie("XASID", "0."+String.valueOf(Core.getXASId()),"/", "", -1);                     Core.getLogger("LoginHelper").info("User '" +username + "' has been authenticated.");                     // redirect the user to the index.html, now with session cookie                     response.setStatus(HttpServletResponse.SC_SEE_OTHER);                     response.addHeader("location", "..");                 }                 return true;             }             else {                 return false;             }                      }                  // END USER CODE     }     /**      * Returns a string representation of this action      */     @java.lang.Override     public java.lang.String toString()     {         return "Impersonate";     }     // BEGIN EXTRA CODE     // END EXTRA CODE } ``` I just took a username and assume their identity for testing and support purposes.  Again, this WAS working, then Mendix changed something and broke it, and I’m not sure what.  Any ideas?   The error I’m getting now (from a project that was working and had NO changes) is this: com.mendix.modules.microflowengine.MicroflowException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.objectmanagement.SecurityRuntimeException: Write access denied for member 'FailedLogins' of object 'Administration.Account' at Configurations.ImpersonateAccount (JavaAction : 'Impersonate') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:152) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.objectmanagement.SecurityRuntimeException: Write access denied for member 'FailedLogins' of object 'Administration.Account' at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:156) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.objectmanagement.SecurityRuntimeException: Write access denied for member 'FailedLogins' of object 'Administration.Account' at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: com.mendix.core.objectmanagement.SecurityRuntimeException: Write access denied for member 'FailedLogins' of object 'Administration.Account' at com.mendix.basis.objectmanagement.MendixObjectMemberImpl.checkWriteAccess(MendixObjectMemberImpl.java:155) at com.mendix.basis.objectmanagement.MendixObjectMemberImpl.setValue(MendixObjectMemberImpl.java:233) at com.mendix.basis.objectmanagement.MendixObjectImpl.setValue(MendixObjectImpl.java:196) at com.mendix.basis.objectmanagement.MendixObjectImpl.setValue(MendixObjectImpl.java:185) at com.mendix.basis.session.User.setFailedLogins(User.java:241) at com.mendix.basis.session.User.loginSuccessful(User.java:310) at com.mendix.basis.session.SessionManagerBase.initializeSession(SessionManagerBase.java:58) at com.mendix.basis.component.InternalCoreBase.initializeSession(InternalCoreBase.java:640) at com.mendix.basis.component.InternalCoreBase.initializeSession(InternalCoreBase.java:101) at com.mendix.core.Core.initializeSession(Core.java:1554)  

formatDateTime function

$
0
0
I have a strange issue with this function. When I run the microflow with the debugger I don’t get error messages: formatDateTimeUTC($DS_GetAnalysis_by_URL_Table/ANALYSIS_RUNTIME, 'yyyy-MM-dd HH:mm:ss') When I get to the page and widget that calls the microflow I receive the following error: Caused by: com.mendix.modules.microflowengine.MicroflowException: Failed to evaluate expression, error occurred on line 1, character 1 formatDateTimeUTC($DS_COLUMN_ANALYSIS/ANALYSIS_RUNTIME, 'yyyy-MM-dd HH:mm:ss') ^     at SmartStreams.Get_SimpleStatistics_IndName (CreateOrChangeVariable : 'Create String variable') Advanced stacktrace:     at com.mendix.languages.mxexpressions.MxExpression.evaluate(MxExpression.scala:26) Caused by: com.mendix.languages.expressions.ExpressionException: com.mendix.systemwideinterfaces.MendixRuntimeException: Unsupported number of parameters: 2     at com.mendix.languages.expressions.Expr.evaluate(Expr.java:22) I did several tests and I found that when I get the error when using the variable from the database : $DS_GetAnalysis_by_URL_Table/ANALYSIS_RUNTIME. If I replace this variable with the system variable [%CurrentDateTime%] I don’t get the error. I suspected that it may be a format difference between the values of the two variables but they look exactly the same. More than that although I get the error message and window the function works and returns the right value after clicking Cancel. In the Studio debugger, the two variables have identical format/pattern as date and string data types. . It looks like a bug to me. Please assist.   Regards, Costin Marzea  

Datagrid scroll horizontal?

$
0
0
hi there, In my project I am going to present transaction record in a datagrid. A transaction record contains more than 20 details and it is impossible to show all of them in one page. How should I deal with this display problem? Any sugguestion is appriciated!

Call a Nanoflow from Javascript action

$
0
0
Hi All, I am trying to call a nanoflow from javascript action, modeler version used is 8.6.2 I tried using this ,callNanoflow(params) mx.data.callNanoflow({ nanoflow: this.propertyWithNanoflow, origin: this.mxform, context: this.mxcontext, callback: function(result) { alert("Nanoflow completed with result " + result); }, error: function(error) { alert(error.message); } }); from https://apidocs.rnd.mendix.com/8/client/mx.data.html. without context and origin,  I get undefined error  Nanoflow call currently looks like this, mx.data.callNanoflow({ nanoflow: "Info.TestNanoflow", //not sure how to get and add context and origin here callback: function(result) { alert("Nanoflow completed with result " + result); }, error: function(error) { alert(error.message); } });                            I am not sure what the values of context and origin must be, i do not have ‘this’ available. Also how do I pass a parameter to this nanoflow call, I have an entity which i need to pass as a parameter to this nanoflow call   Thanks in advance,        

Blank excel files using Excel Exporter App module:

$
0
0
Hello all, I am encountering an issue when configuring the excel exporter app into my module; I followed the documentations and the Learning Path lessons on setting this up, i managed to have a file downloaded but the excel file is blank (no rows no columns, only the names of each excel sheet). Any ideas on this please? I have looked through all the materials I still can find no solutions. Export to file Microflow (MaintenanceReport is the object to be exported): Create excel Microflow: Could it be the problem in the change object activity in the loop of the create excel microflow?
Viewing all 83469 articles
Browse latest View live


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