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

Build API for mendix app

$
0
0
Hi Team, When I try to hit the build API via postman I am getting following error code. I have followed the this link Build API | Mendix Documentation which is provided by mendix. This is the following error response (attached Screen Shot) when I have tried with postman. The same issue has been replicating in free app and licensed app. Kindly provide a solution on the below issue. Thanks in advance. This is the body of the content for this Post URL.

Cannot commit

$
0
0
Dear experts, I am checked out into a branch on a project that I am working on. This branch is created off of main. When I go to commit, I get an error saying “directory {directory} was added, but already contains version control information. Make sure you use SVN export to copy directories into your app directory. For now you can move the directory somewhere else and use SVN export to copy it into the app directory. See the Version Control Scenarios documentation page for more information on file management.” I have tried following the steps listed, but can not get it to work. Any help would be apprecaited.

How to get data from any many association in document templte

$
0
0
Hi all, Please help me in one issue. I am working on one project. They want one report in word file. I used document template for it. Example: application has two entity case detail and and it has m to m association with account entity. In document template I used dataview and added a case detail entity to it. I am getting all data correct but when I try to get m to m associated data can’t able to get it the association is not visible at the time of selection the attribute. What can I do with this. Thanks in advanced

How to change the background image of the app with a variable via the app itself

$
0
0
Hi everyone! So I am working with some custom CSS for an app, specifically adding a background image in the ‘body’ class which can then be applied to all the pages. I added the file in the public folder, and called this file in the ‘body’ class. It works fine as is, however, now I would like to be able as an administrator to change the background image of the app. Therefore, I can only see it happening in two ways, none of which I would know how to implement: - Upload the image in the app directly (just like a header image or something like that) and make that the background image of the pages - Change a variable in the admin panel of the app that can be linked to different background images in the css files Does anyone know how to go about this? Thank you in advance :)

Conditional Formatting in Grids

$
0
0
Is there a way to add conditional formatting to grid values? The idea is to have the color of a cell change based on what value it is. I am trying to use CSS classes to get it to work, but I either can’t figure it out or its not possible and I need another way.

Deeplink module(s), ForgotPassword and Mendix 9.6

$
0
0
Hi ! Has anyone figured out how to get ForgotPassword module and Mendix 9.6.1 to work ? Cause there are obviously now 2 Deeplink modules : the old one which is required by ForgotPassword which I can’t download / install anymore with Mendix 9.6.1, and a new “REST Deeplink module”, which works perfectly, but not integrated with ForgotPassword... Any ideas ? Thanks !

Stripe checkout integration on Mendix

$
0
0
Hi has anybody used the checkout stripe on Mendix ? Api intégration seems easy but checkout window more complex. Many thanks for your help

New user in workflow

$
0
0
Hi Team , I am currently working on an application where I have implemented workflow . We have 3 roles defined: User Primary Manager Senior Manager User will create a request and click “ request approval” button and on that button workflow triggered . The request then go to primary manager and based on “approve “ it will go to next step in workflow to senior manager for approval . Post senior manager approval workflow ends . Now I have a situation where we have 50 request raised already and they are on primary manager step . Means primary manager can see those 50 request in his task inbox. Now I have to add one more user with user role as “ Primary Manager “ . When I created one more primary manager role that person is not able to see the request raised in past ( 50 old request ) in his task inbox . New Primary Manager can only see the request which raised after his role creation . My Question is how can I show the new Primary Manager all those old request ?

Request a restore of a snapshot to an Environment FAILED

$
0
0
Hi all, I created a snapshot with succes of a specific environment I'm trying to restore the created snapshot to an environment of the same ProjectID as above. But I get the following error: { "errorMessage": "Source snapshot not found.", "errorCode": "NOT_FOUND" } In the Mendix documentation the query parameters are: source_snapshot_id (String): Identifier of the snapshot which will be restored. This value is required and must belong to a snapshot within the same application, although it could be a different environment. db_only (Boolean): Boolean flag. Set this to true if you are doing a database only restore operation. It defaults to false if not present. Now I created an Export mapping with these values and filled them as followed: - source_snapshot_id = snapshot_id of the created snapshot - db_only = false The headers are: Content-Type: 'application/json’ Mendix_Username: xxx@xxx.xxx Mendix-ApiKey: ******* Maybe I am not doing this right, but the documentation in mendix (https://docs.mendix.com/apidocs-mxsdk/apidocs/backups-api/#38-request-a-restore-of-a-snapshot-to-an-environment) looks like it is incomplete. I miss the body. The endpoint I am using: https://deploy.mendix.com/api/v2/apps/{1}/environments/{2}/restores 1= ProjectID 2= EnvironmentID Every Mendix Sprintr api is implemented, but this one is geving me an headache…. I hope I am doing something stupid, so it can be fixed quickly :) Please help :-)

Grid Cell Styler with CSS

$
0
0
I have been trying to get conditional formatting for a grid in my app. I was reconmened to use Grid Cell Styler(https://marketplace.mendix.com/link/component/106254), because my app runs off Mendix 8.18. Im not sure if I have configed the widget right or if I did my CSS wrong, but I have tried everything that I know. I was wondering if I could get a second look at it or some advice.

Background of filter's dropdown menus in datagrid 2 appears transparent

$
0
0
Has anybody else experienced this issue when using filters in datagrid 2, where the background appears transparent and becomes confusing and hard to read because it overlaps with the test in the background? Any help would be well appreciated

Do I still need to invite users after setting up SSO login?

$
0
0
hello forum, I installed MendixSSO 3.0.0 in my Mendix project and set it up according to the official MendixSSO documentation. But when I upload to the cloud for users to access, I need to invite them by mail and they need to register to access my project. Is there a way to directly give the site address so that users can access it directly. thanks a lot !

Deploying Mendix on SAP Cloud Platform with a Trial account

$
0
0
I tried to work with SAP cloud Platform in Mendix using a trial account. I follow the steps in the tutorials below, but once i try to add an SAP environment in Mendix I got the following message: Your account doesn't have an organization or space in your chosen region. Please configure these in the SAP Cloud Platform or check the documentation. and i went through the documentation and I followed the same but couldn’t get the expected result. Then you get into the world of SAP. Hundreds of different portals with all kinds of accounts required, but now here I can find how to add an organization or a space to my account. Anyone Suggest me how to resolve this issue ? Thanks Haritha kakarla

Not able to insert their specific roles respectively inside System.UserRoles during sign up page

$
0
0
In my Food Delivery native-app, I have created few user roles which are Vendor, Rider, Admin and Customer. However, I am not able to insert their specific roles respectively inside System.UserRoles during sign up page.

An exception occurred during Runtime Shutdown

$
0
0
Hello, everyone, The program I created appeared the following error when running locally. Is there any way to solve this problem? The following is the screenshot of the problem and the text explanation. Thank you so much for your great patience and huge help. My version of Mendix Studio Pro is 8.18.3. So the first question is: An exception occurred during Runtime Shutdown. -------- java.lang.NullPointerException: null at com.mendix.basis.impl.MxRuntimeImplBase.shutdown(MxRuntimeImplBase.java:761) at com.mendix.m2ee.appcontainer.actions.ShutdownAction.execute(ShutdownAction.java:45) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:501) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:834) The second question is: An error occurred while executing action 'update_appcontainer_configuration'. -------- com.mendix.m2ee.api.AdminException: An unhandled exception occurred! at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:149) Caused by: com.mendix.m2ee.appcontainer.util.AdminRuntimeException: Runtime port '8080' is already in use at com.mendix.m2ee.appcontainer.actions.UpdateAppContainerConfigurationAction.execute(UpdateAppContainerConfigurationAction.scala:62) at com.mendix.m2ee.appcontainer.actions.UpdateAppContainerConfigurationAction.execute(UpdateAppContainerConfigurationAction.scala:46) at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandler.handle(HttpAdminHandler.java:129) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:501) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:806) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:938) at java.base/java.lang.Thread.run(Thread.java:834) Much appreciated if any help could be provided.

Security group for application load balancer

$
0
0
Hi there: I'm currently deploying a Mendix application on Private Cloud. Since it is an internal application, I added the following OperatorConfiguration. ーーーーーーーーーーーーーーーーーーーー annotations: alb.ingress.kubernetes.io/scheme: internal alb.ingress.kubernetes.io/target-type: ip kubernetes.io/ingress.class: alb According to AWS documentation(https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-update-security-groups.html), for internal ALB, there are some recommended Inbound / Outbound rules, such as setting Inbound source to VPC CIDR. However, when I deployed the Mendix application, the ALB security group and the 0.0.0.0 inbound rule was automatically created. For Mendix, is the rule created by default recommended? If you have any best practices, please let me know.

Grid Cell Styler in Mendix 9.1 and Custom Class Question:

$
0
0
When i used the Grid Cell Styler, it alert error: Cannot read property 'className' of null TypeError: Cannot read property 'className' of null And for the “class to apply” , i define a custom class called “background-Specialcel” in \theme\styles\web\sass\app\_custom.scss , then use calypso to compile it Why it alert this error in Cell Style? thank you. And if leave “column name” blank, it works on entire row but i just want work on one column .

Grid Cell Stlyer Error.

$
0
0
Hello! I am getting a “Cannot read property 'className' of null” error when trying to use the Grid Cell Styler widget from the app store. I have attached a screenshot of the format of my rules (all of them are like this, just referencing different columns). I am checking if "isLatest” attribute is set to true then apply background-color: green. Can anyone suggest , How to fix it? Any help would be appreciated. Thanks & Regards Bhanu Chauhan

Grid Cell Styler Cannot read property 'className' of null

$
0
0
Hello, I've run into some trouble with the Grid Cell Styler app. I've gotten this working in other parts of my application, but now, whereever I try and use it, I'm getting the following error: Cannot read property 'className' of null TypeError: Cannot read property 'className' of null at Object.remove (http://localhost:8080/mxclientsystem/mxui/mxui.js?636820652142062117:5:101138) at O.(anonymous function).S._handleResults (http://localhost:8080/widgets/CellStyler/widget/CellStyler.js?636820652142062117:308:68) at _loop (http://localhost:8080/widgets/CellStyler/widget/CellStyler.js?636820652142062117:236:31) at O.(anonymous function).S._evalRules (http://localhost:8080/widgets/CellStyler/widget/CellStyler.js?636820652142062117:263:17) at O.(anonymous function).S.a [as refreshGrid] (http://localhost:8080/mxclientsystem/mxui/mxui.js?636820652142062117:5:54082) at O.(anonymous function).S. (http://localhost:8080/mxclientsystem/mxui/mxui.js?636820652142062117:51:104559) at o (http://localhost:8080/mxclientsystem/mxui/mxui.js?636820652142062117:20:12970) at s (http://localhost:8080/mxclientsystem/mxui/mxui.js?636820652142062117:20:12735) at r (http://localhost:8080/mxclientsystem/mxui/mxui.js?636820652142062117:51:13942) at http://localhost:8080/mxclientsystem/mxui/mxui.js?636820652142062117:51:14548 The one thing I have noticed is that where I have it working, the Data Grid (with data source set to XPath over an association) to the Data View the grid is nested in. Also, the Data View listens to a Data Grid). I think this might be an order of operation type of issue. I've tried placing the grid cell styler before/after the Data grid and inside/outside the container. Any suggestions much appreaciated.

Error in teamcenter integration module

$
0
0
I am successfully able to add item in teamcenter with the module by using the required configuration. Getting the below error in advanced search in teamcenter integration module: Please guide how to resolved it.
Viewing all 83469 articles
Browse latest View live


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