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

Error in accessing app

$
0
0
Hi all, I have built my custom app in mendix studio pro 8.10.2, I ran the application locally, when I click on View in the mendix app , a separate QR code was generated for me, when I  scan that QR code in my mobile to access the app, getting error stating  “app cannot be initialized”, 

Excel Exporter

$
0
0
Hello everyone, I have one issue when I try to extract excel file in excel exporter overview page. And then I get this error ‘Contact your system administrator’.  Does anybody know what error is that?? Thank you   

Adding line break in a string variable?

$
0
0
Does anyone know how to add line breaks when using the Create String  Variable in a microflow? For Docusign I need to send a Full Address text field, which should be formatted using line breaks. I have tried to build my string using \r\n, only it’s not recognized. (in https://stackoverflow.com/questions/28349524/how-to-wrap-text-for-a-data-field-tag-in-docusign it is mentiond for creating tabs, i’d expected it works on other input too) how to add chr(10) + cha​​​​​​r(13) to a string in Mendix create variable??  

Teamcenter user's login info

$
0
0
Suppose i want to showinfo of  , How many users are logged in to Teamcenter on particular date , is it possible ..? Teamcenter stores only last login time of a user , but to satisfy this requirement we need info of each date on which specific user has logged in to TC .    

Bulk Print PDF

$
0
0
Hi, I would like to have a function to print many PDF at one time. User just need to select the data from Data Grid and then click the bulk button to print the PDF.

Can we change Security Settings for User Roles from UI ?

$
0
0
Hi Guys,   Is there a way to change Security settings for the User roles from UI by using any JAVA action/Javascript action ? If so please let me know. The aim is to change the security settings without going for App rebuild. I have read about Permission API, which does similar function but however the documentation says that it is depricated and there is no clear procedure about it. (Permission Api Link: https://docs.mendix.com/apidocs-mxsdk/apidocs/permissions-api )   Can anyone please answer me If you any idea on this.    regards, Suresh K  

Numbers to words in German

$
0
0
Hello, I need to transform numbers into words (100 to one hundred for example), I only found a JS code to do it in english but I wasn’t able to find a way to make it work in german. Someone have an idea? Thanks

Redirect to wrong URL when using the redirect page in ForgotPassword module

$
0
0
Hi, After i set my password for my new account ill end up with an activated account. At the end ill be send to the redirectPage in the forgotpassword module. see photo:   After that ill be redirected but the strange thing is im redirected to the technical Mendix URL (mendixcloud.com) and not to my custom domain (customdomain.com). I didnt changed anything in the html snippets or format strings. Format string:
  Html snippet 1 & 2: function doReload() { setTimeout(function(){ document.forms['signin'].submit(); }, 2000); } doReload(); Any idea how i can fix this?  When i go to customdomain.com/signin/ than it will be redirected to mendixcloud.com domain.

Installing 7.23.3 AdoptOpenJDK x64 not correctly installed

$
0
0
Has anyone else received this error? I am trying to install locally on Windows 10 64 bit. The release notes mention “We added support for AdoptOpenJDK. If you install the Desktop Modeler and you do not have Oracle’s JDK or AdoptOpenJDK installed, the installer will install AdoptOpenJDK.” But it does not mention what to do if it doesn’t install correctly.  

Installing Mendix-8.0.0.54216 fails to install AdoptOpenJDK

$
0
0
  When I installed v7.23 I got the same error “AdoptOpenJDK x64 mandatory prerequisite was not correctly installed.”. It took some searching in the forum to find the correct version & build of JDK. Is there anyone who knows the correct version of JDK 11 to install?? I have downloaded these versions: Mendix-8.0.0.54216 OpenJDK11U-jdk_x64_windows_hotspot_11.0.4_11 It says in the documentation for Mendix that it installs the necessary JDK but it doesn’t. Any help would be appreaciated. // Eamonn J. /  

Can we create any kind of Dataset or local Database in mendix for storing external Rest API Data

$
0
0
I have one entity in which their are multiple Dates and their values coming from Rest API. I want to create one new entity which will have only two attributes  Date and 2. Value So, I can store incoming data into that entity with only 2 attributes for creating graph.    

Dynamic Api key

$
0
0
i am trying to get data from an API call and its result is not fixed and the contents of the API keep changing which is why JSON structure cannot be used for import mapping.  this Key Keeps on Changing. Kindly tell me the solution for that

Database Connector Date as Variable

$
0
0
Hi all,   I am connecting to a remote database using the database connector. I have connection with this database, the problem is that I want to query on this database. I want to execute a stored procedure that uses 3 variables. The variables are 2 string values and a date. This date is the problem.  The format of the dates in the SQL Server database I am trying to connect is yyyy-MM-dd hh:mm:ss:SSS (with the time normally not being set so typically 0). When I wish to execute a query that activates the stored procedure with the 3 variables I send out the following 'string' in the parameter. 'EXEC dbo.sp_StoredProcedure @dateStart='' & FORMAT(' + formatDateTime($Planner/Date, 'yyyy-MM-dd') + ' "yyyy-mm-dd") & '', @customerName='' & '+$Planner/Customer+' & '', @siteName='' & '+$Planner/Site+' & '' '   This leads to the following strack trace: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: Error converting data type varchar to date. at com.mendix.basis.component.InternalCore.execute(InternalCore.java:577) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: Error converting data type varchar to date. at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:195) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: Error converting data type varchar to date. at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Error converting data type varchar to date. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:217) at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1655) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:440) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:385) at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7505) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2445) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:191) at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:166) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(SQLServerPreparedStatement.java:328) at com.zaxxer.hikari.pool.ProxyPreparedStatement.executeUpdate(ProxyPreparedStatement.java:61) at com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeUpdate(HikariProxyPreparedStatement.java) at databaseconnector.impl.JdbcConnector.executeStatement(JdbcConnector.java:94) at databaseconnector.actions.ExecuteStatement.executeAction(ExecuteStatement.java:71) at databaseconnector.actions.ExecuteStatement.executeAction(ExecuteStatement.java:51) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) at com.mendix.basis.component.InternalCore.execute(InternalCore.java:573) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:60) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:200) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:50) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:76) at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:55) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:51) at com.mendix.basis.actionmanagement.ActionManager$1.execute(ActionManager.java:186) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.java:191) at com.mendix.basis.component.InternalCore.execute(InternalCore.java:573) at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:328) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:313) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:313) at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) at com.mendix.basis.actionmanagement.IMonitoredAction$class.monitor(IMonitoredAction.scala:49) at com.mendix.webui.requesthandling.ClientRequestHandler$ClientMonitoredAction.monitor(ClientRequestHandler.scala:431) at com.mendix.webui.requesthandling.ClientRequestHandler.handleRequest(ClientRequestHandler.scala:313) at com.mendix.webui.requesthandling.ClientRequestHandler.handleActionWithSessionRequired(ClientRequestHandler.scala:251) at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:218) at com.mendix.webui.requesthandling.ClientRequestHandler.liftedTree1$1(ClientRequestHandler.scala:104) at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:96) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:70) at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:67) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:33) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:858) at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.handle(RuntimeHandler.java:41) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:368) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:489) at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:953) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1014) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:861) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:748)   Hence what I think is the problem is that because I format the date it comes in as a string and not as a date. And the database cannot convert this. However if I do not format the date I cannot run the app because the entire query should be a string:  How can I give the date as a variable that can be picked up as a date by the database in this string?

DropdownDivConverter not refreshing content when using the pagination on a template grid

$
0
0
Good Morning, we have just been running into an annoying issue. We have a template grid where each entry has a DropdownDivConverter. When I use the pagination of the template grid, the content of the dropdowns is still referring to the objects of page one. If I directly navigate to the last page, it works as expected but If I only navigate to the next page, I always get the content of page one. Did yomeone already run into the same issue? Does someone have a workaround for this?

Excel Importer - Synchronize only existing objects Bug

$
0
0
Hi all, I have an excel importer that quite simply updates existing objects in a entity (called: Revenue). One single object of the Revenue entity points to a single object in another entity (called: Country). To uniquely identify the Revenue object I need to point to the associated Country object and to the attribute Revenue.Year . When I run this excel import I get the message “The import is finished. 0 records have been imported.”, this tells me that nothing was updated.  Can you spot where the problem might exist? Here is a print screen of the excel template:

Can you please provide one complete example of Timeseries chart.

$
0
0
What format of incoming data should be for both axis. Steps for creating 

mxReloadWithState() function in Mendix 8.X

$
0
0
Hi,  I have a problem on using the mxReloadWithState() javascript function, that was working properly in mendix 7.X. What I need to do is to set the user’s language after arriving from a deeplink microflow that changes his language. I can see that the user’s language is well changed but the page always displays in the default one until we refresh it : As it is recommended here https://docs.mendix.com/refguide/translatable-texts , we use a HTML/javascript snippet (both tested without success) in the page that do the mxReloadWithState(), allowing the page to refresh and so in the right user language. However, after refreshing, it goes right away to the home page (meaning the loginPage since my user is anonymous).  In Mendix 7.X, it worked perfectly. Would someone have a tip to make it work in 8.X version ?   

Retrieve data from Non Persistable Entity

$
0
0
Hi all, I want to run a OQL query against a non persistable entity. When I tried that it is throwing this error:   Is there any way to check data that is present in non persistable entity? Regards Roger Fredo MS

Search for Microflow Data Source

$
0
0
I have a data grid with a microflow as a data source. I cant write it as an xpath because it gets very complicated and relys on associated objects. Is there anyway I can get a search without having to build a custom widget (cause I dont know how). 

How to invoke a nanoflow when clicking in a specific tab in tab layout

$
0
0
I have a page with a tab layout. On one of the tabs “Network Diagram” I have a button which executes a nanoflow. I would like this nanoflow be executed automatically when I click this particular tab. How do I achieve it?
Viewing all 83469 articles
Browse latest View live


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