I was creating some java actions for my application in mendix, and I would like to know if it is possible - besides editing the code - to debug using vscode? Using some extension or something like that.
↧
Debugging on Mendix using VSCode
↧
Dark/Light Theme linked to a user account
I'm currently looking for a way to integrate a dark & light theme into an app which changes based on a button click that's linked to a User account. I had been following this blog post https://www.mendix.com/blog/how-to-implement-dark-mode-in-your-apps/ but in our case we cannot link it to a current session. Any suggestions are welcome, thanks.
↧
↧
Is there a way to reprocess a ProcessedQueueTask that has failed from the UI.
Hi there We have moved to Mendix 10 and have upgraded from the old Queue module to the build in Queued Tasks that can be triggered from a "call microflow" action. I cant find a way to reprocess a completed Queue. There is a option to retry on creation of the Queue Task but we need to be able to select the ones that have failed and reprocess them from a "Queue dashboard". I cant find any tool or java action to do this! The QueueTask and processQueuedTask are system entities and you have to created them via the call microflow widget. How am i going to reprocess a processQueueTask that has failed? We use Queues to catch all processes that fail so we can fix the problem and just rerun the Queue. Please Help
↧
Change object over association is causing an issue-actionButton1: this._updateRendering is not a function
Based on the status am changing the visibility - i have a job open and associated with many candidates ,while i start to create a candidate after creating an job role am committing candidate object in the nanoflow and in same Nanoflow i am trying to change the status of job from new to Inprogress where i get this error An error occurred while executing an action of HR_Tracker_Portal.CandidateDetails.actionButton1: this. is not a function Nanoflow stack: "Commit object(s) $Job_Role" in nanoflow "HR_Tracker_Portal.SaveCandidate" at http://localhost:8080/mxclientsystem/mxui/mxui.js?638621033241910766:61:179810 at ye (http://localhost:8080/mxclientsystem/mxui/mxui.js?638621033241910766:19:6830) at i (http://localhost:8080/mxclientsystem/mxui/mxui.js?638621033241910766:19:6731) at O (http://localhost:8080/mxclientsystem/mxui/mxui.js?638621033241910766:59:5099)
↧
Accessing a Native app .apk file remotely
Is it possible to access the last built .apk file for a Native app somewhere on the Mendix website? I built my application using the Native Builder for distribution, and it offers me to download the .apk file using a QR code. Is this build/.apk file stored somewhere in the project information or within the organization on the Mendix website, or is downloading it locally from the machine that built it the only way of getting to it?
↧
↧
Configuring Date Time Filter in Data Grid 2
I have a data grid like this. I have created the app from spreadsheet and My predefined data of StartDate is of date and with a particular time (Example format 03-01-2023 04:15:00). But I am unable to choose the time from this date filter. I can only filter data by start date not the time. How to choose time? Also If I need to see data within a range after selecting the date, suppose , within 03-01-2023 04:15:00, how to do that, also, the below screen readers also not working.
↧
Verification of a changed attribute and sending a notification/comment to the owner
Hello! I was trying to figure out the best way to approach this of going to an entity, in my case a task and checking wether with an edit the attributes of (p.e. duedate, staus) had been changed. Saw that there are some java actions that can be used but only for strings (I have an enum and a date time attribute) and also the audit trail module. None of them seem ideal to me. Any simple way to be able to do this? Thanks a lot!
↧
Could not find a part of the path '\Example App\deployment\dojo-web'
Whenever I create any of the started apps and try to run it locally this error is displayed Could not find a part of the path '\Example App\deployment\dojo-web' I have tried - Manually creating the folder - Deleting the deployment folder - Clean deployment directory - Reinstalling and different versions of Mendix Studio After publishing the app online it does run and I can open it It appears there might be an issue with a build tool on my computer. What am I missing ?
↧
"Synchronize to Device" + "Nothing (preserve data)". Data gets removed when logging out and back in.
I am using the following synchronization method for a certain entity in the database. "Nothing (preserve data) – Do not download any objects automatically, and do not clear the data stored in the database for this entity when performing a synchronization (this can be useful in cases where you want have full control over the synchronization and should be used in combination with the Synchronize to device or Synchronize activity with specific objects selected)." I am using the 'synchronize to device' method and have put the settings of the object on 'Nothing (preserve data)'. The problem is that logging out and logging back in deletes the data (despite of the 'preserve data' setting). How can I make sure that logging out and back in does indeed preserve the data? Thanks in advance
↧
↧
How to Add a New Attribute to SAP Backend Schema Using Mendix
I’m working on a project where I’ve successfully implemented CRUD operations in an SAP backend using the Mendix SAP OData connector. Now, Iam in need to add a new attribute to an existing schema in the SAP backend from Mendix and ensure that Mendix can interact with this new attribute. How can i achieve this
↧
JDK Directory
Hello, I am trying to run Mendix 10.0.0 locally and it is saying it requires a Java Development Kit version 11 in order to do that. I searched it up and it has a plethora of options to choose from. Can someone guide me where to search, and which option I should download? Thank you
↧
Hiding the object name of a list in mendix JSON strucure
Hi, I want to hide the striked section in the JSON Structure while mapping with a message definition. I know it is possible to map based on JSON Structure then the list object is generated with name JSONObject. I want to know is it possible to do it with the message definition. "Documents": { "DocumentData": [ { "Name": "string", "Base64": "string" } ] }
↧
Mendix Console JDBC connection failed
Hi, i'm trying to deploy On-Prem using Mendix Console with sql server installed in the same server , but i get error " failed with SQLState: 08S01 Error code: 0 Message: ""encrypt" property is set to "true" and "trustServerCertificate" property is set to "false"" i tried DatabaseUseSsl: false in settings.yaml for the application but didn't work i tried to put DatabaseJdbcUrl , but it didn't work , i tried to disabled and enabled the DB encryption and it didn't work. another point , if i use the following DatabaseJdbcUrl it didn't overide the other values as per mendix Doc. DatabaseJdbcUrl: jdbc:sqlserver://localhost:1433;databaseName=DBName;integratedSecurity=false;encrypt=true;trustServerCertificate=true;
i tried many combiations but all give the same error. can any one share the DB YAML settings part so we can see how it suppose to be .
↧
↧
Where to find roadmap for Studio pro on Mac?
Hi everyone, I am using Studio Pro on a Mac (without VM). I see it is still in Beta version so lots of functionalities are not available yet. I understand that with each release they are going to add new ones, but I would like to ask you if you are aware of any document/roadmap/whatever on when the Mac version is going to be the same as the Windows one. Thanks!
↧
Caused by: java.lang.NullPointerException: Could not find result attribute StoreCode in target object.
I have used the java action "Execute OQL Statement" for executing OQL query. Attaching the query as well. Select distincttctpmaster.StoreCode,tctpmaster.Message, tctpmaster.AckDate, tctpmaster.StatusFrom TitanTechPortal.TCTP_ConfigMaster tctpmaster LEFT JOIN StoreMaster.StoreMaster SM ON(tctpmaster/StoreCode=SM/StoreCode)where(SM/StoreCode IN ('HSRS')) and((tctpmaster/AckDate>= '10-09-2024' )and(tctpmaster/AckDate< '18-09-2024')) Let me know if any issue in above query. But got the following error: Error Type: java.lang.NullPointerException Message: Could not find result attribute StoreCode in target object. Stack Trace: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.NullPointerException: Could not find result attribute StoreCode in target object. at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) Caused by:java.lang.NullPointerException: Could not find result attribute StoreCode in target object. at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) Caused by:Could not find result attribute StoreCode in target object. at com.mendix.basis.actionmanagement.ActionManager.executeSync(ActionManager.scala:110) Please help me out of this error. Below the attached screenshot of java action:
↧
Reference object commit issue
Hi All, Trying to commit a reference object shows an error "this._updateRendering is not a function". It happens in both microflow and nanoflow I tried on 10.12.4 and above versions still the issue remains the same. Help me with your input Thanks
↧
Accessing page with url
Hi Reader, There is a scenario, there are two pages with static URL with same user role access. I have to show one page when user login into application for first time and second page when login into application second time. This scenario I have implemented and working perfectly fine. But accessing first page after login and change the url of page in the browser with the second page url then it is accessing. So, I want if user changes the url manually the I can restrict by displaying that page and show correct page by altering url. Please suggest some ideas how can I achieve.
↧
↧
Darkmode scss Popup, Listview, Datagrid 2, Tabs, Groupbox,
How can I make a popup window black in Mendix? I have created a dark mode and need to integrate it here. In the toolbox there are some where I can make the background transparent, but with Listview, Datagrid 2 I cannot. I would like to customize the heading of the Groupbox. Does anyone know how to do this?
↧
Module: External Database Connector - Snowflake: impossible to connect with a privatekey and password
Hello, I'm encountering issues while connecting a Snowflake database to a Mendix application (version 10.12.1) using the External Database Connector module from the Mendix Marketplace (https://marketplace.mendix.com/link/component/219862?_gl=1*168nms5*_gcl_au*MTU4MTIyNTg2OS4xNzI1NTIxNzYw). I have all the necessary information to establish the connection, except for my PrivateKey which is in (.pem) format. When I paste my key into the module's connection interface using 'connection details' and 'Key Pair', I receive the error: Error: Could not read private key with value passed in connection string.
Error : incorrect private key value or private key format: use ‘\n’ for newlines and double the equals sign.
SqlState:, VendorCode: 270052, QueryId: I have attempted to reformat the key as a single line and replace newlines with '\n', as suggested in the error message and the documentation (https://docs.mendix.com/appstore/modules/snowflake/external-database-connector/). However, I continue to receive the same error. My private key is of type RSA (Proc-Type: 4, ENCRYPTED).
↧
Employee Select
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?
↧