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

Endless provisioning loop

$
0
0
Hi there, it seems like my Web Modeler is stuck in an endless provisioning process loop since yesterday. I’ve already tried reaching out to the support team but haven’t gotten an answer yet. I am really thankful for any help because it is urgent.   Best regards Egzon

Linux Mint support

$
0
0
For installing modeler the Mendix OS requirements are: 5.1 Operating System Microsoft Windows Server 2008 SP2 and above Debian 8 (Jessie) and above Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7 CentOS 6, CentOS 7   So, I could try and/or dual install a distro as required – but to save me some time – question: → will the “modeler” run on Linux Mint (based on Ubuntu)

nested listviews performance

$
0
0
In our application I want to show a list of persons and for every person a list of all days of the month and for every day the list of prestations. It’s some kind of a horizontal timeline calendar view. something like this Ma di wo do 01 02 03 04 ...... 29 30 31 person 1 8h 4h 8h 8h ...... person 2 8h 8h 8h 4h ...... I managed to build this with a listview in a listview in a listview but this generates a lot of /xas requests, because it retrieves first all employees, for every employee it gets the days of the month over association, and for every day it gets the prestations (worked hours) over association. How can I optimize this?

Mendix 8 will only support 64-bit Windows

$
0
0
At Mendix World 2019, many amazing Mendix 8 features were revealed. If you weren’t there, you can start by reading this post: https://www.mendix.com/blog/a-3-step-leap-into-your-digital-future-highlights-from-mendix-world/ Another “feature” of Mendix 8 will be that it only supports 64-bit Windows. We know from our analytics that less than 1% of our users are running 32-bit Windows and this message is for them: To enjoy the benefits of Mendix 8, it’s time to join the future and install 64-bit Windows!  The installer will be smaller and the maintenance costs for us at R&D will be lower. Note that Mendix 7 and earlier will keep supporting 32-bit Windows just fine.

Logout error in Production env.

$
0
0
Hi all,   We have an application where for the Logout part we call a microflow that redirects the user to the URL: “ApplicationURL*    /oidc/endsession   In the sandbox env. it works fine but in our Production (LIVE) env. it gives the following error: Server Error 404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.   Does any of you have an idea of what is causing this issue and how we could solve it? Many thanks in advance, Adrian

How to get index of object in its list (java)?

$
0
0
Hi guys   I simply want the index of an object in its list, so I would expect that the following code (lastIndexOf or indexOf) should work: // BEGIN USER CODE int i1= ObjectList.lastIndexOf(CurrentObject); but I always get -1 (not found in the list, for both methods). While the objectID is definitely in the objectList. So what do I wrong, did i miss something how to get it work in Java? EDIT 1: when looping through the given list and looking for the iterated object, it finds the index...so probably it has to do with the parameter object? for (IMendixObject __ObjElement : __ObjList) { int i1= __ObjList.lastIndexOf(__ObjListElement); Core.getLogger("obj").warn("index: " + i1); } for (Obj ObjListElement : ObjList) { int i1= ObjList.lastIndexOf(ObjListElement); Core.getLogger("obj").warn("index: " + i1); }  

Selection removal in nested list view

$
0
0
Hello all I have a problem I can’t find a solution to with nexted list views. I am listening to the selection with a data view. I want to be able to select an item in the nested level 3 and only have that selected in the whole container (all nexted levels). When I click a new item in level 3 it deselects all other level 3 selections. Is this possible somehow? Its not just a styling issue, I can remove the selection with CSS. Looking forward to any pointers. KR Ron

Deployment\Data\Files - How to tell which file is which

$
0
0
In the project folder\deployment\data\files\ there are lots of 2 digit folders that then have 2 digit subfolders. Inside the subfolders are files that appear to be named with a GUID and no extension.  How can we tell which file is which?  Is there a table in Mendix that we can query or some other way to determine the files and their real names?

Deeplink ignoring microflow allowed roles

$
0
0
Hi   I stumbled across this issue where a deeplink has the setting to NOT allow guest users and only certain user roles were allowed to execute this deeplink. I set these user roles via the allowed roles in the microflow settings.  But now I found out that the allowed roles setting is completely ignored and every user that can login, is able to execute the microflow behind the deeplink.   I know I can fix this by making custom logic in the microflow behind the deeplink, but I’m curious as to how this is possible.  

Can I simplify these entity access rules?

$
0
0
Hi, I’m using access rules to limit the amount of data available to users of an offline tablet app. I have two entities, A and B. A has a start date attribute, and a 1-N relation to B. I first limit access to the A objects, by their date. So if the start date is ± 7 days from the current date, it will be accessible. Then, I want to only include the B entities, that are related to an A entity (relation != empty) that is also within that time window. Do I also have to add the ± 7 days rule in the B entity access rules (via the relation to A), or will it automatically apply, since I am already limiting access to A by that rule? Domain Model: A Access Rule: B Access Rule (simple version): B Access (complex version):

Creating a login form with Register and forgot password link

$
0
0
How can I create a login form with Register and forgot password link?  When Turning On Security Level, its showing a default login page of Mendix.  Is it possible to customize it? I have also downloaded LoginForm widget from app store. But I am not understanding how to implement Register option to that, how to connect an entity to this widget and how the login button is working (How the login button is verifying the credentials / to which entity). Can anyone help me on this?

FInding Empty Vlaued Attributes from entity

$
0
0
I wan to fin objects with empty values from a entity or datgrid attribute with empty value. lest say i have 10 different attributes,  A, B, C,….. and so which represent differnt items, I want to extratct and show a message showing list of empty  atttibues.. I down want to use exclusive split on each attribute one by one I need some thing loop ...Anyone have some clue? 

Decimal Values displaying incorrect Datatype??

$
0
0
Decimal Values being displayed wrongly into Percentange.  For Example 4 / 10 should be 0.4 but it is displaying as 40 %.  Note: The datatypes used in attributes are all “Decimals”.

Anonymous access to a certain object over a path

$
0
0
hi all, I am trying to find a solution to a problem where i am into a situation where i need to have anonymous access to an entity but i should only be able to read and edit the object which i created” the issue is the anonymous session is a generic object on its own.

"No Development Line Selected" error on Web Modeler

$
0
0
Hi, When I try to edit my app in Web Modeler, it keeps giving me "No Development Line Selected" error: although it is linked to main line: What is the solution? Best Regards, Sameh

file download on android device

$
0
0
Hello, I want to use the file manager widget to download a file. Everything is working fine on the desktop. On the smartphone I’m not able to open it on chrome. Sometimes the menix app opens and ask for a login. BTW: I use the sandbox-lik within chrome to start the app on the mobile. I have studied the forum but could not find a solution which addresses my problem. Is there anyone who has solved that problem? Do I have to build a native android app to implement that download Many thanks!

Filter list by before or after date

$
0
0
Is it possible, within a microflow, to filter a list of entities by a date attribute, based on whether or not they are past a certain specific date? As far as I can tell, I can only find a filter option to filter for dates that are equal to a specific date, not before or after.

Report generates values from all objects in entity, despite data restricted to per-owner

$
0
0
I have an issue with data security in an app that I’m building. I have an entity whose objects are restricted to only being visible to their owners, by having the XPath restriction “[System.owner = ‘[%CurrentUser%]’]”. When viewing the data in a data grid, this works fine, and only objects created by the current user are visible to them. However, I have another page which generates a report based on the data in this entity, and is only supposed to use the data that the user would otherwise have access to. However, the report instead generates using all the data on the system, including data that should otherwise be hidden from the user. Considering that the access rules should not allow this, I’m confused as to why this happens.    As for the specifics, the report itself is generated as a non-persistible ReportData entity via a microflow, which is updated every time the report page loads.

Convert Json to XML

$
0
0
Hi, I'm getting Json data in a string field from a REST retrieve service. I want to convert this Json data to XML, so I can easily import it to my domain model. Is there a Java action available to convert the Json to XML? If there is another better solution, please let me know as well.

Create custom error message.

$
0
0
Hello, I need help creating a custom error message, and storing its content somewhere in order to use it as input on another page or widget. Do i need to create a new entity to store this custom error message? I would greatly appreciate any help. Emilio M.
Viewing all 83469 articles
Browse latest View live


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