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

Import a MySQL database into the built in HSQL database

$
0
0
Hi everybody, I was wondering about something. The application I'm currently working on run on an external database (MySql, Ubuntu server). This is fine, although performance wise, things could be snappier. My thought was: is it possible to import the SQL dump file, created with SQL Workbench (including the create schema command) into the local HSQL database? I'm sorry if this question has been answered in the past, but I couldn't find a thread about this specific case. Regards, Bart van den Heuvel

Testing Google Captcha

$
0
0
How can we test a Google Captcha using ATS? Kathy

How to embed (only) the login-page into the customer site using an Iframe, while executing the rest of the application in a normal browser/page.

$
0
0
We would like to show the login page in the customers website using an iframe.  Once the customer logs in, we want to pop out to a regular page, to avoid confusing the customer with mixing site and app buttons and navigation . Although the app functions properly in the I-frame, this is one of the items from the customer feedback. For security reasons we only allow the i-frame within the same domain. Any suggestions?

Multi language design models. Results of a knowledge network day.

$
0
0
  This forum post is the result of a knowledge network day on the 25th of augus 2013 about designing multi language Mendix projects. The participants where Roeland Salij of Mendix, Querijn Chorus of Nobel, René Smit of Intermediad and me, Ronald Catersels of Daywize. I would like to thank these participant for sharing their knowledge. This post is the result of this meeting so that when a Mendix developer needs to design a multi language environment knows how to approach this. The reason to organize this day was because when building a test project there are many ways that lead to Rome… But what is the best way? I could easily design multiple ways to achieve this, but each solution had its drawbacks. Therefore I decided to organize a day about this subject with Mendix partners who already tackled (or wrestled) with this problem. We all know that the user interface is not the problem. This is all handled by Mendix in the modeler. But know about the data fields that also needs to be presented in more languages. Even after this day I still think it could or should be handled by the modeler without the need of the solution architect to design it specifically. My ideal solution would be that I could just click on a attribute in my entity and select translatable attribute and that the model would handle everything for me according to the language settings in the model. But this is probably wishful thinking by me that is not yet technical feasible. But maybe Johan and his team of wizards can make this happen sometime in the future. Until then the designer has to make some design decisions. The design solution presented by Roeland from Mendix is in our opinion the best solution. Only the design solution from Intermediad came real close to this solution. I will discuss each solution in this forum post and make some comments about drawbacks and advantages. In total 8 different solutions where presented this day. 1 The Mendix solution The first thing I noticed about this solution is the use of a calculated attribute in the TranlatableEntity something that Mendix always tell you only to do if all else fails because of the performance drawbacks a calculated attribute can have on your application. The reason why a calculated attribute can be used here is because it only retrieves over an association the object with the right translation. This is the microflow that is used to retrieve the object (note: Apply entity access is set to true): The advantage of this solution is that retrieving and showing the translatable object is relative simple. Only one microflow is necessary and the rest are standard forms. The drawback could be the performance loss because using a calculated object. But since this microflow is only a simple retrieve this loss is very small. One other drawback of this solution is that this one in not a solution that comes to mind easily. Only Intermediad had a solution that came real close to this one. 2 The Intermediad solution This solution comes real close to the Mendix solution but has some other drawback compared to the Mendix solution. Because of commits on the main object when showing the translation the data about by whom the last record was saved becomes useless while in the Mendix solution this also is preserved. 3 All data in one entity In this solution all the data is kept in one Entity. The non persistent objects are used to set booleans that are used to show the right translation and hide the other translations. Advantage of this solution is that all data is in one entity. Searching objects are easy because for each language there is a search field. Drawback of this solution is that custom microflows are needed when creating new objects or edit existing one. And the forms are complex because of the Edit condition of visible object and because when showing a grid in the right language needs separate forms for each language. 4 One entity per language with reference to main object. The advantage of this solution is that it is easy to display all the languages in one form, but this also is a drawback of this solution. Forms can become complex and synchronizing all the languages to make sure everything is filled out needs to be done. 5 For every language a separate entity.   Here all the data is in one entity and each language has its own entity. This way forms are easy. The drawback is that microflows are needed to show the right form. And here also there needs to be a synching mechanism to keep all the languages in line. 6 All the data in one entity. In this solution all the objects are places in one entity and a relation is set to language. Advantage here is that all is done in one form with xpath. Drawback is to sync all the objects. If an object is changed the translated objects needs also be adjusted. 7 Translatable attribute in non persistent object. In this solution the non persistent objects are created with the right translation. The advantage of this solution is that a relative small number of microflows and forms are needed. The major drawback here is the loss of search attributes because of working with non persistent objects (I still do not grasp this why this is not possible with non persistent objects. Since all objects are in memory it seems to me that only a different search is needed. From a user interface perspective it is something I cannot explain to my customers why I cannot display search fields in certain forms.) And the second drawback here could be performance loss whit a lot of objects. I would not advise this when a lot of objects need to be created. 8 Default object with tooltip forms to show the translation. In this solution all the data is in one default language. This could be an elegant solution in multinationals where there is one language that is used when working in a multi national environment. The advantage is that the forms are easy and no custom microflows are needed. The drawback is that not the standard tooltip solution can be used. The formloader widget is needed to retrieve the right form. If some of the limitations of tooltips forms could be removed in the modeler than this could be an interesting solution. Again many thanks to the participants of this knowledge day. I hope that this post keep developers on the right track when creating multi language Mendix solutions. Any comments are welcome and I will keep this post updated with new insights on this subject. Regards, Ronald Catersels Daywize

Google Charts Timeseries display of Date & Time

$
0
0
Hi all, For a graph of a timeseries we would like to shown Date & Time in the Google Charts object. Google decides when it shows just time (and no date) or date (and no times). For some reason we cannot figure it out using the documentation provided by Mendix or Google. Anybody ran into the same problem and can help out? Any help would be greatly appreciated. Regards Mark

UX/Front end Slack Channel

$
0
0
Want to discuss Mendix UX patterns? or are you running into some front-end issues with Mendix? Join the Mendix-UX Slack Channel :D   nieuwe link: https://join.slack.com/t/mendix-ux/shared_invite/enQtMzU1MjQ5NjkzNzc3LWVhYmE5ZWEwYThlOTI5YTcxZDlmMDA0Y2MwNzUwNjA1M2I1NmMwN2U0MmViNDQ1OWYwYzcxYzQ3ZGE1OWY1MTE

Chartjs - error message

$
0
0
  Hi, I am having some trouble with the Chartjs widget. I hope you guys can help me. I have been following the steps in the this document but I am get the error: 'Microsflow should have one parameter of type MyFirstModule.ChartWrapper'. I can't understand what I did wrong.   

How to show the enumeration image in the autoComplete widget

$
0
0
I have imported the autoCompleteForMendix widget. Via the result display tab, it is possible to configure the resultlist. According to the documentatie examples it should be possible to show enumeration images (examples with country are provided in the documentation) As  far as I can see, it is only possibel to define attributes in teh result list. Can someone provide me with an example of enumeration images.   In the example the ZoekType is an enumeration with images

Proxy support for Hybrid mobile app (android)

$
0
0
We have mobile devices running in a separate WLAN with a forward proxy in between for internet access. Does the mobile hybrid app respects the (android's) device network proxy settings? regards, Mark

NewLine in Multiple Strings

$
0
0
I'm having a String variable in that i'm trying to add many strings(i.e, concatenation).I need a linebreak for each string like $String1 $String2 $String3   Tried \n,
and the given format $String1+''+$String2

Speech to text widget

$
0
0
We want to develop an app with the option for users to give information by speech. This must then be converted tot text and send to the app for input. Does anybody know of a widget that does this?

Help needed for custom request handler for images

$
0
0
Hi guys, In order to get access to an uploaded image (via /file?guid=xxxx) without a session , I have to make custom requesthandler. I indeed read a lot of it in different questions of Asquiel and in post of Achiel, but as a Mendix business engineer without (say ) 0 knowledge of Java ...all these info was still not enough for me, even that post of Achiel. (the step from a Hello world link to an Image requesthandler was too huge and unclear). Could anyone share what he/she has done to get access to an uploaded image with a custom request handler? I would really, really appreciate if I could see a complete and working project/java actions which are needed to reach this. Much appreciated!

Integrate Tableau dashboard through IFrame

$
0
0
Hello, I'm trying to integrate a Tableau dashboard (html and JavaScript Code or URL) but I can't find any way to do so. I've tried both IFrame and HtmlSnippet widgets but they both have constraints : HtmlSnippet let you use Html OR JavaScript code thus not recognizing my mixed code AND I couldnt find enough documentation about how IFrame works. Thanks for you help, Mehdi

Tableau integration

$
0
0
Hi, I followed the approach same as using iFrame https://forum.mendixcloud.com/link/questions/86509 however I am getting "This content cannot be displayed in a frame" error. If I add the snippet to index.html page to test, it opens fine. Not sure what is missing . Please help.

Breakpoint (Browser to Variable Not working)

$
0
0
I am trying to learn Mendix and getting the hang of it. I got stuck on Module modeling microflows. debugging behavior. I just can't seem to connect the "debug order" to the Variable tab in debugger in desktop modeler. Thanks in advance

(Log message) RequestStatistics : Request state size of X objects exceeds the threshold of Y objects

$
0
0
Hi, I am trying to find the reasons why the following log message is generated. This is not programmed in our code so I am assuming this is generated by Mendix. This seems to be generated every time I use the export to CSV button. What could be the reason for this message and do I need to adjust my code or just take it as a warning and ignore? Thanks!   

415: Unsupported Media Type during REST POST operation

$
0
0
Hi, I am starting to look into Mendix's REST capabilities: I can execute a GET But when I execute a POST, I get this error: Caused by: com.mendix.modules.microflowengine.MicroflowException: 415: Unsupported Media Type    at IT4ITModule.SN_IncidentExport (CallRest : 'Call REST (POST)') The configuration is as follows: JSON Structure   I mapped the attributes by name   The REST Location is https://dev50842.service-now.com/api/now/table/incident?sysparm_fields=sys_id%2Cnumber%2Cshort_description%2Cimpact%2Curgency%2Copened_at%2Copened_by%2Cpriority%2Cseverity   The Request is mapped using an Export map The Response is mapped as well   What am I missing? Any hints are appreciated.   Guislain

Excel Exporter - java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker

$
0
0
Hi, I created a simple test project because I was getting the above error when using the Excel Export module. I just added the MX Reflection and Excel Exporter modules, created 2 simple entities (one for data and one for the excel file), the microflow with the functionality to export the excel and then configured the template. The error happens when executing the GenerateExcelDoc java action.   I have the xalan-2.7.1.jar that comes with the Excel Exporter module and tried 3 latest versions of the module.   Has anyone seen this before? Edit - List of jars: Many thanks Gonçalo

Method to Import PST to Office 365 Account

$
0
0
I was going through the web and I need to know the method to import PST to Office 365 easily as on web there are very long and difficult process.

I frame url not displaying

$
0
0
Hi,   I want to embedd tablue url in Iframe widget,I have done alll the steps,but when I Am running the page its giving me this message in console. Refused to display 'https://public.tableau.com/profile/texty#!/vizhome/2016_177/2016' in a frame because it set 'X-Frame-Options' to ' sameorigin '.   How to fixed it?
Viewing all 83468 articles
Browse latest View live


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