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

Mobile page styling (CSS)

$
0
0
This is probably a problem that I am over complicating but I'm not seeing the answer.  I have a phone layout that is used throughout the app and this layout uses the typical header at the top of the page.  I'd like to be able to style the header differently based on whatever section of the mobile app the user is viewing.  That's easy enough but it seems the header always uses a class of h1 and mx-title and I can't change that for pages that I want to use other additional styling.  I've tried duplicating the layout and applying a different class but it ignores it every time and uses the h1 and mx-title so I feel like I'm forced to use one set of classes and one set of styling for the entire app. I'll make up an example.  Basically I want to use my layout that I'll call: "mobile_layout_1" and in some of the pages I'd like to style the header blue and the other half green.   .mx-title { font-size: 20px; font-family: $font-second; font-weight: 400; } h1, .h1, .h1 > * { font-size: $font-size-h1; font-family: $font-second; font-weight: 400; color: $brand-primary;  

Default sort order doesn't work anymore in search part

$
0
0
We have upgraded our application from Mendix 6 to Mendix 7.3. After the updrade the sorting with the search area is not working anymore. When checking the console it said "order by entity.id asc". I tried to remove the search attribute and add it again but with not success.   I tried to reproduce it in a new project and there it worked. The result was "ORDER BY "myfirstmodule$klanttype"."code" ASC".   Is this a bug in Mendix 7.3? Is there a way to fix this without changing the default sort order for every dropdown in the screens?

bug? X-Content-Type-Options: nosniff in header for IE8

$
0
0
Does Mendix have X-Content-Type-Options: nosniff in header? Amazon Web Services recommends to use it for a security reason. With X-Content-Type-Options: nosniff enabled, Image viewer on IE 8 does not work.  (No problem for Chrome and Edge)

How to get selected value from a grid and bind that value to another entity in Microflow.

$
0
0
How to get selected value from a grid and bind that value to another entity in Microflow.

right alignment of number related attributes on a page

$
0
0
I found in _input.scss this part: // Input and textarea get properly aligned .form-group div[class*='textBox'] > label, .form-group div[class*='textArea'] > label {   } but attributes based on a decimal or integer has also class*='textBox' what is the best solution to align ALL your number related attributes in your app right?

How to add a Microflow button to a template grid?

$
0
0
How to add a Microflow button to a template grid?

Deployment to Oracle problem

$
0
0
Hi Guys,   I am having the following problem while deploying an application using a local Oracle server. I am getting the following error message:   -------- An error occurred while initializing the Runtime: Could not retrieve version information from system tables -------- com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: Could not retrieve version information from system tables    at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:352) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: Could not retrieve version information from system tables    at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseInformationGetter.getVersionsAndLastSyncDate(DatabaseInformationGetter.java:101)    at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseInformationGetter.getDatabaseinformation(DatabaseInformationGetter.java:58)    at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseAnalyzer.analyzeAndFillMigrationCommands(DatabaseAnalyzer.java:91)    at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndFillMigrationCommands(ModelSynchronizationUpdater.java:137)    at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndRender(ModelSynchronizationUpdater.java:96)    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeModel(SynchronizationManager.scala:192)    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyzeCurrentDatabase(SynchronizationManager.scala:113)    at com.mendix.connectionbus.modelsynchronization.SynchronizationManager.analyze(SynchronizationManager.scala:102)    at com.mendix.connectionbus.ConnectionBusImpl.collectDatabaseSynchronizationInformation(ConnectionBusImpl.java:307)    at com.mendix.basis.impl.MxRuntimeImpl.initializeConnectionBusAnyway(MxRuntimeImpl.java:429)    at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:334)    at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:279)    at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.java:49)    at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.java:30)    at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:119)    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)    at org.eclipse.jetty.server.Server.handle(Server.java:561)    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:334)    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:104)    at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:247)    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.produce(EatWhatYouKill.java:140)    at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:243)    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:679)    at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:597)    at java.lang.Thread.run(Thread.java:748)   I believe this is due to some missing grants for the Oracle user I am using. Would you have a list of all the necessary grants?   Thanks in advance for any advice.   Cheers,   Bart 

Server Response showing Data Fields

$
0
0
Hi Mendix Community,   Recently, we had a security audit on our existing application servers. This has to do with the HTTP Request from the client system to the Mendix Server(Mendix Server Console). Once the request is submitted, the response string shows all the fields and values of the request object. Can we change some security settings/ changes in mendix to avoid the data to be visible in the response action.   Please find the request and response contents: ---------------------------------------------------------------------------------------------------------------------- Request ---------------------------------------------------------------------------------------------------------------------- POST /xas/ HTTP/1.1 Host: citiclosing.digitalrisk.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: https://citiclosing.digitalrisk.com/index3.html X-Mx-ReqToken: 219e4602d6092e0 X-Csrf-Token: 28d28097-9685-4315-a3e2-6009122052b6 Content-Type: application/json X-Requested-With: XMLHttpRequest Content-Length: 162 Cookie: AlteonP=AC27BJsBEKx3feQBvRfYTg$$; AlteonP=AO23RJsBEKyH+aBmhKqUAg$$; XASSESSIONID=6d2027a8-a679-4883-89a9-0db00bfcceb3; xasid=0.43089efc-c188-423c-ac0cdd19e7c55ead; DeviceType=Desktop; Hybrid=false; originURI=/ DNT: 1 Connection: close {"action":"retrieve_by_xpath","params":{"xpath":"//System.User","schema":{},"count" :false,"aggregates":false},"context":[],"profiledata":{"219e4601fd29d40":2196}}    ---------------------------------------------------------------------------------------------------------------------- Response ---------------------------------------------------------------------------------------------------------------------- objectType" : Administration.Account, "guid" : 30117822508040195, "attributes" : -{ "LoanFilterFlag" : -{ "value" : false }, "EmailSignature" : -{ "value" : }, "WebServiceUser" : -{ "value" : false, "readonly" : true }, "Review_Type_CM" : -{ "value" : }, "Name" : -{ "value" : varcher }, "Refresh" : -{ "value" : 0 }, "AltContactPhone" : -{ "value" : }, "HRActive" : -{ "value" : true }, "HireDate" : -{ "value" : 1245542400000 }, "QcReviewView" : -{ "value" : false }, "FilterFlag" : -{ "value" : false }, "QCRate" : -{ "value" : 0.2 }, "DoNotUpdateWave" : -{ "value" : false }, "NewPassword" : -{ "value" : }, "homedepartment" : -{ "value" : FNMA PL }, "FirstName" : -{ "value" : Vicki }, "Title" : -{ "value" : Senior Loan Review Analyst }, "NewMessages" : -{ "value" : true }, "OldPassword" : -{ "value" : }, "AltContactEmail" : -{ "value" : }, "ConfirmPassword" : -{ "value" : }, "IsManager" : -{ "value" : false }, "HRInactiveDate" : -{ "value" : }, "Active" : -{ "value" : true }, "FullName" : -{ "value" : Vicki Archer }, "LastLogin" : -{ "value" : , "readonly" : true }, "IsAnonymous" : -{ "value" : false, "readonly" : true }, "LastName" : -{ "value" : Archer }, "EmployeeID" : -{ "value" : 1005 }, "Blocked" : -{ "value" : false }, "Administration.Account_SelectedUserRole" : -{ "value" : }, "Administration.Account_Selection" : -{ "value" : }, "Administration.Account_Entity" : -{ "value" : 35465847065542657 }, "Administration.Account_Manager" : -{ "value" : 30117822508040299 }, "Administration.Account_SelectedTasks" : -{ "value" : }, "System.User_Language" : -{ "value" : }, "Administration.Account_SelectedClient" : -{ "value" : }, "Administration.Underwriter_Lead1" : -{ "value" : }, "Loan.Loan_EligibleAccount" : -{ "value" : }, "Administration.Account_Branch" : -{ "value" : 64739244643451082 }, "Administration.CurrentPipeline_Account" : -{ "value" : 6473924464345089 }, "Administration.Account_Client" : -{ "value" : }, "Administration.Message_Account" : -{ "value" : }, "Administration.Account_DefaultUserRole" : -{ "value" : }, "Administration.Account_StateCertifications" : -{ "value" : }, "Administration.Account_Language" : -{ "value" : }, "Administration.Account_GeneralCapacityConfig" : -{ "value" : }, "Administration.Account_TeamLead" : -{ "value" : }, "QualityControl.Level_Account" : -{ "value" : }, "Administration.Account_SelectionQueue1" : -{ "value" : }, "System.User_TimeZone" : -{ "value" : }, "Administration.PredefinedRole_Account" : -{ "value" : }, "EmployeeData.EmployeeStats_Account" : -{ "value" : }, "System.UserRoles" : -{ "value" : },"Administration.Account_PredefinedRoleSelected" : -{ "value" : }, "Administration.Account_SingleWorkingTask" : -{ "value" : }, "Administration.Account_LicenseSupervisor" : -{ "value" : 30117822508040299 }, "EmployeeData.EmployeeData_Account" : -{ "value" : }, "Administration.Account_LoanType" : -{ "value" : }, "Loan.QueueSelection_Account" : -{ "value" : }, "Administration.Account_DefaultClient" : -{ "value" : }  

Issue in sending request object in Rest call

$
0
0
Hi, I am calling a rest service from Mendix modeller(version 7.0.9) I am passing Json Structure in Rest call activity(Post operation) as below: {{ "dtls1":{{ "totalOneObligor": "10", "flatObligo": "22" }}, "dtls2":{{ "partyId": 35, "Name": "ROAV", "TypeId": "Personme", "firstCreditDate": "6-MAR-18", "lastCreditDate": "12-MAR-18" }},   "dtls3": {{               "userId": "12345", "userRole": "OFFICER"             }} }}   But in the request if i debug, only one at the top of request(in this case dtls1) is getting value while sending request. not others. Can any one know what is wrong in this request object? Thanks in advance!

Browser console shows: "TypeError: Cannot read property '__cached_mxObj2' of null"

$
0
0
HI all, I just stumbled across this error while testing and I currently have no clue what is causing this TypeError: Cannot read property '__cached_mxObj2' of null From the stacktrace it doesn't look like it's caused by any custom code, but from the Mendix client itself. Has anyone seen this error/know what would be causing this? regards Fabian  

AWS IoT Connector - Not Able to subscribe

$
0
0
Hi All, I’m trying to implement a simple scenario where my mendix application subscribe to a AWS topic, using the AWS IoT Connector Module (app store) I created the following simple microflow in order to subscribe my application to a “platform/vincent/ topic:   https://drive.google.com/file/d/1yCoeiigH2z_tIl06fzpRO2pXkcUzEvCR/view?usp=sharing https://drive.google.com/open?id=1nOsvb0Noo5tw71GBc65rIudyzbr6g6CS   It seems that the connection is established successfully:   https://drive.google.com/open?id=1KudF287HSfb4N6XJQIeX9PY0dt8U7KC_   But when I publish a message from the AWS IoT console I don’t receive anything. Do you have any idea how can I resolve this problem?   BR Frank

Passing an object from one Mendix app to another

$
0
0
Hi,  Please take into consideration the following scenario. I have two Mendix apps. In the first app I have a page with a data grid with single selection mode enabled. When an item from the list is selected, it is used to go into another page, specific for that item. However, that page is in another separate app to which I get redirected.  In that page from the second app I need to have the item selected from the page from the first app. So my question is: how can I pass the selected item to the second app? Kind regards, Razvan

Is Microsoft Internet Explorer 11 still supported?

$
0
0
In Docs at https://docs.mendix.com/refguide/system-requirements, Microsoft Internet Explorer 11 is supported. However, it seems Edge or Chrome supported in index.html as  What are differences between IE11 and Edge from Mendix server? and  What is the best setting for http-equiv="X-UA-Compatible" ?

PDF document that displays graphs ?

$
0
0
I would like to create a PDF document that displays graphs based on data in my application (time series, 500 data points). Any ideas or examples about how to accomplish this smoothly ?

Progress bar not closing in MX 7.5.1

$
0
0
Hello, We have a progress bar that doesn't close after the microflow has finnished. I have tried all differetn combinations for blocking/non-blocking and synchronos/asynchronos. . Anyone else have this issue? // :) Fredrik

Converting built-in database data into SQL, PostgreSQL or Oracle

$
0
0
Currently I am working on a demo project and make use of a built-in database. The project is getting serious and I've put lots of data into the built-in database. Is it possible to convert my data into a SQL server, PostgreSQL or Oracle database?

Mendix Knowledge Meetup [20 mar 2018] - Nieuwegein, NL

$
0
0
Hi all, It's time for yet another bimonthly Mendix Knowledge Meetup. The main purpose of these sessions is to share knowledge and best practices with other developers. In March we organize the next knowledge Meetup. To make it a success, we need you! Let us know in what kind of topic you are interested and also if you would like to present! We still have 2 slots available. Do you want to showcase a project you've recently finished together with the challenges you have encountered and how you've solved them? Have you build a cool new widget or module that you want to show and explain to the community? This is your chance.   Agenda 18:00 - 19:00 - Dinner 19:00 - 21:00 - Presentations Blockchain with Mendix In this session we will explain the fundamentals of blockchain technology and show how we have combined this technology with RFID and IoT to build a smart app. Jethro Borsje, CTO at TimeSeries Freek Brinkhuis, Mendix developer at TimeSeries   To be determined To be determined   21:00 - 22:00 - Drinks General information Please let us know if you join us for dinner and if you have a special diet.  The knowledge sessions are hosted by Mendix Expert Developer Anthony Dickinson and MVP Kilian Croese. Contact Anthony or Kilian to reserve a slot in the agenda for this meetup or a future knowledge session: ADickinson@conclusion.nl or KCroese@conclusion.nl. ----- We organize monthly community meetups. One month we organize a free format meetup where you can freely ask questions and meet the other developers. The other month we facilitate a knowledge session where the community shares best practices and Mendix knowledge on a specific topic. Check the complete meetup calendar here. 

Progress bar stuck

$
0
0
Hi, We have a situation where the progress bar gets stuck immediately after the log in. So the user logs in, a progress bar shows up and it should disappear as soon as the home page is populated with all of the specific user information. However, it does not and it stays there without blocking the user to interact with the app. Therefore, the user can continue working on the app, but has that progress bar stuck on the screen. A refresh of the page resolves the issue. We were not able to reproduce the issue on our side, therefore we are not sure how to help. Can you please help ? I saw some other topics about this which were kinda old already so maybe someone already has some experience with this. Much appreciated.   Thanks, Razvan

Progress bar not closing in 7.7.1

$
0
0
It doesn't seem consistent, but sometimes even when a microflow has finished, the progress bar gets stuck on the page. In the case of the progress bar having the blocking option, it then hangs the page until the page is refreshed/closed. There are no errors in the browser console.  I have seen previous questions but there have been no answers. Has anyone found out what the problem is? Cheers, Harry

Bad Message 400 Error, when I run locally on Modeler 7.12.0

$
0
0
I was able to run my project. All of sudden, after I run locally, and "View". The web page shows:  Does anyone know why this happen?  I cannot test it locally now.  
Viewing all 83469 articles
Browse latest View live


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