Hi there, I have 2 cases for which I need some colors in my data grid: 1. Different background color of the row based on attribute value The color is based on a boolean attribute (active/inactive). 2. Different background color of an (editable) cell of a datagrid based on the value (positive or negative) The color is based on an integer either being positive, negative or 0. What is the easiest way to solve this? Unfortunately, the Data Grid extension is not maintained anymore :( Kind regards, Tim
↧
Give a cell or a row of a data grid a color based on an attribute value
↧
Users view all records but can only edit records they created.
Hello, I am try to create security in which if a users can view all records created but only edit records that they have created. I am fairly new to Mendix and this is our first project, so would like to see if someone could help. Thanks Gio
↧
↧
An error occurred while initializing the Runtime: null
We have this error when run Mendix locally. I did modify the database entity and did export and import. Can anyone help? com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: null at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:328) Caused by: java.lang.NullPointerException: null at com.mendix.connectionbus.mapping.MapperBase$.toKey$2(MapperBase.scala:60) at com.mendix.connectionbus.mapping.MapperBase$.$anonfun$toUniqueConstraintsCache$2(MapperBase.scala:63) at scala.collection.immutable.List.map(List.scala:283) at com.mendix.connectionbus.mapping.MapperBase$.toUniqueConstraintsCache(MapperBase.scala:63) at com.mendix.connectionbus.mapping.Mapper.updateCache(Mapper.java:635) at com.mendix.connectionbus.modelsynchronization.analysis.DatabaseAnalyzer.analyzeAndFillMigrationCommands(DatabaseAnalyzer.java:112) at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndFillMigrationCommands(ModelSynchronizationUpdater.java:144) at com.mendix.connectionbus.modelsynchronization.ModelSynchronizationUpdater.analyzeAndRender(ModelSynchronizationUpdater.java:103) 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:304) at com.mendix.basis.impl.MxRuntimeImpl.initializeConnectionBusAnyway(MxRuntimeImpl.java:405) at com.mendix.basis.impl.MxRuntimeImpl.start(MxRuntimeImpl.java:310) 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:129) 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:745)
↧
OData use in Microsoft Power BI
Anyone successfully connected Power BI to a Mendix OData source? I keep getting "We couldn't authenticate with the credentials provided. Please try again." in Power BI. I successfully connected running the same project in the modeler locally. I have opened up the proper request handlers already.
↧
Nanoflow daysbetween function
Hi I am trying to calculate days between two dates(current datetime and datetime value from object) in nanoflow. I see that daysbetween function is not available in nanoflow. Is there a way to calculate daysbetween in offline mode? Thanks
↧
↧
Is Java Script a required skill for Mendix developers?
Hi, I've started my mendix self-learning journey and about to finish the "Become a rapid developer" learning path, and I plan to continue with the advanced learning paths afterwards. I strongly believe that hands-on experience is a key to become a real Mendix developer! But, before starting any training, I want to be fully equipped with all necessary tools. My question is about Java Script, is it a required skill when it comes to developing with Mendix? Should I better learn it well? Bearing in mind that I have no previous programming knowledge. Thanks in advance! Hanaa
↧
Beginning - greetings to the community
Hello everyone, today begins my experimentation on Mendix. Comunity, tell me good luck. Good job to you and "thake </ br> from code!".
↧
REST POST Json
Hi, I am having problems withe sending Json data to npm json-server. On the server I have structure like this below.
[
{
"id": 0,
"type": "Call Report",
"date": "16-06-2018",
"category": "Opportunity",
"priority": "high",
"creator": "John Doe",
"text": "Lorem ipsum Opp",
"link": ""
},
{
"id": 1,
"type": "Visit Report",
"date": "12-10-2018",
"category": "Installed Base",
"priority": "medium",
"creator": "John Travolta",
"text": "Lorem ipsum IB",
"link": ""
}
] What i need to send to it is this:
"id": 0,
"type": "Call Report",
"date": "16-06-2018",
"category": "Opportunity",
"priority": "high",
"creator": "John Doe",
"text": "Lorem ipsum Opp",
"link": "" I have already tried it with Ionic and it works ok. Now i am trying to POST it with microflow. I've selected Custom request template and now I don't know how or what to put in field to send some fixed data just to see if it works. if I send something like this on image, it creates a new object on server but it contains only next increment of id not my data. I also don't know how to check what it actually sends in request payload. I see it triggers post in console on the server but in browser I don't see it. Main thing is what do I need to put in the field above to send Json data through ? I've tried with export mapping and suitable object but it doesn't work. Miha
↧
dropdown three-level linkage
I have a situation,I want to achieve the three-level linkage of the year, month and day by drop down,just Like the following but the drop down can be used to display and edit enumeration attributes,Is there any solution? thanks!
↧
↧
requestcom.mendix.core.CoreRuntimeException: Missing Oauth configuration, please contact the application administrator
this is the error I am seeing when I am using the Oauth2.0 provider provided by mendix...Erwin !! its now able to authenticate/ authorize the users from our custom IDP provider...but it gives an error while coming back to the oauthconfig page...I think!! am I missing anything here?? I have followed all the steps provided in the instructions? Problem accessing /callback/OauthModule. Reason:
Exception occurred while processing requestcom.mendix.core.CoreRuntimeException: Missing Oauth configuration, please contact the application administrator
↧
The page you requested was not found. You are redirected to the home page.
Did any one of you face this error "The page you requested was not found. You are redirected to the home page." when you try to redirect to a page which has its Page URL property set to /Sample/{Id} My URL is: http://localhost:8080/p/Sample/8444249301319882
↧
Unable to start the App on Premises Windows Server
I am trying to run my application on an EC2 instance with Windows 2016 server. when starting the application as a service it gives me an error "unable to start the app, Can not start in acceptance mode with security disabled"
↧
getting y axis scale with different values automatically when used report chart.
we have used below OQL query to show date in x axis and count of containers in y axis using report chart. SELECT count(*) as cont_count,MyFirstModule.Containers/ET as cont_date from MyFirstModule.Containers group by MyFirstModule.Containers/ET we are getting the below result. actual result will be , for 10/18/2018 date we have to get count as 2, and for remaining count will be 1.
↧
↧
Keypress in the modeler
Is it my laptop or is the keypress not working well in Mx7? For example ctrl-c or ctrl-v is terrible. Anyone experiencing the same?
↧
Oauth2.0 module usage: resolveuserbyemail microflow usage...does this mean that user will parallelly have to be present in the mendix db as well??
Hello, I have reached a stage wherein I am passing emailid to resolveuserbyemail and trying to get the user details...but that wont happen as resolveuserbyemail microflow will always check from its db which wont have data from our proprietary openid connect based idp provider..this step should ideally be not there as we have already done the required authorization / authentication from our IDP provider...so, whats the probable alternative for this? is this step ignoreable? or am I essentially missing something?
↧
Feedback by Mendix on the ideas forum.
Hi all, do you also think that the idea forum does - again - not get that much attention by Mendix? At the beginning of this year we got this statement And indeed the feedback on ideas had improved quite much. But when I look at the idea forum now there are so many ideas with no feedback at all and even less by Mendix. what do you think? regards, Fabian
↧
Login Page
Can I modify the default login page provided by Mendix ? -If Yes then how to modify it. -If No then how to add our custom login page and how to bound this custom login page with the user entity? Please provide steps in detail.
↧
↧
Give a cell or a row of a data grid a color based on an attribute value
Hi there, I have 2 cases for which I need some colors in my data grid: 1. Different background color of the row based on attribute value The color is based on a boolean attribute (active/inactive). 2. Different background color of an (editable) cell of a datagrid based on the value (positive or negative) The color is based on an integer either being positive, negative or 0. What is the easiest way to solve this? Unfortunately, the Data Grid extension is not maintained anymore :( Kind regards, Tim
↧
Experience points not increasing
Is anybody else having the issue that the experience points are not increasing, even if you are active in the modeler, the portal, the forum,...?
↧
Constants in on-premise Pivotal CloudFoundry
On-premise beginner question: how do I reach Mendix constants with the CloudFoundry command line tool and how can I set them?
↧