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

Conditional Rendering based on Access Rules

$
0
0
I have an entity called permission, which gives access to various container based on PermissionName. I have a use case where I need to render a column container based on a permission name, say Users card should be visible only if user has a permission object from permissions array with it's name has 'USER'. A user can have multiple permissions associated with him/her [1-*] association. I wrote a microflow which returns boolean based on the permissions that the user has access to. I tried to use data view and call the microflow to conditionally render based on the boolean value, but the microflow must return an object to be able to use in a data widget. What else is the way to achieve conditional rendering?

Performance Insight / Energy Manager - Interruption in data capture

$
0
0
Every certain time, data capture stops and resumes after a few minutes. I tried checking the logs but there are a lot of them and I couldn't find anything about this problem. Data capture is only done using the OPC UA connector. IE Virtual Device: ievd-1.18.0-4-a Common Configurator: 1.11.0-1 OPC UA Connector: 2.1.0-4 IIH Essentials: V 1.10.3 If you need a specific log, let me know and I'll send it

Studio Pro is closing suddenly, what could be the reason for this?

$
0
0
Here is a 100-word formal rewrite of the text: I have encountered persistent issues with the Studio Pro application (version 9.24.3). Regrettably, the software has been closing unexpectedly on multiple occasions, though the underlying reason remains unclear. Additionally, I have observed the necessity to manually save each modification, as otherwise, the changes are lost entirely. Attempts to resolve the matter through reinstallation have proven unsuccessful. This ongoing complication has caused considerable difficulties in my work with the software. I remain receptive to any constructive suggestions that may aid in addressing and remedying this concerning situation. Your assistance in this matter would be greatly appreciated. Respectfully, Sai Kumar Bevara

Mendix Studio Pro on Mac: Error Code CE9807 - Missing dependencies

$
0
0
Hey Mendix Community, I installed the Mendix Studio Pro 10.7 (Mac Beta) but have an error upon start: CE9807 - Could not resolve the CycloneDX Gradle plugin. How can I add this plugin?

Bearer token not working in 10.6.9

$
0
0
Hi there, We have been developing a REST call to an API but the call is returning Authentication information is not given in the correct format. Check the value of Authorization header. When using the Bearer token in the exactly the same format in Postman (by copying it out of a microflow), it works! We have tried both with 'Bearer ' + $Token and by putting the 'Bearer ' as a part of the initial string creation but neither have worked. We have found that updating to version 10.10 will fix our issue, but we would have preferred to stay on 10.6.x as it's MTS. Does anyone have any thoughts?

GetAttachments from Item in

$
0
0
Hi Community, Could someone please explain to me how to download and retrieve item attachments using Mendix's TC connector? I'm new to the platform. I'm receiving item search results, but what I really want is the files that go with the item. I have attempted to duplicate the Tc Sample Connector's microflow. That microflow shows a "administrator error" for me. Could someone please tell me how to get the files that are related to the item? Thank you

Resetting of a Number after one day is completed.

$
0
0
Hey Developers So I was working on a Feature of token , Where I need my token to be started/Refreshed from 000 after the start of next day Eg : If my token number is 20220116335 today It should be 20220117000 , I have figured out the initial configuration just needed assistance with the last 3 digits. Regards

Filtering in data grid

$
0
0
Hello mendix makers, I need a filter for a table (something like excel), If I use Grid1, I can filter, but the customer must write exactly what he wants to filter. I need to filter according to several criteria, it would be good if it had a selection (something like a dropdown) so that you could choose from the list. I am using version 10.1.1. Can you help me with this? thanks for any advice.

commit issue

$
0
0
Good day Community im having a difficult committing my work on mendx 10.10 on Mac I keep getting this error message LibGit2Sharp.LibGit2SharpException: An error occurred while processing the response from the RepositoryService/GetTemporaryGitUrl. The request to 'RepositoryService/GetTemporaryGitUrl' failed with status 0: . The error message is: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.. The response has no content.

Transfer input data to other page

$
0
0
I just want that the details that are filled in for the sign in, are displayed on the other page. Anyone knows how you can do this? At this moment i show everything i have now: (I am new to Mendix) I also have a error code , how do i fix this?

Microflow not receiving multiple parameters from JS

$
0
0
When I try to call a Microflow using the mx.data.action API call with 2 guids, my microflow says that both of the objects it receives are empty. This happens regardless of the order I supply them in. See below. // Assume that 12345678901234567 is of the first parameter and 23456789012345678 is the 2nd parameter in the Microflow. mx.data.action({ params: { applyto: "selection", actionname: "MyFirstModule.DS_Test_Multiple_Objects", guids: ["12345678901234567", "23456789012345678"] }, callback: function(obj) { console.log(obj); }, error: function(error) { alert(error.message); } }); Found field from view: and cell . Exists? no However, when I only supply 1 guid, the Microflow receives this single object. Setting the first parameter only: mx.data.action({ params: { applyto: "selection", actionname: "MyFirstModule.DS_Test_Multiple_Objects", guids: ["12345678901234567"] }, callback: function(obj) { // expect single MxObject console.log(obj); }, error: function(error) { alert(error.message); } }); Found field from view: set. and cell . Exists? no Setting the second parameter only: mx.data.action({ params: { applyto: "selection", actionname: "MyFirstModule.DS_Test_Multiple_Objects", guids: ["23456789012345678"] }, callback: function(obj) { // expect single MxObject console.log(obj); }, error: function(error) { alert(error.message); } }); Found field from view: and cell set.. Exists? no Why is that, and how can I fix it? I’m following the example from https://apidocs.mendix.com/7/client/mx.data.html with multiple guids. The two objects I’m passing are of different types. Thank you in advance.

Marker highlighting in diagram

$
0
0
Hi all, Am having usecase that for car diagram which needs to highlight the pointer and showing details. Any widget which supports in marketplace . Am using marker but it is not supporting as per requirments.

Mendix Studio Pro crashes occasionally, is there any way to recover the work that has not been saved?

$
0
0
Acctually, that should not happen with professional dev-IDE, especially for frameworks based on java, python or csharp that are not easy getting crashed, but mendix does crash very offen. Sometime PC gets blue screen, sometime just the IDE crashes. In that case I get warning that there is a active session already opened, whenever I start the IDE again. If I go ahead with opening, the changes I made getting lost.

Need to create a dashed-line chart using Chart widget.

$
0
0
Hi Community, I have tried to implement customization of line chart through the chart widget. The process I followed is: 1. Picked up the line chart widget from the toolbox. 2. Provided data-source and filled up rest of the necessary fields (Here, I selected multiple series.) 3. Run the application. I have tried to put the custom code in "Advanced" section of "Edit Series Item". Unfortunately, it didn't work. I enabled developer mode from General section in Line-Chart widget and executed the same code through "Toggle Editor" in the application. It worked then. The code I used is: { "mode": "lines", "line": { "dash": "dash" } } Is there anything else I need to do, please let me know.

problem using datagrid 2 since update to Mx-Studio 10.4: on click action requested

$
0
0
The error message tells me that I have to select an on click action for action button 7. But there is no action button 7. Click on the error marks the whole data grid. This happens every time I create a new page with a data grid 2 . The existing old pages (before the update) work still fine.

Excel Importer: Handling Empty Cells and Specific Strings

$
0
0
Hello Mendix Community, I'm working on importing an Excel file into my Mendix app using the Excel Importer module. However, some columns in the Excel file contain empty cells or specific string values like "--" or "-" instead of numbers. When I try to import this file, the Excel Importer throws an error saying "is not a valid number!" for those empty cells or string values.I need to replace the empty cells with a default value (e.g., 0) and also replace the "--" or "-" strings with the same default value during the import process. Can someone please guide me on how to achieve this using the Excel Importer module's features? I've tried searching the documentation, but I couldn't find a clear solution. Any help or step-by-step instructions would be greatly appreciated!

Combo box Validation

$
0
0
Is it possible to add Validation required to a combo box??

How to shutdown an (on-premise) mendix app from a microflow?

$
0
0
I want to shutdown an on-premise Mendix app with an action in a Microflow, from that same app. The app runs on-premise (windows service console). (For cloud apps I could find some API's focused on ci/cd) I checked the Runtime Java API and some other Mendix API's but could find the solution. Does anybody have an idea how to realize this?

Namespace Operator and Agent has disappeared from the running EKS Mendix cluster

$
0
0
Namespace Operator and Agent has disappeared from the running EKS Mendix cluster We observer the strange behaviour on the working server where all of the sudden we noticed the Mendix Operator and Namespace has disappeared but we see the apps under the Namespace are running .But when we stop the app it gave the error that agent is disconnected. Moreover,When we noticed the Namespace status it saying pending . We want to know the root cause what caused this issue and how can we restore Namespace operator and Agent. We already tried to install the operator and agent but it didnt helped .How can we avoid this in future.

microservice deployments in mendix

$
0
0
hi team , I have created two separate microservices in mendix in a separate mendix project. now I want to deploy them on aws cloud, how I can do it?. Provide steps and doc link. Thanks
Viewing all 83469 articles
Browse latest View live


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