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

How to send my local database?

$
0
0
Hi! I want to send my local database to a new colleague who recently joined the project I am working on, but I am unable to find how to do this. Can anyone help me? Thanks in advance!

Possible to force mobile profile in Chrome on android tablet?

$
0
0
Question: Is there a straightforward way to enforce the mobile setup for a Mendix Progressive Web App (PWA) in Google Chrome on Android tablets, even if the browser is set to desktop view? Some users have their browsers configured this way, resulting in missing functionalities. Although there are various methods to tackle this problem, can Mendix provide a solution within its platform to manage this specific scenario?

Best Practice for committing Lists

$
0
0
Hello All, I have a scenario where, in a loop, I retrieve a set of objects. That set of objects could be 10s up to 100s of records, nothing too crazy. Inside the loop we do something to these objects and need to commit them. Would it be better to commit the list in the loop which will have somewhere between 100 and 200 iterations... or append each list to a new list and do a mass commit after the loop, which would contain anywhere between 1k-10k objects (I would guess 10k is very unlikely but a worst case scenario, on average would expect 2.5-3k). I'm guessing the latter option is better as that many objects probably isn't too overwhelming, but figured I'd see what other people think. Thanks!

Large mpr file - GIT LFS support

$
0
0
Hello, We're currently experiencing a critical issue that is preventing us from migrating from Mendix SVN to our private Github enterprise repository. Explanation of the issue: On one hand, we have the mendix framework that tracks any changes made in a project into a single .mpr file located at the root of the project. This file becomes bigger and bigger after any commit, file changes, file additions etc... On one of our project, this .MPR file is currently weighting 110MB. Its size cannot be reduced and can only increase after each changes. On the other hand we have the majority of GIT servers that puts a limit on the maximum file size that they can handle. That is, if you try pushing a file that is larger than a certain size, the GIT push will simply fail and it won't be possible to version that file on this GIT server. The only solution possible on that point would be to increase this max file size limit on the GIT server itself but it requires you to have admin privileges, which git users often don't have. For example, in our case, we're using a github enterprise server that is not managed by us directly. It is impossible to increase that limit. The default max file size limit on the "GitHub Enterprise Edition" is 100MB, you can read this directly on github itself https://docs.github.com/en/enterprise-server@3.7/repositories/working-with-files/managing-large-files/about-large-files-on-github#about-size-limits-on-github-enterprise-server We tried several ways of importing our current project onto our private github repository. All our attempts are failing because of this limit. The last procedure we followed was: https://docs.mendix.com/refguide/on-premises-git/#47-moving-a-subversion-app-to-git There is a good news however since storage of large file size is still made possible through the use of a git extension called GIT LFS. In short, GIT LFS replaces big file size in git by pointers, while storing actual file content on another server. GIT LFS is supported by a large majority of git provider. The only thing a git client must do in order to support it is to download the extension (~10MB) and install it by running "git lfs install". The problem however is that Mendix framework does not support the GIT LFS extension! That is, mendix generates a large .mpr file at the root of every of its project that is doomed to endlessly grow by design and yet mendix does not support the extension that would help circumvent that issue on majority of its GIT server providers. This seems like a nonsense to me. (Or perhaps do you have a plan to break this .mpr file ? ) The question has already been asked before here though: https://community.mendix.com/link/space/studio-pro/questions/114034 This question stays without response now for 1 year and 3 months. As you may know, large organisations have strict security policies that prevent them from hosting their code on a third-party company. Using mendix GIT repositories (configured with a higher max file size) is therefore not an option. On top of that Mendix is sunsetting the support of SVN on its version 10 and will only support versioning with GIT. I contacted the mendix support twice these last months and their reply stays the same: they’re not going to support LFS nor they’re going to break this nonsense .mpr file. Questions then: - Are you planning to support GIT LFS in a near future? Do you have any roadmap to share with us?→ They’re not going to support it. See answer below: “Git LFS is indeed not supported by Mendix because LFS is designed for the files that don't change often. It is also not expected to be added in the future to our roadmap.” - What are you planning to do to fix the issue of the ever growing .mpr file? Do you have any roadmap to share with us? - What options do you provide to large organizations wanting to host their mendix project on their own GIT servers?

AI generate DataBase

$
0
0
Would you please check why I am receiving a connection error with Maia, even though my regular internet connection is working fine? I am using the latest version. 10.13

How to retrieve Team tasks list in mendix using TC module

$
0
0
How to retrieve Team tasks list in Inbox in mendix using TC module

Taking HEX directly from database

$
0
0
I have a list view inside that i have a container for that containier i want to set the back ground image based on the HEX code. The hex code is an string attribute and part of color entity. How can I use that hex code to display background image.

Mendix application trigger

$
0
0
Is that feasible/way to call the Mendix application (.mpk) as background job without UI. Is the functionality have to be run as background job. How to call/trigger the .mpk from a batch file.

Dataview doesn't show content when Breakpoint is not enabled

$
0
0
Hi all, I have an issue with my Dataview. I'm currently trying to show a data with Dataview which the datasource comes from a Microflow. However, when I tried run the application, if I put a breakpoint on the "Create Object" in the microflow, after debugging it, the content is shown. But, when I remove the breakpoint from the create object, the content in data view is not shown. Is there anything I missed here? Page and Data View Microflow Logic Data is shown with Breakpoint on "Create Object" Data not shown after turning off the breakpoint in Create Object Thanks in advance.

flow for complete button on review task in mendix using TC Module

$
0
0
i have completed task in task to perform section and it is moved to task to track now. In task to track when I open it to mark it complete that time complete button is not working. it

Perform Signoff on Teamcenter workflow task

$
0
0
Hello, I am trying to do Perform Signoff on the Teamcenter workflow task by providing following data to "PerfromActionInput" Java action. supportingvalue='SOA_EPM_approve' supportingobject= model object action='SOA_EPM_complete_action' i also tried by providing action = 'SOA_EPM_approve_action' but i am getting error "Signoff not provided". Please let me know if i am missing anything to be passed to input or if i am providing some wrong input. Thanks, Guru

Mendix Licensing

$
0
0
Licensing is based on user number also there ? could you please share some idea about the licensing Please share your best choice of going for licensing. Thanks in advance.

Can‘t upload deploy package to cloud

$
0
0
Dear experts, I found my Mendix can't upload deployment package to the cloud. I checked the log, no errors while building, the deployment process stopped when start to upload deployment package. The 1st img shows the process stooped when start to upload. The second one shows the right process. Even I deploy the same package I deployed successfully before I would fail too ,So what I can do with this situation?

one or more error occured ( object reference not set to an instance of an object)

$
0
0
System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object. at Mendix.Modeler.Deployment.View.CloudFoundry.CloudFoundryDeprecationCheck.Check(IProject project, ProjectChanges changes, IProblems problems, CancellationToken cancellationToken) in Mendix.Modeler.Deployment.View\CloudFoundry\CloudFoundryDeprecationCheck.cs:line 26 at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass6_0.b__1(ProjectChanges changes) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 62 at Mendix.Modeler.Projects.Changes.ChangedDocumentTracker.TryProcessChangesSync(Action`1 changeProcessor) in Mendix.Modeler.Core\Projects\Changes\ChangedDocumentTracker.cs:line 30 at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass6_0.b__0() in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 53 at Mendix.Modeler.Common.ResolveCache.<>c__DisplayClass10_0.b__0() in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 45 at Mendix.Modeler.Common.ResolveCache.WithCache[T](IProject project, Func`1 action) in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 62 at Mendix.Modeler.Common.ResolveCache.WithCache(IProject project, Action action) in Mendix.Modeler.Core\Common\Problems\ResolveCache.cs:line 43 at Mendix.Modeler.Projects.Checks.ProjectChecker.RunProjectChecks(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 49 at Mendix.Modeler.Projects.Checks.ProjectChecker.<>c__DisplayClass5_0.b__0() in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 38 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.ExecuteInContext[T](Boolean unlockImplementation, Func`1 code) in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 42 at Mendix.Modeler.ProtectedModules.ProtectedModulesUnlocker.Do[T](Boolean unlockImplementation, Func`1 action) in Mendix.Modeler.Core\ProtectedModules\ProtectedModulesUnlocker.cs:line 29 at Mendix.Modeler.Projects.Checks.ProjectChecker.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core\Projects\Checks\ProjectChecker.cs:line 38 at Mendix.Modeler.Core.View.Problems.BackgroundCheckRunner.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core.View\Problems\BackgroundCheckRunner.cs:line 41 at Mendix.Modeler.Core.View.Problems.BackgroundCheckRunner.Check(IProject project, CancellationToken cancellationToken) in Mendix.Modeler.Core.View\Problems\BackgroundCheckRunner.cs:line 50 --- End of inner exception stack trace ---

Docker Image Creation

$
0
0
Hi, I am facing an error in creating the docker image for Mendix. The error is : => ERROR [builder 6/6] RUN mkdir -p /tmp/buildcache /tmp/cf-deps /var/mendix/build /var/mendix/build/.local && 0.4s ------ > [builder 6/6] RUN mkdir -p /tmp/buildcache /tmp/cf-deps /var/mendix/build /var/mendix/build/.local && chmod +rx /opt/mendix/buildpack/compilation /opt/mendix/buildpack/git /opt/mendix/buildpack/buildpack/stage.py && cd /opt/mendix/buildpack && ./compilation /opt/mendix/build /tmp/buildcache /tmp/cf-deps 0 && rm -fr /tmp/buildcache /tmp/javasdk /tmp/opt /tmp/downloads /opt/mendix/buildpack/compilation /opt/mendix/buildpack/git && ln -s /opt/mendix/.java /opt/mendix/build && chown -R 1001:0 /opt/mendix /var/mendix && chmod -R g=u /opt/mendix /var/mendix: #17 0.392 /usr/bin/env: ‘python3\r’: No such file or directory Please give suggestions to solve this error. Thanks and Regards, Harshraj Singh

Trouble using docker for mendix

$
0
0
Hi there, i don't know if these are usefull info but i'm using mendix verision 10.9.0 and i'm on windows 10. I want to deploy my mendix app by using dcoker. Though I've never used docker in my life, and i'm a bit confused on why the guides i'm following don't ever work. Could you help me understand how to build a docker image from a mendix app? I followed this guide step by step, but on the part where i needed to put the commands in the CMD, steps 5 or 6, these errors accured: Also, in the guide he was "assuming that all the docker dependencies were installed", but what kind of dependences does docker need, and how can i check if i installed that? Then i gave this guide a shot, and came across the same errors, always in the part where i needed to put the commands in the CMD. Please help me understand what am i doing wrong, possibly with another step by step guide of what i need to do to deploy mendix via docker containers. I don't even need the database model, and i need to do this fairly quickly. Thank you so much!

Mendix application host in server

$
0
0
can i host mendix application [ for test ] for production in the same Mendix server ?

Can't able to retrieve the sytem.image entity in microflow

$
0
0
Hi In a listing page, I used system.image entity to display an image along with its name. However, when I retrieve the same entity elsewhere, the console shows a size of 0.

how to save the data in non relational database

$
0
0
I have a mendix App requirement where Client wants to how to save the data in non relational database . can we save the data in NO SQL database or I want to use mongoDB as default database to my mendix app how should I do that

What is the best practice for commiting objects in native mobile?

$
0
0
Hi! I am developing a native mobile application and I am wondering what the best practices are for creating and committing objects to the database. In some cases, I use NPE entities for the user to fill in the fields, do the validations, and if everything is okay, create the persistent related object and commit it to the database. In other situations, I use the persistent entity for the user to fill in, then I create an NPE equal to the persistent one and do the validations. If everything is okay, I commit the object to the database. As I only started working with mobile recently, I am wondering if what I've been doing is fine and if there are some best practices for this. Thanks in advance!
Viewing all 83469 articles
Browse latest View live


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