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

JMeter - Performance slows down after several logins

$
0
0
We are running performance tests, using jmeter. The jmeter script does this: Login Call a microflow (via a deeplink) logout   The jmeter, start many threads that do many loops (ex 20 threads and each thread doing 20 iterations of the 3 steps above). Each loop within a thread takes a userid from a csv file containing 10 userids (aebusdevama,b,c,d,e,f,..)   The tests run fine, EXCEPT the login. The login exhibits this strange behavior: The logins start OK (login takes a few secs), then increases, then goes down, then goes up even higher, then down again ex : 5secs, 1min, 5secs, 2 mins, ... etc until 12mins or higher ! Login xas : {"action":"login","params":{"username":"${userid}","password":"${password}"}}

Filter list operation 'Equals' property

$
0
0
I’m new to Mendix and working through the Learning path for Advanced Page building.  Module 4 requires a microflow to retrieve Requests and filter them for ‘Approved’ in order to display both ‘Submitted’ and ‘Approved’ requests but I’m having problems with the ‘Equals’ property filter list operation.  I’ve input: Operation – Filter List – RequestList(List of Expenses.Request) Member – Status (Enumeration ‘Status’) Equals – trying to filter ‘Approved’ requests but keep getting errors on the expression If you’ve completed the learning path please put me out of my misery on how I get ‘Approved’ requests!! Thank you.    

Export Activity Log?

$
0
0
Is the a way to export the Activity log (Developer Portal: DEPLOY - Environments - Activity) for an environment of our App? Or can the Activity log be accessed using one of the Mendix API's?

How to login

$
0
0
I understand this question should not have been asked, there should be a very simple solution somewhere but… I can’t find it. I also searched the forum, I’ve found some partial answers which do not solve the easy question in a easy way. I’m deploying my app to the cloud, security has been set to Production, everything looks good. I can access the app using the demo_user and demo_admin accounts, no problem. Now, how to add regular users and how to create an admin account?

How to create custom theme for an app using external libraries?

$
0
0
I used Mendix UI Framework to generate a custom theme and downloading a zip file containing the js, css, images and fonts, but how do I use this in my own app. I am using Mendix Studio Pro 8.8.1. How can I create a UI resources package and include that files in it for my custom theme?

Confusion in Module6

$
0
0
In Module 6, after installing Latest version(8.9.0) of Mendix studio i created LearnNow Management for the App name. So the next task is to import user stories to the App. So my question is "in which app i need to import the user stories, because now i have 2 apps i.e Previously i have LearnNow Training Management and later i created LearnNow Management app?"

Native Mobile Nanoflow Toolbox Geolocation:Get current location failes on Android Local Host (Studio Pro 8.9.0)

$
0
0
****NEW PROBLEM**** Time expended in resolution attempt: ~1 work week Mendix Studio Pro 8.9.0 Native Mobile Nanoflow Toolbox Geolocation:Get current location ******************************************* *NO SUPPORTING DOCUMENTATION FOR FUNCTION * *ISSUE NOT FOUND BY OTHERS REPORTING      * *FAILURE WITH ON DEVICE WITH VAGUE MESSAGE* *CONSOLE ERROR WITH VAGUE MESSAGES        * *******************************************   Problem Process Flow: Native Mobile Quickstart App Page:Container:On click:Call a nanoflow Nanoflow:Toolbox:Geolocation:Request location permission->Permission confirmed->Get Current Location Run Locally Samsung Galaxy S8:Android:Make It Native:Click Container (passes permission confirmed):"Error An error occurred, please contact your system administrator. OK" Studio Console:Error:Log node:Client     An error occurred while executing an action of NativeMobile.Customer_Dashboard.container12: undefined is not an object (evaluating 'navigator.geolocation.getCurrentPosition') http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:1106:1646 Ce@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:390:15401 u@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:390:15106 P@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:1107:133 f@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:112:155 http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:112:882 y@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:117:661 C@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:117:1025 callImmediates@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:117:3100 callImmediates@[native code] value@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:3247 http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:1283 value@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:2939 value@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:1253 value@[native code]0 value@[native code]   Parsed: undefined is not an object (evaluating 'navigator.geolocation.getCurrentPosition') What is undefined? Why are errors showing 8083 when it requires 8080 for app to launch on device? Upon further investigation wasting more hours: If device host is changed to 8083 it returns: "Version not supported  You are trying to connect to an older  version of Mendix Studio Pro which  is not supported by your current  Make It Native App. For a list of  Make It Native apps supporting older  versions of Mendix Studio Pro.    MORE INFORMATION (link)" More information redirects to 3 Direct Download Links 3.1 Make It Native for Studio Pro 8.8 and Below Link redirects to: https://www.dropbox.com/s/z0255q1gcxpvlwl/MiN$208.8.apk?dl=0 Usage of dropbox? Create an account with access to my information? Accept 30 day trial? Give my Google Play credit card? NO ******* WAY! Are you serious? UNBELIEVABLE! AGAIN! Added to: https://forum.mendixcloud.com/link/questions/100338  Created: 5/17/2020, 10:51 PM ****END PROBLEM****

unable to identify where is role 'User' being used

$
0
0
I am unable to identify where is my application is using role names 'User' on Home_Web page since its not under project security and still I am gtting this error. Can anyone help me to get it sorted?

Regarding Mendix Rapid Certification Exam

$
0
0
Hi Experts, I need some information regarding the Mendix exam pattern and areas of questions. Someone can breif me regarding this? Someone can suggest how to prepare for the Mendix Rapid Certification exam. From where I will get some sample question papers for practice?    

Transfer email templates from dev to accp and prd

$
0
0
Is it possible to transfer email templates from dev to accp and prd? So far I have just been copy-pasting them attribute by attribute, placeholder by placeholder from one environment to the other. Since I am no monk but a programmer, I do not like this. It is laborious and error prone but I see no option to export and import the templates. Am I missing something? 

Can i use decision inside a loop?

$
0
0
Hi, in a microflow i want to retrive something from domain model than loop over that and inside loop i want to use decision and ask if two attributes are equal? It gives me errors. Is there a way to achieve that or maybe something else to try?

my administrator cant see any pages or buttons

$
0
0
when i loggin with my administrator account i can't see any pagges and buttons. when i am working in studio pro, open up security and look at the page acces, both user and administrator have the same rights. but when i look at the page acces in studio, i Can see that the administrator cant see any pages

How to reverse a Business Modeler version commit?

$
0
0
Greetings, I have a client that jumped ahead and updated their Business Modeler to 5.10 final release (previously on 5.9.1). Upon doing so, the custom SAML broke and the SSO functionality is no longer routing correctly. She committed the change to the team server and deployed to test. We would like to "undo" that and revert back to 5.9.1 where it worked until further testing can be completed, but we don't know how to stop the teamserver from requiring everyone to use the new 5.10 version.

So who at Mendix wants to take responsibility for the MONTHS of my life I wasted on Mendix before I’m homeless and won’t be able to help the homeless?

$
0
0
https://forum.mendixcloud.com/link/questions/100338  Created: 5/17/2020, 10:51 PM  The Mendix Portal/Forum/Questions  website area does not appear to use industry standard editor interoperability which inhibits readability. If you have arrived here, then you most likely are looking for a solution to a problem.  This area is going to contain every problem and related keyword (for head count) experienced and a resolution if found so search for YOUR keywords to save time: e.g. “Geocode”, “Forgot Password”, “Password Reset”, “Signin”, “Login”, etc. ****BEGIN HISTORY**** On top of Two and a half years wasted on IBM, Oracle, AWS, Microsoft, and many other “well rated” “Gartner Magic Quadrant platforms”, and those claiming to be “citizen developer” providers.  I’m not going to sugar coat this anymore and say it like it is.  All out of honey and all that is left is vinegar. Tonight I came across two articles that were have murdered my hopes and dreams: https://docs.mendix.com/developerportal/deploy/mobileapp#3-ios-android “Building in the cloud uses the PhoneGap Build service from Adobe. Unfortunately, Adobe no longer maintains this service. As a result, as of April 30th 2020, iOS apps built through the platform or using the PhoneGap Build service are not being accepted on Apple’s App Store. If you wish to build your iOS app, continue with either the Doing It Yourself section for remote building or Building Your iOS App Locally for local building.”  2020/05/23 Update found in other users posting: per Eric Tieniber “This message is about hybrid mobile apps, not Mendix Native apps. Native apps are not affected by the change in Adobe PhoneGap build, since native apps do not leverage Phonegap/Cordova.” https://play.google.com/store/apps/details?id=com.mendix.SprintrMobile&hl=en_US  “Phil Waterhouse February 8, 2019 Really? not even a forgotten password link on the login page. On mobile got redirected here to this dead end. App last updated March 2018...” My Mendix evaluation had potential only to become a completely total futile effort and failure.-No out of date documentation cleanup-Duplicate sign in required after signed in to developer portal (Academy, Support, etc.)-No responses to Exam questions-No responses to Pricing questions after being badgered and badgered by sales personnel? Who is going to pay tens of thousands of dollars a year for a tool that fails to do what it claims? -Half-baked app templates (including Native) and YouTube videos with most people that cannot enunciate at consistent volume levels, so awful you would need closed captioning to understand. -Incomplete Academy lessons-Academy lessons with bugs that have to be Googled for hours in hopes of a resolution-Failure to be able to build a native app for Google Play AND Apple App Stores-Failure to explain/demonstrate/teach/document simple industry standard Anonymous User Signup, Signin/Login, and Forgot Password/Password Reset  functionality of the box (for Native Mobile or otherwise)-No explanation for usage of the System Domain Model containing User Signin/Login type of information.-Using a “Forums” to provide problem resolution from users as opposed to a true support system-Practically impossible to get to “Submit a request” resulting in being blown off with form letters-The list goes on and on and on, it is obvious there are quality control issues here What Mendix needs is a serious companywide re-org replacing some existing employees with disciplined IBMers who worked for Rochester, Minnesota, USA twenty to thirty years ago over a bunch of University greenhorns. CC:https://support.mendix.com/hc/en-us/requests/new https://forum.mendixcloud.com/index3.html Inquiry@Gartner.com Tony Hemmelgarn, President and CEO at Siemens Digital Industries Software **** END HISTORY**** ****BEGIN NEW PROBLEM**** After creating module folders to move and organize related native components, it appears the cross reference facility failed and destroyed my work to date that was functioning prior to the reorg.  Resolved: Actions: Version Control:Commit, Exit Studio Pro 8.9.0, Reopen Project, Project:Clean Deployment Directory, Run Locally. It is unclear which if any of the actions resolved the issue. ****END NEW PROBLEM****   ****BEGIN NEW PROBLEM**** Time expended in resolution attempt: ~1 work week Mendix Studio Pro 8.9.0 Native Mobile Nanoflow Toolbox Geolocation:Get current location ******************************************* *NO SUPPORTING DOCUMENTATION FOR FUNCTION * *ISSUE NOT FOUND BY OTHERS REPORTING      * *FAILURE WITH ON DEVICE WITH VAGUE MESSAGE* *CONSOLE ERROR WITH VAGUE MESSAGES        * *******************************************   Problem Process Flow: Native Mobile Quickstart App Page:Container:On click:Call a nanoflow Nanoflow:Toolbox:Geolocation:Request location permission->Permission confirmed->Get Current Location Run Locally Samsung Galaxy S8:Android:Make It Native:Click Container (passes permission confirmed):"Error An error occurred, please contact your system administrator. OK" Studio Console:Error:Log node:Client     An error occurred while executing an action of NativeMobile.Customer_Dashboard.container12: undefined is not an object (evaluating 'navigator.geolocation.getCurrentPosition') http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:1106:1646 Ce@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:390:15401 u@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:390:15106 P@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:1107:133 f@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:112:155 http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:112:882 y@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:117:661 C@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:117:1025 callImmediates@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:117:3100 callImmediates@[native code] value@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:3247 http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:1283 value@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:2939 value@http://192.168.0.165:8083/index.bundle?platform=android&dev=false&minify=true:48:1253 value@[native code]0 value@[native code]   Parsed: undefined is not an object (evaluating 'navigator.geolocation.getCurrentPosition') What is undefined? Why are errors showing 8083 when it requires 8080 for app to launch on device? Upon further investigation wasting more hours: If device host is changed to 8083 it returns: "Version not supported  You are trying to connect to an older  version of Mendix Studio Pro which  is not supported by your current  Make It Native App. For a list of  Make It Native apps supporting older  versions of Mendix Studio Pro.    MORE INFORMATION (link)" More information redirects to 3 Direct Download Links 3.1 Make It Native for Studio Pro 8.8 and Below Link redirects to: https://www.dropbox.com/s/z0255q1gcxpvlwl/MiN$208.8.apk?dl=0 Usage of dropbox? Create an account with access to my information? Accept 30 day trial? Give my Google Play credit card? NO WAY! Are you serious? UNBELIEVABLE! AGAIN! ****END NEW PROBLEM****

Empty all the attributes of an object in a microflow

$
0
0
Hi everyone,  I am developping a button that should empty all the fields of several objects linked. What I thought first was to delete and recreate the objects. The problem is that it doesn’t refresh in the screen, I am forced to recall the page after creating the new objects. Is there a way to just say in a microflow: “Empty all the fields of this object” ?  And if not, is there a way to make my first try refresh instantly ?  Thanks for the help, Dan

Slowness while computing Totals.

$
0
0
  Hello . We have developed a timesheet application  enter and maange timsheets.  When user enter hours and tabs out on the time entry page, we have a nanoflow on change event of hour field to calculate line total and grand total.   We are observing performance slowness while computing the totals with 40 or more lines . The total is saved in a persistent entity ( not commited) and hence we are seeing "RequestStatistics" warning message in the  logs.    As per documentation (  https://docs.mendix.com/refguide/transient-objects-garbage-collecting)  it seems we need to set value for  com.mendix.webui.StateSizeWarningThreshold .   Our app is deployed on azure cloud ( modeller 8.6.2) , does anyone know how to set the value on azure cloud. We have tried mutiple formats  (customruntime.MXRUNTIME_com.mendix.webui.StateSizeWarningThreshold , customruntime.MXRUNTIME_StateSizeWarningThreshold or customruntime.MXRUNTIME_com_mendix_webui_StateSizeWarningThreshold) but its not working as we still see the threshold  as 100.  We are not  sure if warning is  causing slowness or we can ignore it.  Any help will be greatly appreicated.  Thanks.  Error from Logs : Request state size of 328 objects exceeds the threshold of 100 objects. Request details: type 'RequestHandlingUtil$' in session 'a3be8410-a49d-4225-88ea-beea7228e60e'. State consists of: * Approval.ApprovalCenterHelper (NPE): 1 objects * Employee.Balance: 2 objects * Employee.EmployeeWorkInfo: 4 objects * Main.DashboardHelper (NPE): 1 objects * TimeSheet.Filter (NPE): 3 objects * TimeSheet.Hour: 259 objects * TimeSheet.Root (NPE): 1 objects * TimeSheet.SortingHelper (NPE): 1 objects * TimeSheet.TimeSheet: 1 objects * TimeSheet.TimeSheetRow: 37 objects     

Get Cookie from SOAP response header

$
0
0
My question is similar to this https://forum.mendixcloud.com/link/questions/5836. Is there a way to access “Cookie” information from SOAP Response (see below) using Microflow.   I can only access following information in $latestHttpResponse but not cookie. $latestHttpResponse/Content has no cookie information. Without this cookie, I will not be able to get session id from third party integration service.

Undo a user action by doing Ctrl-Z

$
0
0
Hi, I am looking for something that could allow the user of the app, after he commited a value on an object attribute, to sort of undo it (rollback of the object maybe) by typing Ctrl-Z. Is there a module that can do this ? Thanks for the help, Dan

Java Compile Errors with E-Mail With Templates Module

$
0
0
I am getting this error within my Mendix application. If anyone can help me out I would appreciate it.    Buildfile: C:\Users\fabia\Documents\Mendix\Oefenen-main\deployment\build_core.xml compile:     [javac] Compiling 74 source files to C:\Users\fabia\Documents\Mendix\Oefenen-main\deployment\run\bin     [javac] C:\Users\fabia\Documents\Mendix\Oefenen-main\javasource\emailcostum\actions\SendEmail.java:21: error: package emailtemplate.proxies does not exist     [javac] import emailtemplate.proxies.Header;     [javac]                             ^     [javac] C:\Users\fabia\Documents\Mendix\Oefenen-main\javasource\emailcostum\actions\SendEmail.java:117: error: package emailtemplate.proxies.constants does not exist     [javac]         String separator = (String) emailtemplate.proxies.constants.Constants.getEmailAddressSeparator();     [javac]                                                                    ^     [javac] C:\Users\fabia\Documents\Mendix\Oefenen-main\javasource\emailcostum\actions\SendEmail.java:147: error: cannot find symbol     [javac]             for (Header header : this.HeaderList) {     [javac]                  ^     [javac]   symbol:   class Header     [javac]   location: class SendEmail     [javac] C:\Users\fabia\Documents\Mendix\Oefenen-main\javasource\emailcostum\actions\SendEmail.java:165: error: package emailtemplate.proxies.constants does not exist     [javac]         if(emailtemplate.proxies.constants.Constants.getSendingEnabled()) {             [javac]                                           ^     [javac] Note: C:\Users\fabia\Documents\Mendix\Oefenen-main\javasource\encryption\pgp\PGPUtils.java uses or overrides a deprecated API.     [javac] Note: Recompile with -Xlint:deprecation for details.     [javac] 4 errors BUILD FAILED C:\Users\fabia\Documents\Mendix\Oefenen-main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 5 seconds

Internal Server Error

$
0
0
Hi there,   When I try to create an app this message always appears: Internal Server Error We failed to register your account in this app. Please try again later or contact the administrator of this app. We tried everything, close the browser, re-open, clear cache, and cookies, still same issue! Looking for your support.  
Viewing all 83469 articles
Browse latest View live