Hello I am building an app where collueages can work together in projects. The first thing you do in the app is to choose the project you want to work with. After that you have many pages with different functions, but all pages should be presented in the context of the project you have chosen. Information should not be shared between projects. My question is: Is there a built in function in Mendix that allowes the app to present all pages in a given context. (To remember the chosen Project-object ) Thanks
↧
Show pages in given context
↧
Desktop installation system requirements question
Please excuse the newbie question. I’ve been going through the training using the Web Modeler. Now, I’m at the point where the tutorials want me to switch over to the Desktop Modeler. The problem is that I’m on a Mac. I love the Medix platform so far and now I’m considering purchasing a PC laptop, just to keep going with your platform and leverage the power of the Desktop Modeler. I have several questions about the system requirements, specifically section 5, the Server requirements. Requirement 5.1 – Operating System: Microsoft Windows Server 2008 SP2 and above Debian 8 (Jessie) and above Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 CentOS 6, CentOS 7 Question: Do I have to have MS Server AND all the other bullets listed? Or, can I use Linux 7, and NOT use MS Server? Requirement 5.2 – Web Server: Microsoft Internet Information Services 7 and above Nginx (tested with versions included in Debian Jessie and Debian Jessie Backports) Apache Question: Do I need all of the bullet items listed above? Or Just MS IIS? Requirement 5.3 – Database Server IBM DB2 11.1 MariaDB 5.5, 10.0, 10.1 Microsoft SQL Server 2008, 2008 R2, 2012, 2014, 2016, 2017 Azure SQL v12 (support is not independently verified and is available only through compatible versions of SQL Server) MySQL 5.5, 5.6, 5.7 Oracle Database 11g Release 2, 12c Release 1 PostgreSQL 9.2, 9.3, 9.4, 9.5, 9.6, 10 SAP HANA 2.00.040.00.1545918182 Question: I’m assuming I only need one of the above? I was hoping to use MySQL. To ask my question another way, can I run the Desktop Modeler on a PC that is configured like this: Laptop: Windows 10 Server OS: Red Had Enterprise Linux 7 Web Server: MS IIS (I believe this ships with Windows 10?) DB Server: MySQL The reason I ask is because of cost. If I purchase a PC, literally the ONLY thing I’ll use it for is Mendix Desktop Modeler. I run a small business with 15 employees, and I’m trying to build an app for our business. The entire company runs on Mac, and this PC will be a “one trick pony.” I don’t want to have to purchase Windows Server or MS SQL Server just to use the Desktop Modeler. Sorry if I’ve confused some of the tech stack required for the Desktop. I’m very much a “citizen developer” (with some basic coding skills). I’ve set up a LAMP server on a Mac before. This seems similar? Thanks in advance for any advice you can give about PC / software purchase to take me to the next step in my Mendix journey.
↧
↧
Desktop modeler not installed message (it is though)
When starting the desktop modeller from the developer portal I got the message “You don't seem to have the Desktop Modeler installed. Download it now.” When I wait, de desktop modeler starts just fine because it is installed and I am working with it quit nicely. Am I missing something?
↧
Request Statistics excedds the threshold of 100 Objects
I am recieving a warning message a sfollows, should i need to worry about it or just ignore it? If crtical then how i can chnage this threshold?
↧
Editable list view very very very very very slow! looks like its is trying to open all fields in DB
Hi all Editable list view very very very very very slow! looks like its is trying to open all fields in DB. I have added Pagination, but it still takes for ever to load. I am trying to move away from custom widgets as they are not supported when upgrading. Has anybody had the same problem and maybe has a solution. I am trying to upgrade to 7.23 and want to keep my application look and feel consistent. i.e. i dont want to use work arounds that change the user experience each time i upgrade.
↧
↧
404 - file not found for file: com.mendix.charts.json
I use the Chart widgets from Mendix but I keep getting this error in the log. 404 - file not found for file: com.mendix.charts.json So whats going wrong? How can I debug this?
↧
Reference selector dropdown is not editable.
I have created an entity Country_Claims , I have associated it with ClaimReportLoss. I added reference selector on page , selected drop down and associated with over to Country Claims. I have added two countries, but when I am running locally the reference selector is not editable.
↧
Sliding or moving text
I want to show a update message moving from right to left, for update messges i am using list view. Is there any specific class i need to mention or need to make my own class? can anbody provide me details for writing my own div class?
↧
How to call a microflow from cancel button of a popup screen?
Hi all, I am creating some objects and committing them before opening a popup. I am opening this popup to change the data. When I click on cancel button then I want to delete the object which I have created before opening this popup. Committing the object is required for me. How can I do this? Anyone can help me with this. Thanks in advance. - Venkat
↧
↧
Appranto Validator Query?
I have a requirement to add Vehicles . if I Proceed with Incomplete Vehicle , am using Appranto Validator to validate the required Fields. I have set a validations for a required fields in a microflow . But I can see the red border for the fields which are optional. Please find the Screenshot for reference . In the above screenshot minor colour, trim and VN are optional , but upon validation I can see the red border . One more thing is How can I remove the validations under fields as I need to show all as botton validations list in the above Screenshot
↧
Error message when trying to open my app in the desktop modeler
I have the latest version of the desktop modeler, however, whenever I attempt to open the app on the desktop, I receive the following error message: SharpSvn.SvnSystemException: Error retrieving REPORT (730054): An existing connection was forcibly closed by the remote host. at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets) at SharpSvn.SvnClient.CheckOut(SvnUriTarget url, String path, SvnCheckOutArgs args, SvnUpdateResult& result) at SharpSvn.SvnClient.CheckOut(SvnUriTarget url, String path) at Mendix.Modeler.VersionControl.SvnConnector.Checkout(Uri urlToCheckout, String targetProjectDirectory) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\VersionControl\SvnConnector.cs:line 134
↧
Showing single messag eonly for emoty values
I have a micrflow as follows step-1 where create string variable “Checkinfo is as follows” if $Values/A = empty or $Values/A = '' then 'Missing A' else if $Values/B = empty or $Values/B = '' then 'Missing B' else if $Values/C = empty or $Values/C = '' then 'Missing C' else if $Values/D= empty or $Values/D='' then 'Missing D' else empty step-2 exclusive splitcheck $CheckInfo = empty -in step-3 i tried to show one message as follows if any of the value is empty it should be shown to user but with a single message not one by one message , but it is showing all values regardless of empty or not empty, I only want to show the empty values in a single message that “ following values are empty ….. , how i can do it in aloop or using any temporary entity?
↧
How can I open a page in a new tab or new window?
In the datagrid, when I click edit button(or double click) to open the detail page, it will directly open in the current tab. My question is: How can I open a page in a new tab?
↧
↧
How to declare a global variable in mendix?
I want to declare a variable whose value can be displayed anywhere in app (on any page) and can be modified from any micro flow. how can we do that??
↧
Disabling click link for url link button when no link set
In a list view i am using action button as render mode link, where I have attached a update news for display and a link attribute containing link to web page (which i set on new edit page) . For having a weblick it is working fine but if after setting the link attribute value blank and clicking the dispaly news, it still opens a blank page in a new tab. If I use # as link value it doesn’t open new tab but it opens the main home page. Is there any specific vlaue or string i can set to back link attribute of display news so that on click if there is some webpage it can open and if there is no link teh click action not open any new tab or home page?.
↧
Change style of Group box caption
How to chnage the style of group box caption, like bold, fontsize, position etc. I tried to add font-weight:bold in style but it changes font of all the datagrid inside the groupbox
↧
How to refresh/synchronize dataGrid after executeMicroflowInBackground?
Hello, In this scenario when the user creates a new object in a dataGrid on the overview page, it takes the user to the Edit page. When they are ready to create, they will hit the Save button, which will call a microflow. This microflow does two things: a show page action to show the overview page and calls the executeMicroflowInBackground java action in the CommunityCommons module to run another microflow. In the background, this microflow will create the new object in the Mendix database and also upload its data to an external database, which usually takes around 15 seconds. I have set the dataGrid to refresh after 15 seconds, after which the user will see the new row appear in the dataGrid without having the page refresh (remember, the user was navigated to the overview page when they click the save button). Here’s the issue: Without refreshing the page from the scenario above, if the user goes to edit that same object that they just created and click the Save button after they are done editing, the microflow will call once again. But, when I go to commit the changes to the database, it thinks that the object doesn’t exist and then throws a unique constraint or index violation error. Full error below. How do I prevent this from happening? I have ideas to possibly force a page refresh once they first create the new object, but when I try running a Javascript Snippet to refresh the page (window.location.reload()), it just brings me back to my home page of the app. I was also thinking maybe to synchronize the database somehow during the microflow after I commit the object, but I don’t know how to do that. Any help is appreciated. Thanks.
Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.systemwideinterfaces.connectionbus.data.UniqueConstraintViolationRuntimeException: Duplicate column value violates its unique constraint: integrity constraint violation: unique constraint or index violation; SYS_PK_10316 table: "transaction$transactionidentification" (SQL State: 23505, Error Code: -104) Detail Message: org.hsqldb.HsqlException: integrity constraint violation: unique constraint or index violation; SYS_PK_10316 table: "transaction$transactionidentification"
at com.mendix.basis.actionmanagement.ActionManagerBase.executeSync(ActionManagerBase.java:159)
↧
↧
nested listviews performance
In our application I want to show a list of persons and for every person a list of all days of the month and for every day the list of prestations. It’s some kind of a horizontal timeline calendar view. something like this
Ma di wo do
01 02 03 04 ...... 29 30 31
person 1 8h 4h 8h 8h ......
person 2 8h 8h 8h 4h ...... I managed to build this with a listview in a listview in a listview but this generates a lot of /xas requests, because it retrieves first all employees, for every employee it gets the days of the month over association, and for every day it gets the prestations (worked hours) over association. How can I optimize this?
↧
Updating datagrid objects after adding new logics and calculations
I have about 200 lines of objects in a datagrid, now I have added two new columns in this data grid whose values are calculated from other columns. Now the issue is I can only have values for new columns after adding new objects while I need to updated the values for all the previously added 200 objects. By going and click edit and save each object is much time consuming. I want some microflow logic to update all objects with one click action. Any idea?
↧
ListView with 5 columns per row
I have a list view containing product cards. If I am on medium device or larger, the list view needs to display 5 columns/cards per row. Otherwise it should show a single product per row on a smaller device. The issue is I cannot figure out how to do this with the bootstrap grid as it is an odd number. These are the classes of the ListView I am working with: listview-stylingless lv-col-md-2 If I set the column weight for a medium device to 2 as above, I get 6 products per row. If I set it to 3 I get 4 products per row. What other options do I have to control this? I have tested using a template grid as well, but I don’t see how to make this responsive. I would prefer to use a list view.
↧