Hi there I need to develop an app for a beauty spa. The spa will have three staff that needs access to the app simultaneously and then there are clients that will only make their appointments once or twice a month via the app. Do I understand correctly that the staff will be internal users and the clients external users? Also how does concurrent licensing work? I found in the app store the License Pool Manager, but the documentation is unclear about concurrent licensing.
↧
Licensing for a small deployment
↧
Counter message token always 0
When I want to show the actual number of characters used and the maximum number of characters in a text area, I use the property ‘Counter Message’ with the tokens intended, {1}/{2} (1 – nr of characters used, 2 – maximum number of characters (derived from max length of attribute). However, the first token always starts at 0 when opening the page, and only when actually editing the field (it starts being uneditable, then with a button press can be set to editable in the app I'm working on) the counter will show the actual number of characters already used. Is there a way I can make it show the correct amount of characters from the start?
↧
↧
Not being shown SAP CP setup window in Mendix Modeler
Hi guys, according to the Mendix Academy, upon creating a new app, a window should open up prompting me to select for example my global account and then my subaccounts, regions and spaces that I want to use on the SAP Cloud Platform. The lesson I see this on is: https://gettingstarted.mendixcloud.com/link/module/84/lecture/566 I create the app but no such window appears. I am simply in the development screen. How can I navigate to this setup screen manually to setup my environment? Thanks in advance for your help, Til
↧
Apple & Android default clock
Hi all, Originally when we first setup our app we used to clock picker widget that made the user choose the time in the android ‘wheel’ style. We got a lot of negative feedback about this so we changed it to typing in the time. The change however did work for mobiles as it seems like the Android and Apple mobile devices pick up that the website needs time inputting, and uses their own default clock. The wheel for android and the scroll selector for apple. Does anyone know if this can be bypassed? We are using a web app at the moment, nothing is installed on the phone. (If they app went native would they still use the default android and apple time pickers? Many thanks,
↧
Extract of App Data
Hi, For work I often get asked to created reports for different things, which in turn requires a build that needs testing before putting LIVE. This long process feels unneccessary and there must be a better way...so...is there a way I can download all tables of data for an app so that I can view it in say Excel for example? I’ve been on the ‘Backups’ section on the Mendix portal for a given app, but from what I can see it only allows me to download a ‘.BACKUP’ file that can only be downloaded and uploaded via the Cloud to update the app data itself online?
↧
↧
Creating .APK file
Hi all, I have created a application and I want to test it my mobile ,is there any way to generate an APK file of the application . Please help me out if there is any solution for the above Thanks.
↧
Markup on maps
Hi everyone, I need to create an app that allows me to upload pictures, show them and then creating marks on them including comments. Any idea how to achieve this in general? The MapMarkup widget in the appstore seems to be broken unfortunately. All the best Jakob
↧
Encounter 'The XML could not be parsed. Content is not allowed in prolog' while calling external web service
When calling an external soap based webservice (which I cannot adjust) I encounter the error message: The XML could not be parsed. Content is not allowed in prolog
com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: The XML could not be parsed. Content is not allowed in prolog.
at Integration.ReportContent_GetAttachment (Import with mapping : 'Import from XML')
Advanced stacktrace:
at com.mendix.basis.component.InternalCoreBase.execute(InternalCoreBase.java:389)
Caused by: com.mendix.modules.microflowengine.MicroflowException: The XML could not be parsed. Content is not allowed in prolog.
at Integration.ReportContent_GetAttachment (Import with mapping : 'Import from XML')
Advanced stacktrace:
at com.mendix.modules.microflowengine.MicroflowUtil.processException(MicroflowUtil.java:146)
Caused by: com.mendix.integration.importer.ImportParseException: The XML could not be parsed. Content is not allowed in prolog.
...
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at com.mendix.integration.importer.xml.XmlImporter.$anonfun$parseXml$1(XmlImporter.scala:71)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:12)
at scala.util.Try$.apply(Try.scala:209) I have set webservice logging to trace and found that the webservice in fact does return a response containing all expected data. I found several possible causes for the error on this forum and in other sources, however since I can’t change the webservice I am calling, I think I am stuck. I did find a workaround using an error handler on the webservice action, when an error is encountered I use the $latestHttpResponse variable which contains the WS response, remove any additional info in the message and then use Import with mapping action to map the ‘cleaned’ WSResponse to the original import mapping. It then works fine. Still wondering whether there is any other possible solution (since using the error handler as a standard process step seems weird). Any recommendations?
↧
Mendix World 2019 breakout sessions
I had a great time at Mendix World 2019, unfortunately I missed all break out sessions (giving demo’s at our stand). Were the breakout recorded and if so, (when) will they be made available?
↧
↧
PDF Document templates - to output the html text created using ckeditor widget
Hi Guys, I have an app that uses the ckeditor widget to capture the users text and images entered. ckeditor text taken from HSQL Db Manager: <p><strong>Detailed Description</strong></p> <ol> <li><strong>one</strong></li> <li><strong>two</strong></li> <li><strong>three</strong></li> </ol> <p><img data-image-guid="30680772461461905" src="file?guid=30680772461461905" style="height:504px; width:600px" /></p> <p><span style="color:#2ecc71">Test Continuation</span></p> <p>rthh</p> For auditing purposes, I need to generate a PDF and want to display the text AND images entered in by the user. The fields is defined as “Render XHTML = true” in the template document. I’m getting the text but no image(s) just a gap where the image would be. Does anyone know if this method will work or is there a better way to display the text and images entered in by the user in PDF form?
↧
Migrate Mendix 5.13.1 to Mendix 7
L.S., I need to migrate an app from Mendix 5.13.1 to Mendix 7. According to the Mendix manuals I upgrades Mendix 5.13.1 to the latest version of 5 (Mendix 5.21.10). That version works fine. Now I got stuck. I cann't find a Mendix 6 version to migrate to. Every version I have tried (6.10.7, 6.10.8, 6.10.10, 6.10.18, 6.3.1, 6.7.1, 6.8.1) give me the following error: The project located at C:\Users…. could not be opened, because it was created with version 5.21.10 of the Modeler, which is incompatible with this version of the Modeler. Can someone tell me which Mendix 6 version I need to use ?
↧
Environment Provisioning Failed
Hey guys, I tried to provision the environment so I could run my app on my SAP Cloud Platform but the provisioning failed. The error message displayed includes the text: “no sufficient quota. Instance creation not allowed.” It looks to me though as if i have quite enough resources assigned to that space in that subaccount. In the Mendix Academy I saw that they recommend one “choose the Postgres...-dev database". I can see in my entitlements on SCP that I have PostgreSQL xxsmall assigned three times. Is that the problem here? I also tried deleting the environment and setting it up anew by selecting the xxsmall option in the dropdown. No luck. I also have an additional question which I would like to just add here if that is alright. When first creating an app in the web view of the developer one is prompted with a welcome screen that will help set up the environment. However if one exits out of it and then later goes to Deploy>Environments>Add Environment, the setup screen is slightly different and asks for a bit more information. Why is that? Thanks so much in advance, I really appreciate the help even if this is pretty basic stuff. Regards
↧
Line chart
Hi everyone, I need a line chart with String value on the Y-axis and Integer value on the X-axis, so the normal line chart with x/y -axis switched. This is not possible with the normal line chart because an attribute with string can not be chosen for the y-axis. Anyone have an Idea on how to do this?
↧
↧
Problem opening app from webmodeler in desktopmodeler
Hello I have fnished this app in the webmodeler but cannot upgrade the webmodeler to 7.23 and therefore cannot synchroize this with the desktop modeleren. What goes wrong, can you help me. Ed Boon
↧
Tenant Entity Access
Hello, I’m struggling to make tenant entity access work in my new app. I’m trying to create an App where attributes of an entity (called ‘FMO’) are filled in forms. These entities get commited and are then viewed in a data list. I used the module ‘Multi Tenant Administration’ (https://appstore.home.mendix.com/link/app/80498/) for User Administration. My aim is to only see the entities, that were created in the own tenant of the user. Other FMO-objects of other tenants are not allowed to be seen! I associated my entity to the tenant entity and I added a XPath-Constraint in the access rules of the entity ( [MyFirstModule.FMO_Tenant/MultiTenantAdministration.Tenant/MultiTenantAdministration.TenantUser_Tenant = '[%CurrentUser%]'] ), as it is told in the docs (https://docs.mendix.com/howto/security/set-up-your-first-multi-tenant-app) . However, when I use my app and create an entity as a tenant user I can’t see it afterwards in my list view (which has the data source FMO from database). How can I fix this? Is my XPath-Constraint wrong or do I have to something additionally? I thought of selecting a XPath-Constraint as the data source for my list view, but why should it be wrong to set the data source as the entity, when the view is already restricted through the XPath-Constraint access rule in my entity? Thank you in advance for your help!
↧
How to manually update data in Production? Can we access data directly?
I am a Microsoft Developer who has been tasked with taking over Mendix development and have an issue I cannot figure out. I need to change a record in the production database. In the Microsoft world, I would open Sql Server Management Studio and run an UPDATE query. Can we get direct access to the Mendix database for updates? The only option I know of in my limited Mendix experience is to have a test page with a button that runs a Microflow and in the Microflow I set the value and save it. But that means I have to deploy a new package just for this one little update. The particular table does not have a form to get access to it. It’s an internal table that stores some settings. It was not created as a Constant that I could get to through Environments. Suggestions?
↧
How to use variable created in a microflow
Probably very dumb question as i am a total newbie to Mendix: I created a button that calls the REST API of a specific web-service of mine. Call is functioning well, values (ony a simple string in this case) are retrieved. Now i want to display this string in a textbox in a page that also contains the original button. No clue how to do such a simple thing. I already assigned (by create object) the string to an attribute of a new created entity. I hand over that entity as a result of the microflow. But on the UI side i am lost, where that entity instance went …. what can I do? I do not get the concept of entity instances in Mendix. How do i find them?
↧
↧
Mendix World 2019
As it was impossible for me to talk to everyone, see everything or hear everything I thought it would be a good idea to start this thread. Mendix world was absolutely amazing overall. But to get the full picture of how great it was I would love to hear from others what their answers are on the following questions: What were the positives? What were the negatives? What did you get out of it? What are you most excited about? The positives for me: Great vibrant venue with excellent catering. Interesting sessions and amazing showcases of what's possible using the Mendix platform by Partners. Seeing and talking to the people behind the small icons I've seen here on the forums, linkedin and slack. I have to say some of you really are a lot bigger in real life. The vision for Mx Studio and Mx Studio PRO are game changing in regards of business strategies and what we're selling as Mendix partners. I forsee that we're going to have to be enablers for organisations training them in embracing the platform and guiding them to a solid microservices based architecture. The Javascript actions, the data hub, the implementations of react and react native. Code auto completion for Javascript actions inside the modeler. SASS editor inside Mendix modeler The Yeoman boilerplate for new widgets supporting both Javascript and Typescript. (making widget's was never this easy so thank you Mendix) The new motto for Mendix “Go make it”, and them providing better and better tooling to actually just make about anything! Seeing how Partner's and Customer's tackled their technical challenges, I attended the presentation by Andrej Koelewijn talking about microservices and & Rom v Arendonk talking about how Enexis uses their different App layers to stay agile and quick to market for different target audiences. Some quick win tips on how to structure an app by Killian Croes & Eric Tieniber. Sorting modules by category: Process, Foundational, Transformational, Integration, App Store & Appstore customization. Prefixing them or postfixing them and then sorting them in the following order: Process (what the user gets to use) Transformational (manipulating data) Integrational (webservices and other integrations) Foundational and Appstore customizations anywhere on this hierarchy. And the reason for this was that when going top to bottom a process module can depend on transformational and integrational and foundational modules, but a transformational can't depend on the process modules. Change the labels on actions in your microflow so that they tell the story of what is happening inside that microflow. The hands on workshop making Javascript actions for nanoflows, which blew my mind on what will be possible regarding usability and user interactions client side using javascript promises. Bear Grylls was a nice closure. The negatives for me: The presentation iglo’s were a bad choice for the spaces. They were very small for the amount of people trying to attend, leaving a lot of people outside. Some sessions were already completely full 25 minutes before starting, which not only was confusing for people arriving late, but also caused sessions to start earlier than anticipated because it was full anyways. The lack of recordings for the smaller sessions. I had hoped to be able to watch sessions I couldn’t attend myself through a stream later on the Mendix website. (One of the reasons why I'm making this post, is to get more out of the experiences of others). The partner stands weren't very inviting, they had to present on very small displays yet having big banner walls. The mobile application was pretty bad and difficult to use. I felt that I had missed out on a lot by not having access to beta features which other organizations do get by having MVP's. What did I get out of it: I got inspired after seeing what other's have been making with Mendix. A better grounding for myself as a developer, what I'm strong at and what I should be working on to improve and with what attitude. A lot of information and a new clearer vision of how to make my new Mendix apps and what to take into account. So much excitement about the future of customization using the new Javascript features. A lot of appreciation and respect on how Mendix has been secretly working on these functionalities and bringing it all together in mendix studio and mendix studio pro. Whereas I've been a pretty strong advocate in the past for hating on the webmodeler I can now say that I've misunderstood the direction it was headed in and for what reasons. For that I wish to personally apologize. What am I most excited about: The new way of implementing widgets is so ridiculously easy, that I'm curious on what the future AppStore contents will look like! I would love to hear more about your experiences.
↧
Image present visibility
HI all, I am trying to set up some visibility on the document generator. I have an entity which is called PlannedActivity and it's associated with an entity called ActivityImage which is generalised as System.Image. When I create the PlannedActivity object it automatically creates the association to ActivityImage, otherwise, it would not allow the user to upload one. (There may be a way around this but we want everything on one page) So using this will always return true:
if
$PlannedActivity/DailySupportRecord.PlannedActivity_ActivityImage = empty
then false
else true Does anyone know how I can set visibility so it only shows when there is actually an image to show? If there is no image the document generator puts your default image on (at whatever size you specified in my case 500px!) which I do not want. Thanks in advance
↧
Can I transfer a Mendix App to a differend account
Is it possible to transfer my mendix application to somebody elses Acc?
↧