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

Circumvent Mendix Widget Deprecation Checker

$
0
0
Hi   My widget works. I dont want the deprecation checker to bar me from creating packa.ges How do I circumvent Mendix widget deprecation checker when creating deployment packages   Thankyou

Wizard steps in Mobile Apps

$
0
0
Hi All, How I can use the wizard to be fit in mobile app , I want to customize it to appear horizontal  on the same line ??? I tried Wizardsteps but it give me the same behaviour !!!!  

Excel export template manager 7.13 compilation errors

$
0
0
Hi Guys, We've got compilation errors when we try and compile our app with the newly added Excel Exporter Template Manager module. We created a 6.10 app and added the module then migrated it to 7.13.1. However, we're now getting the following errors. Buildfile: C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\deployment\build_core.xml compile:    [javac] Compiling 672 source files to C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\deployment\run\bin    [javac] C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\javasource\excelexportertemplatemanager\actions\Equals.java:22: error: cannot find symbol    [javac] import com.mendix.core.objectmanagement.MendixIdentifier;    [javac]                     ^    [javac]   symbol:   class MendixIdentifier    [javac]   location: package com.mendix.core.objectmanagement    [javac] C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\javasource\excelexportertemplatemanager\actions\Equals.java:245: error: cannot find symbol    [javac]             if (sourceValue instanceof MendixIdentifier && targetValue instanceof MendixIdentifier) {    [javac]                           ^    [javac]   symbol:   class MendixIdentifier    [javac]   location: class Equals    [javac] C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\javasource\excelexportertemplatemanager\actions\Equals.java:245: error: cannot find symbol    [javac]             if (sourceValue instanceof MendixIdentifier && targetValue instanceof MendixIdentifier) {    [javac]                                                ^    [javac]   symbol:   class MendixIdentifier    [javac]   location: class Equals    [javac] C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\javasource\excelexportertemplatemanager\actions\Equals.java:246: error: cannot find symbol    [javac]                MendixIdentifier srcId = (MendixIdentifier)sourceValue;    [javac]                ^    [javac]   symbol:   class MendixIdentifier    [javac]   location: class Equals    [javac] C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\javasource\excelexportertemplatemanager\actions\Equals.java:246: error: cannot find symbol    [javac]                MendixIdentifier srcId = (MendixIdentifier)sourceValue;    [javac]                             ^    [javac]   symbol:   class MendixIdentifier    [javac]   location: class Equals    [javac] C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\javasource\excelexportertemplatemanager\actions\Equals.java:247: error: cannot find symbol    [javac]                MendixIdentifier tarId = (MendixIdentifier)targetValue;    [javac]                ^    [javac]   symbol:   class MendixIdentifier    [javac]   location: class Equals    [javac] C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\javasource\excelexportertemplatemanager\actions\Equals.java:247: error: cannot find symbol    [javac]                MendixIdentifier tarId = (MendixIdentifier)targetValue;    [javac]                             ^    [javac]   symbol:   class MendixIdentifier    [javac]   location: class Equals    [javac] Note: Some input files use or override a deprecated API.    [javac] Note: Recompile with -Xlint:deprecation for details.    [javac] 7 errors BUILD FAILED C:\Users\ateale\Documents\Mendix\PrimarkPSM-main_2\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 9 seconds   Does anyone have any suggestions on how to fix this?

submetaobject in system$user table

$
0
0
Hi, My data is storing in system .user.Earlier the submetaobject was System.User and now its Administration.Account.I dont remember I have change any thing.What is causing that issue?  

Tab Index running into order

$
0
0
Hi, I have tab index values assigned to different fields on my page. When I run the application, and tab through the fields, they are not moving in order. Any idea what could be causing tabs disorder? Thanks!

how can take updated code of 10 days back data from mendix cloud

$
0
0
HI, I want to get data from mendix cloud (my application) of 10 days back data. what is the process of this?

Insufficient Cryptography

$
0
0
Hello All, My security team has reported below issue under severe category , please help me understand implications and solutions The application was found to be vulnerable because of issues related to the SecureRandom implementation. A static value is used each time the SecureRandom variable is created, which means that the results are not randomized on each individual instance. The code locations provided in the table below were identified as being the cause for the current risk status class Name : Lcom/crypho/plugins/AES;  Method Name: generateKeySpec class Name : Lorg/apache/cordova/CordovaBridge;  Method Name: generateBridgeSecret Appreciate your prompt response.   Thanks&Regards Salma

List view pre-select top 10

$
0
0
(using 7.13) In a list view i have a text box where i can enter a specific medical specialism (for a healtcare app). There is an option to show the first 10 when clicking the text box. But is there a way to edit the first 10? Now it is only alphabetical, but I want to edit this feature. How? 1 hardcoded because some of the medical specialism are way more interesting than others, or eventually, what would be really nice.. 2 by most clicked (top ten  or top five search in a certain period, let's say over one month)? Regards, Ricardo   Image:

Recompile phonegap package after updating entry.js file

$
0
0
So we have some users using Mendix iOS app from remote locations in Africa and due to their slow connection they are experiencing timeout error. I figured out the way to solve this issue is by updating entry.js file under "src\www\scripts" folder. What I did was updated dojoConfig in onConfigReady function: MxApp.onConfigReady(function(config) { dojoConfig.server.timeout = 15000; }); I cannot use auto generated zip file package under "dist" folder instead I would need to recompile package and create new zip file locally. I tried to follow instructions on Readme.md file given below: $ npm install # install dependencies $ npm run package # prepare `build` directory for ARM $ npm run phonegap:login # login into the PGB service $ npm run phonegap:build:ios but they did not help because zip generated by it does load successfully on phonegap website but then when I download ipa file after building updated package and loaded it onto iPad -app fails to load. App works fine if I do same steps using auto generated zip file under dist folder. Thanks in advance for help!

passing parameter to js snippet

$
0
0
Hi there, I have a HTML snippet, inside a list view. The list view contains two lines of addresses. When edit button is clicked, fields become editable else they are read-only. In edit mode, I want to add a red asterisk to the first heading i.e. first address line. I'm able to add asterisk to the heading with jquery in HTML snippet, but it is being called twice. I'm checking if address line 1 exist. Since, condition is true and list has two elements, two asterisk are getting appended to the heading. I want to check if function is being called only on first element of list. Is there a way to pass list view element to the jquery?

How to reverse a list of records in Microflow?

$
0
0
Hi all, I am retrieving a list of records from data base( without sorting). Now I want to reverse the list. For example, retrieved list contains {B, D, E, A, C }. Now I want this list to be reversed like { C, A, E, D, B }. How can I do this in a microflow? Please give me an idea how I can approch this. Thanks in advance.   Thanks, Venkat.

Form Loader not working in 7.14.1 ????

$
0
0
Hi There   Ive upgraded to 7.14.1 and now none of my form loaders work....is there a fix for this???!!!!#   Regards, Patrick

How to put value of IBM watson response in database

$
0
0
Hi, I've downloaded the IBM Watson Connector suite and I've been playing around with it and got the conversation plugin to work that if I ask if a user is working, it gives back a response: Fill in a name. When I enter a name it uses the system entity within the bluemix envioriment $sys-person to filter the given name. Giving a response back: "The name you gave is: John" for example. I've created a variable $depositValue equal to the @sys-person in the same entity. Now after this I would probably also want to give a date so I would have to create a new entity. And create a Microflow that checks if there's anything for this user on this specific date. But how should I go about this? I can't seem to figure out where this $depositValue would be stored or how to call this within the Mendix envioriment. I've looked at this blog post:  https://www.mendix.com/blog/robots-taking-integrating-chatbot-interface-mendix/ And I've read this: https://docs.mendix.com/refguide/ibm/ibm-watson-connector    Any help would be appreciated!

Re-running project locally is not instant in 7.14.1

$
0
0
Hi Everyone, We started a project in 7.13.1 and upgraded it to 7.14.1, updating a running project was very quick (almost instant) even after upgrade to 7.14.1.  Now after 2 weeks later, when we just update the microflow / page in the running project and click on run locally, the re-deployment is taking bit longer then it use to take. It is taking around 30 seconds and most of the time is to build deployment structure; Just wanted to check if anyone is facing similar issue?    Thanks you!

ERROR - Connector: 404 - file not found for file: styles/css/custom/custom.css

$
0
0
We are seeing this error message in the log. This does not break the application but this shows up in the log file all the time. I think the way to resolve this issue is to create a empty file at that location, but the fix should be to eliminate whatever is calling that file. Any help please.

Hide Mendix's default progress bar

$
0
0
Hi, is there any way to hide mendix's default progress bar. I am using the DataViewLoader widget to load some content on the page. But after the page is loaded it is showing me two progress bars, one is mendix's default progress bar and another one is DataviewLoader progress bar. I am okay with DataviewLoader progress bar. but I don't want the other progress bar too on my page which is by default. Is there any way to get rid from it?

Button is not clickable if we need to pass an object to onclick event

$
0
0
I have a datagrid and a dataview listening to datagrid. I have couple of text fields that are populated based on datagrid row selection and I also need a button on dataview that opens a popup page and shows different kind of data. When I select a page for onclick event and this page requires datagrid row object as parameter the button is not clickable. But if I remove page parameter button is clickable. 

Getting error "Opening JDBC connection to None failed with SQLState:" after upgrading to 7.14

$
0
0
Everytime I start my moduler and run the project, it gives me the error "Opening JDBC connection to None failed with SQLState: S1000 Error code: -25 Message: error in script file line: 1 C:\Users\xxxxxx\Documents\Mendix\xxxxxx-main\deployment\data\database\hsqldb\default\default unknown token:" Then I have to go to the deployment directory and delete everything in the folder to start the project. Please suggest how to fix this problem. Thanks.

fetching users in microflow based on module role

$
0
0
Hi, I have an event that different users can relate differently to, and these are questions about access to common generic entities. As an example: In a marathon there are in general 3 given roles. Organizers, runners and spectators. At each marathon they have their set roles but at another marathon they can have another role. I am trying to build a module with a general database module where access only is allowed through user and module roles. Another problem is that once the organizer does something that should be updated for either or both the runners and spectators it will be put in a process queue and executed by the system which does not have a user.   I learnt (here https://forum.mendixcloud.com/link/questions/8361) yesterday that I can do xpaths to get which users have a certain user role with a path looking similar to this: [Administration.Account/System.UserRoles = '[%UserRole_Runner%]'] Is there anything similar to match for Module roles? The next question is: can I conditionally assign User/Module roles depending on event?   Kind regards Johan  

Request rate limiting

$
0
0
Has anyone implemented request rate limiting, for instance, to limit consecutive login requests from one host to a certain number per minute or so (as a guard against spamming login requests to break the application or leak data)? Or does anyone know if this is already implemented in the Mendix platform? I know this can also be done via something like reCAPTCHA, but that can be a data privacy concern in some contexts, so I'm also looking into implementing this in the application itself if it isn't already being done in the platform via the existing APIs. Any help/direction on where to start would be super helpful. Thanks!
Viewing all 83468 articles
Browse latest View live


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