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

Mysql 8.X error when using as custom database

$
0
0
I’m trying to use my own database as main db for mendix, I’m getting this following message :  Opening JDBC connection to Some(0.0.0.0:3307) failed with SQLState: 28000 Error code: 1045 Message: Access denied for user 'root'@'172.17.0.1' (using password: NO) Retrying...(2/4) This is the configuration: IMPORTANT: Mysql 5.7 works with same settings but not when using version 8.X Mysql version : mysql  Ver 8.0.15 for Linux on x86_64 (MySQL Community Server - GPL)

ERROR:UPDATE SAP DATA

$
0
0
Hi all, I'm Struggling with update SAP Data(I cannot update data because of null exception error). It may be problem of parameter error...but I cannot solve the error. the error log as below: Please help... Thank you. ************************ An error has occurred while handling the request. [User 'Anonymous_31c22446-80b8-4df6-8761-4fcc15d2865c' with session id 'ae20787f-XXXX-XXXX-XXXX-XXXXXXXX73df' and roles 'Administrator'] -------- com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: sapodataconnector.utils.ODataResponseException: CREATE|Response code: 501, Response text: {"error":{"code":"/IWBEP/CM_MGW_RT/021","message":{"lang":"en","value":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class."},"innererror":{"application":{"component_id":"","service_namespace":"/SAP/","service_id":"YGET_INVENTORY_SRV","service_version":"0001"},"transactionid":"A42D80E065560000E005CA2D4587C1EE","timestamp":"20190402113504.7678180","Error_Resolution":{"SAP_Transaction":"For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"/IWBEP/CX_MGW_NOT_IMPL_EXC","message":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class","propertyref":"","severity":"error","target":""}]}}}     at MyFirstModule.ACT_UpdateInventory (JavaAction : 'Create') Advanced stacktrace:     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389) Caused by: com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: sapodataconnector.utils.ODataResponseException: CREATE|Response code: 501, Response text: {"error":{"code":"/IWBEP/CM_MGW_RT/021","message":{"lang":"en","value":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class."},"innererror":{"application":{"component_id":"","service_namespace":"/SAP/","service_id":"YGET_INVENTORY_SRV","service_version":"0001"},"transactionid":"A42D80E065560000E005CA2D4587C1EE","timestamp":"20190402113504.7678180","Error_Resolution":{"SAP_Transaction":"For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"/IWBEP/CX_MGW_NOT_IMPL_EXC","message":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class","propertyref":"","severity":"error","target":""}]}}}     at MyFirstModule.ACT_UpdateInventory (JavaAction : 'Create') Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146) Caused by: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: sapodataconnector.utils.ODataResponseException: CREATE|Response code: 501, Response text: {"error":{"code":"/IWBEP/CM_MGW_RT/021","message":{"lang":"en","value":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class."},"innererror":{"application":{"component_id":"","service_namespace":"/SAP/","service_id":"YGET_INVENTORY_SRV","service_version":"0001"},"transactionid":"A42D80E065560000E005CA2D4587C1EE","timestamp":"20190402113504.7678180","Error_Resolution":{"SAP_Transaction":"For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"/IWBEP/CX_MGW_NOT_IMPL_EXC","message":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class","propertyref":"","severity":"error","target":""}]}}}     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:418) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: sapodataconnector.utils.ODataResponseException: CREATE|Response code: 501, Response text: {"error":{"code":"/IWBEP/CM_MGW_RT/021","message":{"lang":"en","value":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class."},"innererror":{"application":{"component_id":"","service_namespace":"/SAP/","service_id":"YGET_INVENTORY_SRV","service_version":"0001"},"transactionid":"A42D80E065560000E005CA2D4587C1EE","timestamp":"20190402113504.7678180","Error_Resolution":{"SAP_Transaction":"For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"/IWBEP/CX_MGW_NOT_IMPL_EXC","message":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class","propertyref":"","severity":"error","target":""}]}}}     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: sapodataconnector.utils.ODataResponseException: CREATE|Response code: 501, Response text: {"error":{"code":"/IWBEP/CM_MGW_RT/021","message":{"lang":"en","value":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class."},"innererror":{"application":{"component_id":"","service_namespace":"/SAP/","service_id":"YGET_INVENTORY_SRV","service_version":"0001"},"transactionid":"A42D80E065560000E005CA2D4587C1EE","timestamp":"20190402113504.7678180","Error_Resolution":{"SAP_Transaction":"For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"/IWBEP/CX_MGW_NOT_IMPL_EXC","message":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class","propertyref":"","severity":"error","target":""}]}}}     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: sapodataconnector.utils.ODataResponseException: CREATE|Response code: 501, Response text: {"error":{"code":"/IWBEP/CM_MGW_RT/021","message":{"lang":"en","value":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class."},"innererror":{"application":{"component_id":"","service_namespace":"/SAP/","service_id":"YGET_INVENTORY_SRV","service_version":"0001"},"transactionid":"A42D80E065560000E005CA2D4587C1EE","timestamp":"20190402113504.7678180","Error_Resolution":{"SAP_Transaction":"For backend administrators: run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"},"errordetails":[{"code":"/IWBEP/CX_MGW_NOT_IMPL_EXC","message":"Method 'GETINVENTORYSET_CREATE_ENTITY' not implemented in data provider class","propertyref":"","severity":"error","target":""}]}}}     at sapodataconnector.utils.ODataResponseHandler.handleResponse(ODataResponseHandler.java:67)     at sapodataconnector.utils.ODataResponseHandler.handleResponse(ODataResponseHandler.java:24)     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:223)     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)     at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)     at sapodataconnector.actions.Create.executeAction(Create.java:83)     at sapodataconnector.actions.Create.executeAction(Create.java:29)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:414)     at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:56)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:201)     at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:157)     at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:46)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.doCall(CoreActionHandlerImpl.scala:79)     at com.mendix.basis.actionmanagement.CoreActionHandlerImpl.call(CoreActionHandlerImpl.scala:57)     at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:55)     at com.mendix.basis.actionmanagement.ActionManagerBase$1.execute(ActionManagerBase.java:150)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:155)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:383)     at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:398)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.runMicroflow(ExecuteMicroflowAction.scala:46)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:32)     at com.mendix.webui.actions.client.ExecuteMicroflowAction.apply(ExecuteMicroflowAction.scala:15)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$4(RegularClientAction.scala:46)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState(StateHandling.scala:33)     at com.mendix.webui.requesthandling.helpers.StateHandling.withState$(StateHandling.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.withState(RegularClientAction.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$3(RegularClientAction.scala:44)     at scala.util.Try$.apply(Try.scala:213)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2(RegularClientAction.scala:44)     at com.mendix.webui.actions.client.RegularClientAction.$anonfun$execute$2$adapted(RegularClientAction.scala:42)     at com.mendix.webui.requesthandling.helpers.ContextHandling.$anonfun$inContext$4(ContextHandling.scala:41)     at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)     at com.mendix.basis.actionmanagement.IMonitoredAction$$anon$1.execute(IMonitoredAction.scala:47)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor(IMonitoredAction.scala:49)     at com.mendix.basis.actionmanagement.IMonitoredAction.monitor$(IMonitoredAction.scala:25)     at com.mendix.webui.requesthandling.helpers.ContextHandling$ClientMonitoredAction.monitor(ContextHandling.scala: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:23)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest(ProfileHandling.scala:14)     at com.mendix.webui.requesthandling.helpers.ProfileHandling.profileRequest$(ProfileHandling.scala:10)     at com.mendix.webui.actions.client.RegularClientAction.profileRequest(RegularClientAction.scala:21)     at com.mendix.webui.actions.client.RegularClientAction.execute(RegularClientAction.scala:39)     at com.mendix.webui.requesthandling.ClientRequestHandler.handleAction(ClientRequestHandler.scala:124)     at com.mendix.webui.requesthandling.ClientRequestHandler.processRequest(ClientRequestHandler.scala:101)     at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:40)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:72)     at com.mendix.external.connector.MxRuntimeConnector$1.execute(MxRuntimeConnector.java:69)     at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32)     at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:75)     at com.mendix.basis.impl.MxRuntimeImpl.processRequest(MxRuntimeImpl.java:909)     at com.mendix.m2ee.appcontainer.server.handler.RuntimeHandler.service(RuntimeHandler.java:42)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)     at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:867)     at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:542)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)     at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1588)     at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255)     at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1345)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203)     at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:480)     at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1557)     at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201)     at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1247)     at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144)     at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)     at org.eclipse.jetty.server.Server.handle(Server.java:502)     at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:364)     at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260)     at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305)     at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)     at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168)     at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126)     at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366)     at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:765)     at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:683)     at java.lang.Thread.run(Thread.java:748)

How to Convert "Enumeration Values" into "Numeric" and Send it to back to "SAP"

$
0
0
Hello All, I have my Enumeration Values in a Mendix field like this, Car Repair Bike Repair Motor Repair   But when I send these values back to SAP, I would like to send these as specific codes, I.e. Car Repair -→ Code ‘201’ Bike Repair -→ Code ‘202’ Motor Repair -→ Code ‘203’ Can anyone please let me know, how to achieve this. Thanks in advance.   Regards, Venu

How to customize Line Chart Widget

$
0
0
Hello. I am using the Line Chart widget, and I want to change line’s width using plotly attributes, but I cant wind which attribute does change. Can somebody help, please?

Crashlytics plugin for PhoneGap

$
0
0
I'm trying to implement the cordova-plugin-firebase-crashlytics in a hybrid app and have these lines in my config.xml: <plugin name="cordova-support-google-services" /> <plugin name="cordova-plugin-firebase-crashlytics">    <param name="ANDROID_FIREBASE_CORE_VERSION" value="16.0.0" /> </plugin> <resource-file src="google-services.json" target="app/google-services.json" />  My entry ,js has this bit of JavaScript: MxApp.onClientReady(function(mx) { var crashlytics = FirebaseCrashlytics.initialise(); crashlytics.logException("my caught exception"); }); However, I'm getting the following error: ReferenceError: FirebaseCrashlytics is not defined Has anybody succesfully implemented this plugin? Or any suggestions on how to get it to work?

Resolve Report Grid, Report Chart and Report Parameter issues after app has been deployed in the cloud

$
0
0
Hello Everyone, I’m currently developing a Mendix application on version 7.22.2. I’m using the inbuilt Report Grid, Report Chart and Report Parameter widgets alongside DataSets to run specific queries that display historical data (including aggregates) from the domain model. When I run the application locally, the charts and tables are displayed correctly but when I deploy the app to the cloud it keeps throwing an error and say contact system administrator. I’ve not been able to find out why. Below are images of the interface when run locally (functional) and on the cloud (with the error). It is a free app.   Please any help solving this will be appreciated. Thank you.

How to add Confirmation ppopup?

$
0
0
Hi All, In my project, I have to show a popup for confirmation of adding the product. I want to show him a popup like, hey do you want to add this product? with option Yes and No. If user clicks on Yes, then I need to continue the process, If user clicks on No, then I need to stop the process. How can I do this? Can anyone help me with this. Thanks in advance.   - Venkat

Mendix Modeler 7.22.1 not starting

$
0
0
Hello all, Since this morning Modeler 7.22.1 doesn't start anymore on my laptop. After the startup screen the icon appears on the taskbar, with a white miniature window. The normal window does not appear on my screen though. I have had simular issues before that I resolved by right clicking on the icon and maximizing the screen, but that doesn't work this time. My machine is a MS surface book running Windows 10. Things I have tried so far: - Turning it off and on again - Activating and deactivating tablet modus - Decoupling my screen and reattaching it  - Decoupling 2nd screen - Deinstalling and reinstalling the modeler   Things that changed since it worked - I have used tablet modus on this laptop - Windows update this morning   Anyone more suggestions on how to solve this?   Thanks,   Martin  

How can I put deployment folder and all its content in .gitignore file.

$
0
0
I have natively moved my mendix project in git repo, but how am I suppose to add deployment folder in .gitignore file I have tried keeping .gitignore file in root location where .git folder is present and tried following things Mendix-Project/deployment Mendix-Project/deployment/ Mendix-Project/deployment/* note:”Mendix-Project” is a folder where I have created mendix project. and my .gitignore file is outside “Mendix-Project”

In-app feature announcements

$
0
0
I am looking at adding in-app feature announcements to our app to quickly explain some key new features at every release of the app. I looked a bit around in the app store and could not really find something that suits my needs. It seems that the wizard steps comes closest. I’ll probably try to build it with that one.  Did someone else already build this or does anyone have suggestions?  Underneath a sample from Facebook so that you get what I mean:

Header overlap on mobile status bar...

$
0
0
Hello Everyone, We recently developing a mobile app on Mendix 6.10.2, When we test/publish it we have problem on the header. Header is overlapping to the mobile statusbar both on iOS and Android. Does anyone have solution for this? Image is attached for the reference.  

JSON/Importmapping/API help

$
0
0
I am trying to pull data from PUT API, just testing for now.  This is a screenshot of the import mapping, i’m not sure what to tick. As it is ticked at the moment, an import entity for each of the ticks (as seen in the second screenshot). Ideally what i’d like to happen is one entity created for the below as attributes. (i’m quite new to this so any help would be appreciated).        

Adding animation to list view items

$
0
0
I have asked this type of question before but no answer came, maybe before I described it wrongly.  I want to add animation effect to list view items, like bouoncing text, sliding text, moving text, blinking text etc..  Is there any example which i can consider to add some Html snippet or css calss?

How to identify the unused tables in domain model?

$
0
0
Hi all, I have too many tables in my domain model. It seems most of them are haven't used from past few months. I want to get rid of those tables, which there is no dependency on them. How can I identify the unused tables of domain model? Is there any logics or is there any options in database to identify them. My local database is HSQL and the client database is SQL Server 2012. Please help me with this. Thanks in advance. - Venkat

Anonymous access to a certain object over a path

$
0
0
hi all, I am trying to find a solution to a problem where i am into a situation where i need to have anonymous access to an entity but i should only be able to read and edit the object which i created” the issue is the anonymous session is a generic object on its own.

Where to find attributes value in Subscribing for events from a device form IBM Watson IoT Platform using MQTT Client module

$
0
0
I have simulated device on IBM Watson IoT platform and i want subscribe to messages in my mendix app. I want my mendix app to recieve sensor data readings(Events) it has submitted to watson IoT Platrform. I have insalled MQTTClient module in mendix when I add MQTT Subscribe in Mendix microflow it asks me for attributes like: Broker host Broker port Broker organization Timeout Username Password Topic name On Message Microflow CA  Client Certificate QoS   where do i find my broker host, broker port …… etc.???

Wildcard for special character in Xpath? (à instead of a for example)

$
0
0
I need to do a search through Xpath (directly in the database or through microflow) where I want to search with a string on an attribute. This attribute might contain special characters, such as 'à’. Is it possible to somehow to do a wildcard search or searching for 'a' and returning values that contain 'à’? I can't seem to find this option and manually trying to create a flexibel search microflow seems both complicated and bad for performance.

Error in Call web service activity

$
0
0
I am new to Mendix and feel like this should be an easy one but it has me stumped. I went in to the Domain Model and chose Import Web Service and went through the wizard and had it create a Microflow for me. I also created an Export Mapping using the xml schema for the request body from the documentation of the owner of the web service. I also used that xml schema to import into the domain model because the initial wizard only created entities for the response, not for the request.  (I’ve done this with other web services and the same thing happens, which seems weird to me.  I would think it would also create the entities for the request.) In the Microflow I create an object and use the entity that I created in step 3 and fill in various values. In the Call web service activity I went to the SOAP Request Body tab, chose Export mapping for the entire request and then picked my mapping and also selected my variable from the previous step of the Microsflow as the Parameter. The wsdl is at https://sdkstage.microbilt.com/WebServices/Ex/ExStd.svc?wsdl   The project will not compile.  I get an error “Export mapping ‘DataEntry.Export_mapping’ should map the request body of the web service.”  I thought that’s exactly what I was doing in step 5 when I mapped the Request Body.  The error is confusing.  It is error 378.   Any ideas?   [Edit] Screen shot of mapping (not complete, it’s rather large)   Screen shot of the SOAP Request Body tab in the Call web service activity.     [/Edit]

Development environment also on IOS?

$
0
0
Is there a way to develop software on an Apple computer, or can it only be installed on a Windows computer?

can formatDateTime() return day of week as a number?

$
0
0
If I use formatDateTime($Server_DateTime,'EEEE') I get the text of the weekday returned, such as Sunday, Monday... etc. I am using this value in subsequent flow to search for matching records. I am worried that this value is English language, and in otrher environments it may return the weekdays in different languages. I would prefer to be able to return the weekday as an integer, 0, 1 etc. Does anyone know of a function to return the DayOfWeek as an integer? I looked on http://java.sun.com/javase/6/docs/api/java/text/SimpleDateFormat.html and tried formatDateTime($Server_DateTime,'F'), but that seems to return the week number in the month. In the parent Java DateFormat class there seems to be: DAY-OF-WEEK-FIELD public static final int DAY-OF-WEEK-FIELD (underscores replaced with hyphens by me) Can this be used in Mendix and if so, how? UPDATE after answer: I have tested and 'F' definitely returns the number of the week of the month, calculated from the 1st day of the month. SOLUTION after responses: Solved this by creating a Java action. Needed to add line near top of javasource (not in USER CODE section): import java.util.Calendar; then user code as follows: // BEGIN USER CODE Calendar cal = Calendar.getInstance(); cal.setTime(InputDate); int dow = cal.get(Calendar.DAY_OF_WEEK); String tmpStr = Integer.toString(dow); return tmpStr; // END USER CODE
Viewing all 83469 articles
Browse latest View live


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