Hello, There is scenario like there multiple entities and under each entity there are some cases. Requirement is list of entity should display and on selection of entity, all the cases inside it should display. For displaying entity, I am using data grid, able to select the entity (one/multiple) but not sure how to display cases under selected entity. Please help me out. Its urgent Thanks...
↧
Need to show list of cases under particular entity
↧
Connecting to SQL Server issue
Hi Experts, My requirement was I need to get list of data from SQL server. I successfully installed SSMS and I can able to fetch data on SSMS manually. But now I tried to fetch data from SQL DB from mendix ( using Execute Query activity in microflow). Its working fine in local but once the application deployed in cloud then its not working there. I can’t fetch the data from SQL DB. NOTE : Used same logic. its working in local but not working in cloud. Help me out how can I achieve this on cloud. Thanks in Advance.
↧
↧
Leave Management System
HI, I want to implement Leave management system in Mendix. >>Where employee will fill a form for leave. the request needs to be sent to his employer. Employer will approve or reject the leave with comments. >>employee can access his Leave balance and one leave needs to added to his leave balance everything automatically. it will be very helpful for me if anyone assist me in doing my project.
↧
Reactive state in dataView without the possibility to listen to listViewWidget.
Hi, I use the Draganddropwidget – by Mendix – from Marketplace to sort Items. When the user clicks on some {PosTxt} in Draganddropwidget – the container gives me a »on click« where i can use a nanoflow (PWA!) – i need to display the clicked/selected entity in DataView on the same page! I maybe may have to use a helper entity if possible but wonder if there is kind of event bus or reactivity, observable baked into mendix? Are there any solutions, this use isn’t really an edge case imo. Draganddropwidget cannot be listened to by other widgets.
↧
Can you SELECT * without ID?
I need to do a OQL query which returns an object. I cannot use “Retrieve Object” in the microflow, because unfortunately Xpath doesn’t allow to use string variables as a constaint. But when using “SELECT * … “ I get a error message, because the ID of the object is returned as well. Is there a way to select all columns except the first one? The entity has over 60 attributes, so it would be nice not to have to write them down one by one. Edit: This is a simplified version of my Domain Model. Employee and Employee have a lot more attributes in reality. The list at the beginning shows a list of employees, with their employment status for the next six months. If a user then clicks on an employee I would like to get the GID of Employee Overview and retrieve the Employee object with the same GID to pass it to the next page. I tried to achieve this with the microflow below. At first I am getting the GID of Employee_Overview then I am doing a OQL query to get the correct employee and pass it to the next page. Regards Nick
↧
↧
Count Daily Login in APP
Hi everyone, I would like to count the number of login that happen during a day and then put the information day by day in a column charts that can take track of the activity on the application… Hope that someone can help me.
↧
Create Checkbox in Document Template/ PDF Export
Hello all, My goal is to create a PDF-Export in Mendix which contains checkboxes like these: To create a PDF-Document in Mendix I use the native way from Create FileDocument → Generate PDF document using a customized template: https://docs.mendix.com/refguide/creating-your-own-documents Unfortunately, the official Document Template has no feature to include checkboxes. Are there any ways, marketplace apps, or other workarounds to include checkboxes into an in Mendix generated PDF? I am also open to other ways which lead me to a solution. Thank you!
↧
OIDC-Mobile Logout
Hi All, We are using the OIDC module from Mendix to integrate with Idp built using .Net for SSO. We are trying to logout from mobile as follows: 1- Get the logout link from IDP 2- Logout from Mendix 3- Open InAppBrowser to open the logout URL. and then close the InAppBroswser. 4- Reload the mobile application. This flow works fine on Makeitnative. but once I generated an Android and iOS application and test it on real devices it didn’t work. The logout functionality works fine, but the InAppBrowser didn't close and kept open until the user click on the (x) button. You can find the flow that we are using and the code for the JS action Any help is highly appreciated // BEGIN EXTRA CODE
import InAppBrowser from 'react-native-inappbrowser-reborn';
// END EXTRA CODE
/**
* @param {string} url
* @returns {Promise.}
*/
export async function Logout_IDP_InAppBrowser(url) {
// BEGIN USER CODE
//Mx 8+9 compatibility: use react-native-inappbrowser@3.3.4 for mx8 and 3.6.3 for mx9
// Documentation https://github.com/proyecto26/react-native-inappbrowser
if (!url) {
return Promise.reject(new Error("Input parameter 'Url' is required"));
}
const options = {
// iOS Properties
//ephemeralWebSession: false,
// Android Properties
showTitle: false,
enableUrlBarHiding: true,
enableDefaultShare: false
};
if ( InAppBrowser.isAvailable()) {
await InAppBrowser.open(url, options);
InAppBrowser.close();
return Promise.resolve(true);
}
else {
Linking.openURL(url);
return Promise.resolve(true);
}
// END USER CODE
}
↧
Data grid 2: Overwriting Default value of Data Grid Text Filter with empty value does not work
Hi, For a project, we want to build a custom search with the data grid 2. We have found a very elegant work around the search and that is by populating the ‘Default value’ in the Data Grid Text Filter with the search query and refreshing the object on change. This works quite well, except for the following situation. After a search query has been entered and we want to reset the search, the Data Grid Text Filter does not take the value empty or ‘’. For instance, if we searched ‘man’ and deleted the search query in the custom search bar, the Data Grid Text Filter stays on ‘m’. Can anyone explain me: Why the Data Grid Text Filter does not allow empty values to be set on the ‘Default value’ How we can fix this? If we get this working, this would mean a major improvement for all custom search in Mendix. Thanks in advance!
↧
↧
Error while running application in the cloud: System.NullReferenceException: Object reference not set to an instance of an object.
I tried to run the application in the cloud, and I got this error: System.NullReferenceException: Object reference not set to an instance of an object.
at Mendix.Modeler.WebUI.BrowserOpener.OpenBrowser(NavigationDocument navigation, String baseUrl, Boolean useOpenIDLoginPage, ProfileKind kind) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\BrowserOpener.cs:line 27
at Mendix.Modeler.WebUI.ViewAppControlsPlugin.OpenBrowser(ProfileKind kind) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.WebUI\ViewAppControlsPlugin.cs:line 341
at System.Windows.Forms.ToolStripSplitButton.OnButtonClick(EventArgs e)
at System.Windows.Forms.ToolStripSplitButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.MenuStrip.WndProc(Message& m)
at Mendix.Modeler.Utility.MenuStripEx.WndProc(Message& m) in C:\Users\Autobuild\workspace\AppStudio4.0-Build\modeler\Mendix.Modeler.Utility.Gui\ToolBar\ToolStripEx.cs:line 87
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Does anyone know what the problem is? Maybe the Mendix version?
↧
path not found
I can’t go to my training app (see attachment)
↧
Styling does not implement
I run my styling through Visual studio Code but it does not work. Has anyhting change since the new Mendix versions? It used to work.
↧
delete a value of Enumeration in microflow
In the entity of Domain Model,I set a column of entity for Enumeration type and use the created Enumeration type. Sometimes,if i only want to display only any 2 of these values in the drop down list. for example, FiveGSBOperator and CAOperator or CAOperator and NECPFDemand. how can I do that? Can the value of the drop-down list of enumeration type be deleted in microflow? Than
↧
↧
How do I open Mendix
Hello everyne, how do I open Mendix?
↧
side navigation item tab - float bottom
i have a side nav bar that i’d like one item (the log out button) to float to the bottom. i dont see a class for it on the nav edit menu item
↧
Ordering of object list on Retrieve Objects by Association
Can someone point me to documentation on the ordering of returned objects for the Retrieve by Association? The two results from calling my microflow with the retrieve show different ordering. The first time they are returned in the order they were created, the second time, they are returned by ascending ID. First Call object list order ID: 281474976947457 ObjectId: 144220 ID: 281474976947358 ObjectId: 144221 Second Call object list order ID: 281474976947259 ObjectId: 144226 ID: 281474976947358 ObjectId: 144221 ID: 281474976947457 ObjectId: 144220
↧
Something went wrong. Kindly reload the page. If the problem persists, try after sometime. Alert in mendix
Application is running in mendix cloud. At particular time, it is showing below CRITICAL LOG alert. ”Something went wrong. Kindly reload the page. If the problem persists, try after sometime.” Anyone help to troubleshoot this issue. Type Critical Logs Last state change 5/24/2022, 8:54 AM Details CRITICAL: Critical errors count is 2.
↧
↧
Use of special characters in document generation lead to printing #
I have a simple app in which I would like to print a PDF using the default document generation function of Mendix. At the moment that I am having texts with special characters I end up with an '#’ in the PDF. Example: ‘ć’ becomes an '#’, ‘ć’ becomes an '#’ but characters like ‘ä’ and ‘Ç’ are going fine. Who knows how I can resolve this?
↧
Pick object from list of objects
Hello! I’m very new to mendix and need the user to select an object from a list of objects that has a variable size. As you can see from the domain model, I have a person entity with multiple programs. I need the user to pick a program. I have a microflow that retrieves the list of programs, but mendix won’t allow me to have the user pick from that list. The drop down widget will not allow me to use a list of programs as its data source. Does anyone know how to have the user pick an object from a list of objects on a page?
↧
Add search filter using dropdown
Hi, I am new to Mendix and I need help on how to add dropdown as my filtering criteria. I want my dropdown to be in between input text name and the filter button. And the data inside the dropdown must be the list of Stadium. Below is the picture. thank you.
↧