Does someone know when Mendix will support a JSON response (instead of a XML response) from a published ODATA service? A lot of our customers ask for a JSON response instead of the current XML response. Thanks
↧
Does someone know when Mendix will support a JSON response (instead of a XML response) from a published ODATA service?
↧
How to use the Database connector
Hello, I'm new to Mendix and I don't get clear view on how to use the database connector . I want to select data from an remote database. I tried looking for available content in the web but couldn't find some clear documentation. Can someone help me with the steps on how to get the data from a remote DB in a Microflow .
↧
↧
OQL for Calculated fields?
Hello. Another quick question. Would I be right in assuming that OQL cannot retrieve a calculated field from the database?
↧
Unable to Run/Debug apps from eclipse - Jit debug error message
I'm facing an error when I'm trying to debug or run the application after deploy it to eclipse from the modeler, and I believe this issue starts appear with the new modeler V7.9.0. So whenever you try to create a new project with V7.9.0 and run/debug it from eclipse it will give the following also I tried to disable just-in-time debugger in windows 10 64Bit from the registry but I can't find it. and i'm not sure if the will solve the issue.
↧
Mail to is not opening for the second time in ios app
Hi All, In our app we are having mailto tag Karthiha K inside text field. After displaying the text a hyperlink is created in the page .In ios if we are clicking the hyperlink for the first time mail client is opened and we are able to send the mail,but if we are clicking the link again no action is happening. Have added these settings in config.xml too. If we are long press the link functionality is working as expected.please refer https://stackoverflow.com/questions/36046107/ios-app-mailto-href-link-will-only-work-with-long-press Is there a solution to open the mail link in normal click itself? Thanks, K.Karthiha
↧
↧
List View Controls - filtering boolean with drop down
Trying to filter a boolean value in a list view with the drop down filter control. I would like to show: All - no filter Complete - value = true Outstanding - value = false When I try to add true or false into the Attribute Value field in the Edit Filter Options I then get an error at runtime.
↧
Non-persistent object parameter missing from microflow
I have a dataview with the data source set to a microflow which returns a non-persistent object. The object is present in the dataview because it sets the form fields and the visibility logic works. In the dataview I have a button which calls a microflow with the object of the dataview as a parameter, and also the object of the parent templategrid as another parameter. When I run the app and click the button, breaking on the first action in the microflow, I check the "Variables" list, and although the parent templategrid object is there, the dataview object is missing (not "empty", but actually not in the list). Might this be something to do with the object getting disposed too early? If so what can I do about it?
↧
Processing MS Outlook .msg files
Hi All, We have a requirement to process and parse .msg files in a consistent html format to display in a Mendix application. I have looked at the Apache Tika library and it provides exactly what I need. However my application is already relying on bouncy castle libraries and because BC is also packaged in the tika-app jar it causes a security exception that the tika-app jar is not signed. Self-signing the jar also does not work. I am looking for any ideas or suggestions to resolve the tika library security issue or any alternatives. I also have access to the raw RTF email body. com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.box.sdk.BoxAPIException: Error parsing PKCS private key for Box Developer Edition. at com.mendix.basis.component.InternalCore.execute(InternalCore.java:535) Caused by: org.bouncycastle.operator.OperatorCreationException: 1.2.840.113549.1.5.13 not available: JCE cannot authenticate the provider BC at org.bouncycastle.openssl.jcajce.JceOpenSSLPKCS8DecryptorProviderBuilder$1.get(Unknown Source) at org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfo.decryptPrivateKeyInfo(Unknown Source) at com.box.sdk.BoxDeveloperEditionAPIConnection.decryptPrivateKey(BoxDeveloperEditionAPIConnection.java:459) at com.box.sdk.BoxDeveloperEditionAPIConnection.constructJWTAssertion(BoxDeveloperEditionAPIConnection.java:405) Caused by: java.util.jar.JarException: file:/C:/Users/*********/Documents/Mendix/**********/deployment/model/lib/userlib/tika-app-1.17.jar is not signed by a trusted signer. at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:505) at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:325) at javax.crypto.JarVerifier.verify(JarVerifier.java:253) at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:159) at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:1 Thanks
↧
How to prevent validation feedback in hidden tab?
Hi, I have a page with with a tab container with several tabs. Some tabs contain the same attributes but they are not visible at the same time. Basically a edit and a no-edit version of the same form. Before the form is set to no-edit it is validated and subsequently the visibility property of the tabs is changed. The issues is that the feedback validation triggers the below error popup. It is correct in the sense that the hidden tab contains the attribute and it isn't validate correctly - but obviously not the desired functionality. This doesn't happen for hidden widgets in the same tab. 1) Is this how it should work? 2) Does it only happen to tab containers? 3) Is it possible to prevent feedback validation on a tab container, form or widget? Thanks // :) Fredrik
↧
↧
Replace single quote using inString
replaceAll($StringWithSingleQuote,'’','')) I'm taking UTF value ’ (curved) and trying to replace with a ' (straight) Issue: in the replace with section I cannot use '. I tried ''' and "'".
↧
Client IP Address
I know its currently not possible to get the browser client headers from a java action. I am writing a reCaptcha widget, and need the IP address of the client submitting the captcha form. Is there a simple workaround, getting the IP address of a client?
↧
Preloading
Hello , an one can tell me how to make Preloading screen in mendix page or microflow
↧
Desktop modeler astronimical slow
Hi there, I am curious about the performance of the desktop modeler. Sometimes I am working in a model everything is lightning fast. So whenever you copy a microflow, add input params, renaming microflows, adding actions. Everything happens in milliseconds. But when you open next day the same model everything reacts extremely slow, instead of milliseconds you can wait for seconds. I tried to disable all kinds of processes of Windows, disabled antivirus, all kinds of tweaks, rebooting.... but somehow nothing really helps. When I check the taskmanager, the CPU is idling around 1-3%, memory is like 30% with mass consumers Mendix and Chrome, no hd activity, no network activity. Anyone thoughts on this?
↧
↧
How to show a MF-result on screen?
I have a screen and want to show the result of a microflow 'ShowMyNumber' that does some calculation and returns an integer. Hopefully I am overlooking some functionality by Mendix does not seem to make this as easy as I would expect Mendix to. I was expecting to be able to set a datasource of any widget, Input textbox for instance, to microflow 'ShowMyNumber' and be done. Instead the best solution I could figure out is creating an (non-persistant) Entity in the database and storing the value and retrieving it to show it on screen. That does work, but isn't there a simpeler way?
↧
Using Entity Attributes in a OQL report inside a ListView
Hi All, Im having an issue and trying to solve it in a creative way.. I have a Listview which shows me all users from an entity Users. Inside each list i want to have an OQL Report which only gets the data from thecurrent User where the list is at that moment. How can i pass on the User to the OQL? So the report in the list shows only records from the current displaying user?
↧
[OQL] Join across two more tables.
Hello there. I'm looking to create an OQL query that plumbs data from two more linked tables, but I cannot seem to get the syntax correct. I've tried something like this:
SELECT DISTINCT COUNT(*) AS IntValue FROM Customer.CustomerAccount c
INNER JOIN SalesOrderProcessing.SalesOrder_CustomerAccount/SalesOrderProcessing.SalesOrder AS s
INNER JOIN SalesOrderProcessing.SalesOrder_Depot/Business.Depot as d
INNER JOIN SalesOrderProcessing.SalesOrder_SalesRep/Business.SalesRep as r
WHERE s.OrderDate >= $LowerDate and s.OrderDate <= $UpperDate
AND s.SalesOrderStatus IN ('Allocated', 'Dispatch')
AND d.DepotName IN ('Bournemouth','Dover')
AND r.SalesRepShortName in ('Charlie Angel','FWalsh') but I get an error message back:
Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: There isn't a meta association with name 'SalesOrderProcessing.SalesOrder_Depot' of meta object 'Customer.CustomerAccount' I think I need to make a link between the sales order and the customer account, but I'm not sure how that's done in OQL. Can anyone help with that? Thanks.
↧
Always redirect to a microflow on opening the mobile app
Hi, I want to call a microflow(which will load data and open the homepage) every time the user opens the app on his phone. We have built hybrid apps for both android and the iPhone. The issue is, if the user goes to any random page and then minimizes the app, the next time when he opens the app, the last open page loads up and is unable to load the data(may be it's lost) and the users sees a error popup. Please suggest the best way to do carry this out.
↧
↧
RESTservice in 7.11.0 allways returns "Unknown Response type"
Eagerly trying the newly added Modeler feature for publishing REST I have set up an App with two Entities (Person and Secret) and want to publish their data. See my demo-App My restservice is available via the button "Sharing secrets" or just go to this link directly My Problem is that each REST-service returns the message "Response body 'Unknown response type'" Both at GET and POST services. Got a feeling that I am missing an option to set the ResponseType. Should be somewhere in the action 'Create HttpResponse' where I can add the attributes 'Statuscode''Reasonphrase''HttpVersion' and Content. Which I have set to 200, 'successful operation', 'HTTP/1.1' and the content is a valid JSON-string. The MF for the first service (GET/Geheim/GetAll) is this one: https://modelshare.mendix.com/models/d43bc13e-ea12-4008-a254-8c2a467423fe/secret-get-all Any ideas how to set the ResponseType?
↧
CSS Loader
Trying to use the CSS Loader to change the Background Image based on the user profile. What text string do I need to return from the microflow to enable this to work? I've tried this text: background-image: url("BG-Child.jpg") !important; but that has not worked, the jpg is in the theme directory of the project.
↧
AudioVideoPlayBack
How to get values of total video time and time the video is played from Audiovideoplayback widget? Also how to use these values as maximum value attribute and progress attribute in progress bar ?
↧