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

Scroll view not scrolling back down when device's native dropdown closes in iOS

$
0
0
Hi Everyone, We see an issue with the device's native dropdown where the application scrolls up on opening the dropdown but doesn't scroll back down on closing. So the contents of top view are getting hidden behind the status bar.  We had similar issue with the Keyboard which was resolved by the solution provided here https://forum.mendixcloud.com/link/questions/91916 Can anybody help us with a solution for this issue?  Thank you!

"Invalid project ID" error when trying to open free project environment

$
0
0
Hello, Yesterday I was trying to make 2 new free projects, both of which I wanted to deploy to the free sandbox. But for both of these project I encountered an error when trying to access the environments page on the Sprintr because I wasn't able to run them in the cloud from my modeller. I assumed it was just a weird glitch because I made those projects right after each other. But now I tried making another one project straight from the Sprintr, and navigated to the environments page and got the same error. On the first error window I got the following message: "General error while evaluating deeplink: com.mendix.modules.microflowengine.MicroflowException: requirement failed: Change object 'screenContext' should not be null at Navigation.OpenApplicationDeploy_MuxNav_WithContext (Change : 'Change 'screenContext' (Screen)') at Navigation.DL_Deploy (SubMicroflow : 'OpenApplicationDeploy_MuxNav_WithContext') at {"name":"DeepLink.ExecuteDeeplink","type":"JavaAction"} at DeepLink.DeepLinkHome (JavaAction : 'ExecuteDeeplink') at LoftManagement.OpenCloud (SubMicroflow : 'DeepLinkHome') Advanced stacktrace:" I ends with the stacktrace but then doesn't show anything there, it just ends.  And when I exit that pop-up window, I get another showing only: "Invalid project id 50e964a8-2198-4b69-9026-5d57cf6b9349" Haven't got a clue what to do with these errors. Can barely imagine I've done anything wrong either because I just now created the project. Could anyone shed some light on this please? Thanks in advance!

PARENT-CHILD DROPDOWNS

$
0
0
Hello All, I want to show dropdowns like Parent-Child relationship. Association is done with Entity level as One to Many . for new record creation page Reference Selector automatically loaded in the page but when changing the parent value it's not filtering the child drop down. Please advise how to achieve this one? COUNTRY -> STATE -> CITY Thanks  

Entity association with more than one columns

$
0
0
Hello, Here is my scenario, Please advice to achieve this, there are 2 tables like PROCESS & USERS(Association has done with one to many ) Process table contains two columns like APPROVER AND LEADER both can be difference person Create a new process record Reference selector included in the page for user selection but if I change APPROVER then the same username applied to LEADER as well. How to solve this one?

DataGrid with Subgrid in Mendix

$
0
0
Hello All, I am new to Mendix,  could you please anyone tell me is it possible to have a grid with subgrid like grid showing all the countries when expanding particular country then it will show respectively States list under the grid .. with collapse and expand option   THanks,  

Show only Year in Date Picker

$
0
0
Hello, How to display the only year in the date picker, yes there is custom format but when I set "yyyy" then control become non-editable. but I want to option to choose the year(year only) in the picker and display the selected year Thanks,

How to display current logged in user in the page?

$
0
0
Hello, How to display current logged in user in the page?   Thanks

Load grid with different entity input

$
0
0
Hello, I want to fill the Datagrid with multiple entities with join. how to do this in mendix?   Thanks   

Run Locally

$
0
0
Hi, I am new to Mendix. I am developing a demo application with help of desktop modeler. I am unable to run the application Locally. What should be done to get it work. I am using Mendix Modeler v7.21.0 Thank you. Regards, Swati

CPU Credit Balance Status

$
0
0
I am getting this alert in the cloud portal:   Is anybody having more information about this credit system? I am running a large data import and because of the missing credits, it is now extremely slow.

Migrate data from local postgre database

$
0
0
Hi, I'm a new Mendix developer and I have a question about data migration. I'm trying to duplicate a project that I started with PHP and AngularJS into Mendix. Now that I have my CRUDs all working and all my logic as well, I'd like to migrate all the data from my local database, is there anything in the app store that could facilitate that process for me? A tutorial would help too. Thanks.

Unable to run app locally in Desktop modeler 7.18.1

$
0
0
I am unable to run my application locally. I checked the log files for build, it is successful. But 'm2ee_log' in the same directory is created empty and the error message says 'An unknown error occurred while starting the server'. Below are the details of the error. Can anyone please help to resolve this?   Error : System.IO.IOException: The process cannot access the file '\\solon.prd\files\P\Global\Users\C28731\UserData\Documents\Mendix\LearnNow Management-main\deployment\log\m2ee_log.txt' because it is being used by another process.    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)    at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)    at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)    at Mendix.Modeler.M2EEConnector.RuntimeLauncher.EnsureStarted(String logFileLocation, Int32 serverPort, M2EEClient client) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.M2EEConnector\RuntimeLauncher.cs:line 188    at Mendix.Modeler.M2EEConnector.RuntimeLauncher.LaunchRuntime(LaunchConfig launchConfig) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.M2EEConnector\RuntimeLauncher.cs:line 56    at Mendix.Modeler.Deployment.Local.LocalRunner.DoLaunchRuntime(IConfiguration config, String javaExePath) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Deployment\Local\LocalRunner.cs:line 192    at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.<Do>b__0(Object s, DoWorkEventArgs e) in C:\jenkins-ci\workspace\AppStudio3.0-Build@2\modeler\Mendix.Modeler.Utility\BackgroundUtil.cs:line 28    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)    

Mid-application password check

$
0
0
Hi all,   In an application that I'm creating for a customer now, it is a requirement that for certain actions, users have to fill in their password again (like a double check). Is it possible to create a mid-app login screen, after which I can execute a custom microflow?   Thanks in advance!

Error when creating deployment package - The JSON snippet is not valid.

$
0
0
Hi all, When I'm creating a deployment package, I'm getting a build error:    __ __ ____ _ _ _ | \/ | | _ \ (_) | | | | \ / |_ _| |_) |_ _ _| | __| | | |\/| \ \/ / _ <| | | | | |/ _` | | | | |> <| |_) | |_| | | | (_| | |_| |_/_/\_\____/ \__,_|_|_|\__,_| v7.18.1.40272 Starting build for Mendix Project file: /srv/cloud/slots/tr10000/deploy/data/tmp/1543933905171-0/src/***.mpr Using the following options: * Build target: Package * Deployment package file: /srv/cloud/slots/tr10000/deploy/data/tmp/buildjob2612975668371574034.mda * Model version: 1.0.0.1512 * Project name: *** Reading project file... Building project... Executing step 'Synchronize with file system' * Synchronizing with file system... Executing step 'Initialize' * Preparing deployment... Executing step 'Check prerequisites' * Checking for errors... ERROR: The project cannot be deployed, because it contains errors. ERROR at Production_API, JSON structure 'JSON_FakeJson', -: The JSON snippet is not valid. BUILD FAILED Invalid type Mendix.Modeler.UIFramework.WebView.HtmlControl for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec:htmlControl Invalid type Mendix.Modeler.UIFramework.WebView.WebViewSpec for instance field Mendix.Modeler.UIFramework.WebView.WebViewSpec+<>c__DisplayClass26_0:<>4__this We already checked the JSON, and it is valid. We also tried to create a new JSON with the same snippet but still the same message.  Based on this forum post https://forum.mendixcloud.com/link/questions/91587 it seems like this could be caused by conflicting / old .JAR files. However, we don't know which one is causing the build error. Anyone any suggesting on where to start tackle this problem? Thanks in advance.

Adding search to datagrid which has its datasource as microflow.

$
0
0
As it is evident, there is no such functionality. Is any work-around available to achieve this because persisting such a huge amount of data and setting the datasource to Database is not an option.

Error "__WEBPACK_AMD_DEFINE_RESULT__ " when using timeseries chart in old modules ?

$
0
0
We switch to the chart module (1.4.0) and made several pages with timeserie graphs/widgets in new modules. They all work nicely. We have several “old” modules, that we migrated in the past from Mendix 6 to now Mendix 7.20.1. I now want to migrate pages with old charts (google chart based) in existing modules. I noticed that when I place a new timeserie widget on a page in the old module, I get the following error on EVERY page where a timeserie widget is used (even on pages that worked well before we started to migrate) The console shows the following log message: props.seriesConfig is undefined __WEBPACK_AMD_DEFINE_RESULT__</TimeSeriesContainer</TimeSeriesContainer.validateProps@http://localhost:8080/widgets/com/mendix/widget/custom/TimeSeries/TimeSeries.js?636796425456296962:31688:17 TimeSeriesContainer@http://localhost:8080/widgets/com/mendix/widget/custom/TimeSeries/TimeSeries.js?636796425456296962:31645:31 Yi@http://localhost:8080/mxclientsystem/mxui/mxui.js?636796425456296962:67:54981 Zi@http://localhost:8080/mxclientsystem/mxui/mxui.js?636796425456296962:67:60314 Ao@http://localhost:8080/mxclientsystem/mxui/mxui.js?636796425456296962:67:74350 No@http://localhost:8080/mxclientsystem/mxui/mxui.js?636796425456296962:67:74696 la@http://localhost:8080/mxclientsystem/mxui/mxui.js?636796425456296962:67:79364 ua@http://localhost:8080/mxclientsystem/mxui/mxui.js?636796425456296962:67:79018 Mo@http://localhost:8080/mxclientsystem/mxui/mxui.js?636796425456296962:67:77530 Similar, when I move arbitrary one of the  working pages with timeserie widget from a new module to the old module (and reselect user roles with right acces), I got the same errors on every page where a timeseries widget is used. (Even on pages that are not changed at all).  When I move all pages with timeserie widgets to new modules, all works fine. I double checked the version of the Chart, we use the latest version. I also double checked acces rights. Any one knows what happens here and how I can correct this, so that I can add pages with timeserie graph in our old, existing modules (keeping every thing local grouped together) ?

JSON Additional Properties

$
0
0
I came across a MailChimp API that has some strange behavior http://developer.mailchimp.com/documentation/mailchimp/reference/lists/members/#read-getlistslistidmemberssubscriberhash Begin member of an interest group is represented in this way: This additional properties could not be mapped to a Mendix Model. Or Can they? { "id": "42d6d875f88b104b497", "interests": { "a5b391b882": false, "1cc60e1ad5": true, "99c94f04a3": false } } The Interest IDs are use as attributes. Interest can be created over time, so I can not make the an attribute in my model. A hack will be parsing the result "manually". But that is far from ideal. This behavior is described in Json Schema as "Additional Properties" https://spacetelescope.github.io/understanding-json-schema/reference/object.html#properties Any Suggestion? Thanks, Andries

No base-url

$
0
0
Hi, My application runs in a Microsoft on-premise environment on two servers behind a load balancer. In order to retreive the base url, the application calls the java action Misc.getApplicationURL(). The problem is that it returns : null.  Does anybody know how and where I can specify the base URL? (Maybe somwhere in IIS?)

Tabbing through page

$
0
0
I want to be able to let a user tab through a page in a specific way. In previews versions (Mendix 4) this was possible to setup. Simply by entering a number in the 'Tab index' from -1 till (lets say) 1000. This has been changed and now the function doesn't work the same way. "The tab index influences the order in which the end user navigates through the form using the tab key. By default tab indices are zero and the tab order is determined automatically by the client system. A value of minus one (-1) means that the widget will be skipped when tabbing through the form." In short, the field get's tabbed or not.  I've made the following picture to illustrate what I'm going for: The standard way would be the black line. However, when a user adjusts the standard values (grey text boxes) and goes to one of them it should follow the red line to the next red one. That would give the tab index 1/3/7/8/2/4/5/6. With Mendix 4 you simply number them the way you want to. In Mendix 7 you can only tell if it's on or off, so now all the tab indexes are 0/-1/0/-1/-1/-1/0/0. But for those that do want to change the standard values, they have to select every box one by one because you can't tab to the next one. How do I make this happen?      

User Access Report

$
0
0
Hi, Is it possible to create a report that will list users and their roles?  Also when the roles were assigned to the users. Thanks Gio Favis
Viewing all 83469 articles
Browse latest View live