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

Data grid 2, Excel export not working

$
0
0
Hi All, I have one data grid 2 with around 30 columns out of which only 5 are always visible, And I am trying to use export to excel feature in nanoflow when number of columns are few it works perfectly fine, but when I show all the columns and then the export process never completes. How this can be mitigated or i should go for export excel module please suggest. Thank you!

Error while initiating workflow in mendix using TC module

$
0
0
Getting below error while initiating workflow from endix uding TC module- "Business rules for handler 'TCRS-check-itemrev-status' on action 'Start' in task"

Internal server error while starting app locally

$
0
0
I got internal server error while running mendix app locally. I tried cleaning deployment directory, cleared cache of browser, hard refreshed system, changed default port no for localhost, redownloaded the code from version control even tried reinstalled new studio pro but it isn't helping. please suggest a way to work this below are error details. Mendix.Modeler.M2EEConnector.M2EEException: The server encountered an error. at Mendix.Modeler.M2EEConnector.M2EEResponse.CheckSuccess() in Mendix.Modeler.M2EEConnector\M2EEResponse.cs:line 57 at Mendix.Modeler.M2EEConnector.M2EEClient.UpdateAppContainerConfiguration(Int32 port, String listenAddresses) in Mendix.Modeler.M2EEConnector\M2EEClient.cs:line 158 at Mendix.Modeler.M2EEConnector.StartupManager.<>c__DisplayClass5_0.b__0() in Mendix.Modeler.M2EEConnector\StartupManager.cs:line 39 at Mendix.Modeler.Analytics.RuntimeProfilingAnalyticsScope.<>c__DisplayClass8_0.b__0() in Mendix.Modeler.Analytics\RuntimeProfilingAnalyticsScope.cs:line 59 at Mendix.Modeler.Analytics.RuntimeProfilingAnalyticsScope.Execute[T](IAnalyticsEventManager eventManager, String eventType, String deploymentId, Func`1 op) in Mendix.Modeler.Analytics\RuntimeProfilingAnalyticsScope.cs:line 42 at Mendix.Modeler.Analytics.RuntimeProfilingAnalyticsScope.Execute(IAnalyticsEventManager eventManager, String eventType, String deploymentId, Action op) in Mendix.Modeler.Analytics\RuntimeProfilingAnalyticsScope.cs:line 57 at Mendix.Modeler.M2EEConnector.StartupManager.PerformStartup(StartupInfo info, String deploymentId, IM2EEClient client) in Mendix.Modeler.M2EEConnector\StartupManager.cs:line 38 at Mendix.Modeler.M2EEConnector.RuntimeController.Start(StartupInfo info, String deploymentId, LogLevel autoSubscribeLogLevel) in Mendix.Modeler.M2EEConnector\RuntimeController.cs:line 136 at Mendix.Modeler.Deployment.Local.LocalRunner.<>c__DisplayClass96_0.b__1() in Mendix.Modeler.Deployment\Local\LocalRunner.cs:line 423 at Mendix.Modeler.Utility.BackgroundUtil.<>c__DisplayClass1_0`1.b__0(Object s, DoWorkEventArgs e) in Mendix.Modeler.Utility\BackgroundUtil.cs:line 29 at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

How to get sticky headers for DataGrid 2

$
0
0
Hi all, I'm struggling with implementing sticky headers for DataGrid2 in Mendix 10.12.0. We have our paging behavior set to virtual scrolling. In the default styling the code is as follows - the styling is not overwritten from what I can find: .sticky-sentinel { &.container-stuck { & + .widget-datagrid-grid, & + .table { .th { position: -webkit-sticky; /* Safari */ position: sticky; z-index: 50; } } } } And the HTML is the browser is as follows: Lastly, the grid resides inside a tab view, which in turn resides in a DataView. I have seen these posts however, their solutions don't seem to work. Mendix Community - Question Details Mendix Community - Question Details Any advice? TIA!

How to implement "CMImplements" relation in mendix using TC module

$
0
0
How to implement "CMImplements" relation in mendix using TC module

Correct Date format

$
0
0
I’m working with an Excel file import that contains a date column, and I want to ensure that users only enter dates in the “dd-MM-yyyy” format. So, first i will import the excel file. If a user enters a date in another format (e.g., “MM-dd-yyyy” or dd/MM/yyyy), I want to trigger a validation error. How to achive this in a decision? Thanks everyone...

How to open another page after 2 minutes?

$
0
0
When a user opens a certain page, another page should open automatically after two minutes. What is the best way to implement this?

StartImportByTemplate

$
0
0
Good day everyone, I import an excel file by using a template. is there any possibility to retrieve the data after ' StartImportByTemplate' java action?

How to display caption of combo box properly when using source as database

$
0
0
I have Quotation entity I want to select Job from database without association (denormorlized) by display job name in combo box and set jobno to attribute jobno in quotation entity when I save and reopen this page combo box display jobno instead of name im not sure i have done anything wrong or it is combo box bug

Google Gantt Blank rows

$
0
0
I am facing an issue with the Mendix Google Gantt integration. Despite configuring everything as per the documentation and ensuring that the attributes are case sensitive, I am still getting blank rows with no data visible.

OQL to CSV export

$
0
0
i'm using oql to csv export activity from oql module, but getting only one column values in exported doc. how to retrieve all column values from MARS_Payment table. Thanks

combo box data source question

$
0
0
I have 2 apps in the Mendix, but when I am working on the Combo box, the data source options are different, in one app it can let me choose the source, but in another one no source I can choose, I am kind of confused about it.

No Attribute I can choose in the combo box

$
0
0
I simply want to use combo box to list supplier name, I chose Database as Data source and when I need to select the Attribute, there is nothing I can select. The entity only have 2 attributes, one is guid which is String type, another one is company_name which is String as well. Do I miss anything here?

How to refresh user role without sign out ?

$
0
0
Hi everyone, I have user that has user that has user role for example called Role1 I am adding another user role to him for example called Role2 So now the effect of Role2 not work until i am sign out and sign in again Is there any solution to do this without sign out ?

How to open in a new window using navigation items

$
0
0
I want to use the mouse to right-click in the navigation window and select the item I want to open in a new tab.

Employee Select

$
0
0
Hi everyone, I'm trying to design an employee selector and I'm having some issues with selecting the employee multiple times. I have 9 different boxes that I need to use the same database 'Employee' for but they need to have different values at the moment if I change one they all change. Any ideas on how to achieve this using combo boxes?

How to get the list of objects from datagrid2 client-side ( after filters and sorting of the user)

$
0
0
Hello everyone, I have a datagrid2 where the user can filter by text, sort, ... After he has done his actions, he clicks on a nanoflow button. I want this NF to retrieve the same list in the datagrid2 client-side. For now, I get the String version of it with the following Javascript action: /** * @param {string} datagridName * @returns {Promise.} */ export async function JS_GetWithString(datagridName) { // BEGIN USER CODE if (!datagridName) { throw new Error("Datagrid name is required."); } return new Promise((resolve, reject) => { const stream = window[window.DATAGRID_DATA_EXPORT][datagridName].create(); let dataList = []; const streamOptions = { limit: 1000 }; // You can adjust the chunk size if needed stream.process((msg) => { if (!msg) { return; } switch (msg.type) { case "data": // Filter out the last column from each row const filteredData = msg.payload.map(row => row.slice(0, -1)); dataList = dataList.concat(filteredData); break; case "end": const jsonString = JSON.stringify(dataList); resolve(jsonString); break; case "aborted": reject(new Error("Data export aborted.")); break; default: break; } }, streamOptions); stream.start(); }); // END USER CODE } Can you help me to make this list returns a list of objects instead of a string please? Thank you so much. NB: I tried many times but I couldn't make it work when the return is * @returns {Promise.}

Teamcenter - Failed to get an HTTP response

$
0
0
Hello Community, I'm developing an app that connects to Teamcenter and retrieves all objects from Teamcenter to Mendix Cloud. If I configure the query to retrieve only one type of object (wich represents 10.000 elements) il works. When I configure the query to retrieve all objects (wich representq almost 200.000 elements), the query fails and I get the error : "TeamcenterServiceException: Failed to get an HTTP response". (The query had been created with the Teamcenter Extension) Do I need to change anythong in the query ? Should this problem be resolved on the Mendix the Mendix side, or on the Teamcenter side ? Thanks for your help

Dynamic REST Calls

$
0
0
Hello everyone, In our use case, an administration shell (AAS) is interacted with via REST calls. The AAS is dynamically filled with a variable number of assets, which are always structured according to the same standard, but not always in the same order. In order to be able to query or write individual values, the paths of the existing assets must first be read. Each asset consists of several submodels in which the values are grouped. A query for the entire arrangement with three exemplary assets is attached. They are listed as array elements, whereby new assets can be added at the end and those that are deleted simply disappear from the array. It should also be noted that in this query, the elements of the submodels in which the searched paths are present as ‘value’ under ‘keys’ are also created in array form. It must be possible to query each individual path from each individual asset. In our previous attempts, we encountered the problems that, on the one hand, there is no fixed JSON structure that can be expected from a get call and, on the other hand, several paths cannot be read out due to the same keys of the assets and submodels. Is there a solution to these two problems on the Mendix side without having to adapt the AAS?

How i can find all icons of our mendix app?

$
0
0
Is it right file? glyphicons-halflings-regular D:\Mendix\Mendix Projects\Charts App-main\theme-cache\web\img\theme
Viewing all 83468 articles
Browse latest View live


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