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

File Upload

$
0
0
Hi, all community members, this is my first post. May I ask if anyone implemented Native Mobile file upload function? We have done most research but we are going no where.

Speech to text widget

$
0
0
any widget or any functionality to implement that speach to text

OPC Router marketplace availability

$
0
0
Hello, We have noticed that there is an OPC Router application for IED, as mentioned on the OPC Router website and in the Siemens documentation. However, when I search for this application in the Siemens Industrial Edge marketplace, it is not listed, and the link from the documentation page is also broken. I receive an error message stating that '3PINRAY0002 is not a valid product.' Can anyone explain why these third-party apps are being marketed but are not available for purchase on the Siemens marketplace? https://www.opc-router.com/opc-router-and-siemens-industrial-edge/ https://docs.industrial-operations-x.siemens.cloud/r/en-us/industrial-edge-platform-operation-intro/build-your-use-case/edge-apps-overview/o/opc-router-enterprise-edition-by-inray-industriesoftware-gmbh Thanks. Best regards, Petr

Issue with multiple combo boxes on one page (MX 10.12.10)

$
0
0
Currently running into the following problem: We have a page which has 3 combo boxes on it as filters. Essentially the first value is used to filter the seconds pontions and so on. This means that we also hide the following combo box(es) until a value was selected. Resulting in the following sequence: Combo box 1 visible with no value - CB 2 invisible - CB 3 invisible. Combo box 1 visible with a value - CB 2 visible with no value - CB 3 invisible. Combo box 1 visible with a value - CB 2 visible with a value - CB 3 visible. Options for CB2 are reliant on the value of CB1, Options for CB3 are reliant on the values of CB1 & CB2 (using microflows) This works 99.9% of the time, but sometimes we get following error when selecting a value for CB2: An error occurred while executing microflow data source for widget MasterdataModule.ArticleRetailerSortingHelper_SortArticles.comboBox3: Cannot set properties of undefined (setting 'hash') Error: An error occurred while executing microflow data source for widget MasterdataModule.ArticleRetailerSortingHelper_SortArticles.comboBox3: Cannot set properties of undefined (setting 'hash') at Xe (http://localhost:8080/mxclientsystem/mxui/mxui.js?638737523341505077:61:207736) at http://localhost:8080/mxclientsystem/mxui/mxui.js?638737523341505077:61:221830 The error is not blocking, as after clicking it away the 3rd combo box has the correct and expected options, so it does load properly in the end. I've tried updating the widget to the latest version (Based on other forum posts I found for similar issues for other widgets) and I added extra checks on the datasource microflow for CB3 to check whetehr we actually have a value for CB2. Neither fixed the issue, it just seems to happen less. Any1 else that had this issue/got it fixed? (I had to select 10.12.9, as 10.12.10 was not an option for some reason.)

Databus "Application Not Available" Page Issue

$
0
0
We are trying to install and use Databus and Databus Configurator applications with our IEM and IEDs. However, we are unable to reach to the interface of “Databus Configurator” on IEM. Also, we couldn’t find any additional information about this issue on the documentation. We would like to reach below interface given below This is the image from the documentation which we would like to reach This picture represents what we get Databus Configurator: V 2.2.0-4 Databus: V 2.2.0-3 IEMA Version: 1.13.10 If you need any additional information, please feel free to ask us. Thanks in advance for your help.

Error messages in Deployment Detail log after creating a Package on Mendix for Private Cloud

$
0
0
Hi Team, We are currently running our environments on Mendix for Private Cloud and have 4 environments on slightly different version of Mendix (9.24, 10.4, and 10.12.1) The 2 environments built on the latest version of Mendix, we have just noticed an error message has been appearing in the deployment details section for all of our packages. There are 2 errors in the deployment details for each deployment package we create. I've seen some similar questions raised by the community with a response saying to check access rights for a specific folder however no such folder, /root/build/.local/share/Mendix/, exists on our Windows machines for the projects. Is this a .GIT repo folder location or a Mendix for Private Cloud staging location? The steps around it seem to suggest mendix checks being done to see if there are any errors. We do not have such errors in our other environments/applications on the earlier versions, which have also had a recent deployment package created. The folder path does not exist in the local projects files for any of our applications. Also worth noting that the build is successful and we are able to deploy the packages to the test/uat/production environments. But we need to know what is causing these errors, how to resolve them and if they could potentially cause issues within the environments. [compile] 2025-01-10T13:07:26.414279225Z v10.12.1.39914 [compile] 2025-01-10T13:07:26.416220134Z [compile] 2025-01-10T13:07:30.010300237Z Starting build for Mendix Project file: /workspace/build/source/Loan Closing.mpr [compile] 2025-01-10T13:07:30.012054171Z Using the following options: [compile] 2025-01-10T13:07:30.014994779Z * Build target: Package [compile] 2025-01-10T13:07:30.018569366Z * Deployment package file: /workspace/build/dist/a8f59795-4c89-44e7-bbc6-f1eeb0c0c072.mda [compile] 2025-01-10T13:07:30.021537845Z * Model version: 0.1.1.300b8308 [compile] 2025-01-10T13:07:30.023178307Z * Model description: [compile] 2025-01-10T13:07:30.025972682Z Reading project file... [compile] 2025-01-10T13:07:36.590511260Z Building project... [compile] 2025-01-10T13:07:36.601290169Z 2025-01-10 13:07:36.5943 ERROR Mendix.Modeler.Internationalization.LocalizationProvider Translation catalog was not initialized [compile] 2025-01-10T13:07:36.605306265Z Executing step 'Synchronize with file system' [compile] 2025-01-10T13:07:36.607068718Z 2025-01-10 13:07:36.6017 ERROR Mendix.Modeler.Internationalization.LocalizationProvider Translation catalog was not initialized [compile] 2025-01-10T13:07:36.609994360Z * Synchronizing with file system... [compile] 2025-01-10T13:07:38.304609360Z Executing step 'Initialize' [compile] 2025-01-10T13:07:38.325124956Z * Preparing deployment... [compile] 2025-01-10T13:07:38.370610935Z Executing step 'Check prerequisites' [compile] 2025-01-10T13:07:38.373827103Z * Checking for errors... [compile] 2025-01-10T13:07:38.553696459Z 2025-01-10 13:07:38.5492 ERROR Mendix.Modeler.Main.ModelerSettingsManager Failed to load settings. Using default settings. [compile] 2025-01-10T13:07:38.557249550Z System.UnauthorizedAccessException: Access to the file or directory '/workspace/build/.local/share/Mendix' is denied. [compile] 2025-01-10T13:07:38.560736008Z at Mendix.Modeler.Utility.WhitelistAware.EnsurePathSafety(String path) in Mendix.Modeler.Utility\WhitelistAware.cs:line 65 [compile] 2025-01-10T13:07:38.562612263Z at Mendix.Modeler.Utility.FileSystem.CreateDirectory(String path) in Mendix.Modeler.Utility\FileSystem.cs:line 165 [compile] 2025-01-10T13:07:38.564429677Z at Mendix.Modeler.Main.ModelerSettingsManager.CreateSettingsFile() in Mendix.Modeler.Core\Main\ModelerSettingsManager.cs:line 375 [compile] 2025-01-10T13:07:38.566481663Z at Mendix.Modeler.Main.ModelerSettingsManager.DoLoad(ModelerSettings settings) in Mendix.Modeler.Core\Main\ModelerSettingsManager.cs:line 177 [compile] 2025-01-10T13:07:38.568162243Z at Mendix.Modeler.Main.ModelerSettingsManager.LoadSettings() in Mendix.Modeler.Core\Main\ModelerSettingsManager.cs:line 162 [compile] 2025-01-10T13:07:48.011532601Z Executing step 'Clean deployment directory'

Problem with the configurator of Databus.

$
0
0
I have a problem with the app DataBus in Industrial Edge. I try to launch this app in Data Connections but it doesn´t work. I see that this could be that the configurator of this app is outdated or no installed. To solve this problem I try to uninstall and install it again but it still not working. I also try to reboot the industrial edge manangment, reinstall all the apps, unpublish and publish it again but nothings works. I have the same problem in the conectors SIMATIC S7 or the OPC UA Connector. I will add some picture of the problem. Here we can se the problem I have in all of this data connections in the databus, the OPC UA connector or the SIMPATIC S7 connector. In the next picture we can see that I have all the configurators good installed and updated. I hope someone can help me. Thanks

excel is taking wrong format for the numbers while uploading excel file in mendix, once uploaded same values getting shown in dashbaord, how to format that number in mendix code

$
0
0
excel is taking wrong format for the numbers while uploading excel file in mendix, once uploaded same values getting shown in dashbaord, how to format that number in mendix code

Errors after deleting page elements in Mendix Studio Pro.

$
0
0
I get the following error when trying to delete input fields inside Studio Pro 10.18.1. Structure mode and design mode become unresponsive afterwards, not allowing me to change anything and not being able to save my changes. The only way to continue my work is to restart Mendix. System.InvalidOperationException: Sequence contains no elements at System.Linq.ThrowHelper.ThrowNoElementsException() at System.Linq.Enumerable.Aggregate[TSource](IEnumerable`1 source, Func`3 func) at Mendix.Modeler.WebUI.View.Windows.StructureMode.StructureModeEditor.CenterOnSelection() in Mendix.Modeler.WebUI.View.Windows\StructureMode\StructureModeEditor.cs:line 292 at Mendix.Modeler.WebUI.View.Editors.FormEditor.OpenStructureMode(Boolean isInitialLoad) in Mendix.Modeler.WebUI.View\Editors\FormEditor.cs:line 274 at Mendix.Modeler.WebUI.View.Editors.FormEditor.Mendix.Modeler.WebUI.View.Editors.IFormEditor.OpenStructureMode() in Mendix.Modeler.WebUI.View\Editors\FormEditor.cs:line 247 at Mendix.Modeler.WebUI.View.Editors.DesignMode.WebFormEditor.OnBrowserMessage(Object sender, WebBrowserMessageEventArgs args) in Mendix.Modeler.WebUI.View\Editors\DesignMode\WebFormEditor.cs:line 445 at Mendix.Modeler.Controls.WebBrowser.WebBrowser.OnMessage(WebBrowserMessageEventArgs args) in Mendix.Modeler.Controls\WebBrowser\WebBrowser.cs:line 74 at Mendix.Modeler.WebEditors.WebEditorControl.OnMessage(WebBrowserMessageEventArgs args) in Mendix.Modeler.WebEditors\Control\WebEditorControl.cs:line 103 at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

How to attach the PDF file to Part Revision inside the microflow?

$
0
0
Hi I wanted to attach one file document\dataset to an Item Revision in microflow itself . thanks, Harika

Disappearing buttons on the pop-up forms at lower resolution of browser

$
0
0
Hello everyone, I am using a default page of pop-up form in mendix when I click on a button the pop forms open up. My Forms has a Yes, No radio button and a comment field (text box). Now in resolution above 1300*600 everything works fine. But when my browser resolution is around 1272*600 the Save and Cancel buttons on the pop-up form disappear on opening the form or sometimes clicking on the YES, No radio buttons. Although they are still present like when I hover above it the cursor changes and I am able to click too but, they are not visible. P.S: I have not added any visibility condition or extra css on the Save and Cancel button. 

SAML 2.0 and Encryption

$
0
0
I’m developing a Mendix application that requires SAML authentication. I downloaded the SAML module and am trying to reload configuration when I encounter an error. Error in execution of monitored action 'RegularClientAction'... java.lang.NoSuchMethodError: 'void org.apache.commons.codec.binary.Base64.(int, byte[])'

Performance Issues with huge OQL tables & filters

$
0
0
Hi everyone, in our App we are often required to show 200-300 objects in a table or gallery (kanban board for example) and have advanced filters options that go beyond just simple text searches in a column (e.g. searching for an attribute in an associated object). In order to make that possible we use an OQL query as a string, that gets updated depending on the set filters by the user. When redirecting from that page (by clicking on a row or an object of the result) the page is increasingly slow, due to many non-persistent objects loaded in the cache/runtime. This has to do with the retrieval via the OQL. The redirection and overall performance of those tables/views have gotten so slow, that we have to do somthing about it. Anyone with a similar problem or different approach how to handle those types of overview pages with advanced filtering? Any suggestion is appreciated! BR Markus

Send only one email to the person who is in both to and cc.

$
0
0
Hello everyone, I have one case where I am sending emails via template, but if I have same person in to and cc the email should send only one time but currently the email is sending 2 times one for to person and another for cc person. But I have same person in both to and cc,the technically person should receive the email only once. How I can achieve this ? Anyone have any idea?

How To Identify DataGrid2 Filter Attribute In JavaScript

$
0
0
Hi all, I want to display the number of lines for a DataGrid2, when having virtual scrolling. I have managed to display the number of lines currently displayed. However, when I attempt to display the total lines (i.e. lines available and not necessarily displayed), I struggle with implementing the filters. My JavaScript look as follows: export async function JS_DisplayNumberOfProjects(textWigetName, dataGrid2WidgetName) { // BEGIN USER CODE // Get elements for DataGrid2 and text widget const dataGridElement = document.querySelector(`.mx-name-${dataGrid2WidgetName}`); const textWidgetElement = document.querySelector(`.mx-name-${textWigetName}`); if (!dataGridElement || !textWidgetElement) { console.warn("DataGrid2 or Text widget element not found."); return; } // Function to construct XPath with filters function buildXPathFromDataGrid(grid, entityName) { const filters = grid.querySelectorAll(".filter-container"); const xpathConditions = []; filters.forEach(filter => { let attribute = filter.getAttribute("data-mendix-attribute"); if (!attribute) return; const textInput = filter.querySelector("input.form-control:not(.dropdown-triggerer)"); const dropdownInput = filter.querySelector("input.dropdown-triggerer"); if (textInput && textInput.value.trim()) { xpathConditions.push(`contains(${attribute}, '${textInput.value.trim()}')`); } else if (dropdownInput && dropdownInput.value.trim()) { const values = dropdownInput.value.split(",").map(v => v.trim()); const orConditions = values.map(v => `${attribute}='${v}'`).join(" or "); xpathConditions.push(`(${orConditions})`); } }); return `//${entityName}${xpathConditions.length ? `[${xpathConditions.join(" and ")}]` : ""}`; } // Function to get the total row count async function getTotalRows() { const xpath = buildXPathFromDataGrid(dataGridElement, "Module.Entity"); console.log(`Generated XPath: ${xpath}`); return new Promise((resolve, reject) => { mx.data.get({ xpath: xpath, callback: objs => resolve(objs.length), error: error => reject(error), }); }); } // Function to update row count display async function updateRowCount() { try { const totalRows = await getTotalRows(); const visibleRows = dataGridElement.querySelectorAll(".mx-grid-row").length; textWidgetElement.innerText = `Records: ${visibleRows} of ${totalRows}`; } catch (error) { console.error("Error fetching total rows:", error); } } // Monitor for changes in DataGrid2 const observer = new MutationObserver(updateRowCount); observer.observe(dataGridElement, { childList: true, subtree: true }); // Initial count update updateRowCount(); // END USER CODE } The result of the XPath is: //Module.Entity[[contains(unknownAttribute, 'My Sample Value')]] Any help would be appreciated

Display rich text with format

$
0
0
Hi there I got a stupid question : I got a rih text attribute (https://docs.mendix.com/appstore/widgets/rich-text) which I can edit properly. how can I display the formatted text ? If I use a label widget, there’s no formatting ; with the rich text widget, it’s the editor … Thanks !

How to get back to old app commit state?

$
0
0
Hi, i was trying today again to migrate my app Mendix 10. So i updated some Mendix modules (SAML, Administration,...) step by step. To git it's alreadymigrated. So now the app is completlely fucked up, and i commited already some times to the server. How can i undo all that changes, and get back in studio pro with an onlder commit, where everithing worked

I'm having trouble ordering the Basic license

$
0
0
Last week I tried to order the Basic package for my application. I got to the dashboard where I filled in the number of users and the location of the Mendix shared cloud, but then when I went to the next step in the request, I got a message that there was a problem on the Digital River side, which handles payments. Today I can’t even get to that dashboard. No matter which way I choose to upgrade to the Basic package, all I get is this: We’re on It! Sorry, this page needed some maintenance. We’ll be back as soon as possible. Have you experienced similar issues recently? This is my first attempt to purchase a Basic license. Thank you for your help.

I can't keep the data I posted

$
0
0
Hi, I am sending two parameters to a service by applying Call Rest Post. From there, it should return "S" for successfull and "E" for error. When I set the Rest Consume setting to Trace, I can see that it returns 200 OK and S or E in the console, but my action named ServiceOutput, which I call Rest Post, returns empty. It does not return a string empty, the type of the ServiceOutput action returns empty. (I am applying Export and Import mappings, they also use an .xsd file as the XML schema.) Why can't I keep the data in the ServiceOutput action even though I see the Response value in the console? Because later I will place a decision and say "If it is S, continue microflow, if it is E, return an error message".

How to create a url for a PDF file?

$
0
0
Hello Everyone, I have an application where the user, when saving an object, attaches a pdf to it, I would like to know how to generate a url to access this pdf so I can put it in a qr code
Viewing all 83469 articles
Browse latest View live


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