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

Text widget - Unwanted automatic conversion from text to integer/long

$
0
0
Hi, I'm experiencing an automatic conversion of String values to an Integer or Long. The value is now shown as 9,5053E+14. It should have been shown as 950530000081693. Anybody an idea what I can do to stop the automatic conversion and rendering as a value? Thanks! Toon Verschoor   He Robert, Here a bit more info. It's all String ...  

Mindsphere user scope do not match to any given Mendix roles

$
0
0
Experts,        I have downloaded “Siemens Mindsphere Asset Monitoring Example” sample app and was able to build the mendix project, deploy it successfully to our Mindsphere tenant. I am able to run this app locally with no issues, but when tried to run it from the Mindsphere launchpad, it gives me the below error: “The assigned MindSphere user scopes: do not match to any given Mendix roles: User, Admin Please check role assignment for app and user”   I made sure that the user roles defined in Mindsphere are being defined and used on Mendix side as well. Also, to let you know that the app deployment via cloud foundry also went well without any issues.  Appreciate if anyone can help me fix this issue.  FYI...    Hitting F12 on the browser, shows me the following in the console tab:  

File dropper widget

$
0
0
How could I use the File dropper widget to upload a document to s3? Is there any provision to have custome changes in this widget ?  

No page templates

$
0
0
For phone web I am not able to see any page templates. Getting this problem – Your project does’nt contain any page template you can create a page template locally or download a UI resource package from app store.

Mendix SSO using SAML - Authenticate multiple apps with single login page

$
0
0
Hi, I am configuring SSO for Mendix App using SAML module. As shown below Mendix App and an external app both are configured registered with same Idp. I need to automatically authenticate external app when user is authenticated with Mendix using SSO url. But in my case, it is throwing user is not authenticated error when I call any external app end points.  External App has a login service, I think I should call this service after mendix app authentication but SSO url is redirecting me to IdP login page and redirects me back to Mendix landing page after successful authentication. I tried calling the external app login service on a button action but its again redirecting me to Idp login page and asking user to enter credentials which I want to avoid. Any suggestion on how to authenticate multiple apps with mendix app authentication?

Problems getting a local database uploaded to a node

$
0
0
Hi, I'm trying to upload a local db to a node. I'm trying to follow the info on this page https://docs.mendix.com/developerportal/operate/restore-backup, chapter 5. One of the first issues is the backup of the local db. I've a Postgres db 9.16.21 and the pg_dump is 9.6.21 as well. The documentation states that it must be 9.6.17 or lower. I've not been able yet to find pg_dump 9.6.17 to download. And, if I would, would it work with a 9.6.21 db … the 9.5.25 pg_dump version is not working – incompatible versions. So, my first questions are: Is it possible to upload a backup of a local db version Postgres 9.6.21 version to a Mendix node at all? How do I create the db? If it is true that I can only use a pg_dump 9.6.17 version and this works in combination with a 9.6.21 db, where can I get this pg_dump 9.6.17 version?   Follow on questions will be about the .metadata file and how to determine the values that must be added to this file. But that's for later, after I actually have a backup that should work :-) Thanks for reading! Toon Verschoor

XPATH issues in ListView

$
0
0
I have come across an issue where XPATH does not return the correct result in a listview from the database. Scenario: In my application users go through series of steps in a wizard and assign a package they are working on to different user within their organization. On this assignment page, I have a listview which would retrieve users (stored in its own entity that is generalization of Administration.Account) using XPATH. The XPATH retrievers users with certain role (not all roles).  Setup:  User Entity (generalization of Adminstration.Account) Organization Entity (connected to User) Package entity (connected to both user and organization) User entity is connected to System.UserRole There are total of about 12 user roles for different modules The listview is nested within Dataview Issue: The page that has listview, I am using data source as User entity with XPATH and following conditions: [Module.User_Organization/Module.Organization/Module.User_Organization = '[%CurrentUser%]'] ← This retrieves all users from current user’s organization since there are more than one organizations and the package can only be assigned to users from same organization as the current user [id != '[%CurrentUser%]'] ← Excludes current users since you cannot assign it to yourself [System.UserRoles/System.UserRole/Name != 'roleX'] [System.UserRoles/System.UserRole/Name != 'roleY'] [System.UserRoles/System.UserRole/Name != 'roleZ'] [System.UserRoles/System.UserRole/Name != 'Administrator'] ← want to exclude users with these roles but get the rest of them   The issue I am having is that the listview is acting very sporadic with following symptoms: Sometime the listview will not return any result at all Sometime the list of users will be there  I have added sorting by Full Name (which doesn’t work and the users are listed in random order) I have added search field by Full Name but when I try to search using someone’s name, it doesn’t do anything. The list seem to be getting refreshed but all of the users are listed there and nothing is getting filtere and the order stays random Also, if a user has multiple roles like ‘roleX’ and ‘roleY’ or ‘roleZ” and ‘Administrator’, it will still list this user in the view even though both or all are in excluded list If a user only has one of the role from excluded list, then the user won’t show up which is working as intended but it doesn’t work for multiple users. I have tried using microflow as DS but the multiple role issue is still there and also I don’t get the search capability

I want to see list of user values from database with head type search

$
0
0
I want to see the list of names with head type search box.

How to sync object in device

$
0
0
In a nanoflow I am calling microflow in which creating and commiting one object. once microflow activity fineshed in same nanoflow trying to retrive that object from database, but getting error. Tried with sync ibjec to device but its not working In db that object is getting stored but not reflecting back in nanoflow.. any suggestion?

GridSearch: performance issues with multi select dynamic drop down

$
0
0
This one has puzzled me already for a good part of the afternoon.  So have a listview and I use the dynamic dropdown filters from https://marketplace.mendix.com/link/component/49364. This works all fine but recently I found out I have serious performance problems when users start multi-selecting more than 5 items in the dropdown.  I analyzed the queries that are send to the database and was quite surprised to see that the more items you select, the longer the query becomes. Mendix keeps on adding clauses to the query. The query gets longer and longer the more you items you select, and at the same time slower and slower as well until a point that it becomes totally unworkable. Now maybe this has nothing to do with the widget itself or course. Did anyone experience something like this before? Any direction you could give as so where to start digging some more.   

Integrating downloaded widget to toolbox

$
0
0
Hello, I have downloaded google charts widget from the market place. It is .mpk file in my downloads. How can i integrate the downloaded widget to my toolbox. Am using 8.18.2 version TIA :)

Basic Messaging Application Help

$
0
0
Hello,  I’m just starting out with Mendix and I think this is probably a simple question.  I have the following data model and frontend for a basic messaging application. The first two images shown will work. The problem is that I want to add a create a new taskmessage part on the same page as where the current messages are listed (third screenshot). It seems Mendix doesn’t like this “all data views receiving object form the page parameter must have same entity”. How can I get around this?   

xpath question for user roles

$
0
0
in this xpath, i am looking to set a user role for a user.   [id = '[%UserRole_Strategy%]']   before it can come to the retrieve option, i am able to get the current users user-role based on a pre-defined mapping. so user1 has Strategy as a user-role based on the mapping. now i want to set this user role to the user.  Note that there will be multiple users with different user roles, so i want this field to be dynamic, based on user login. i want to understand how can i change the “Strategy” value with a variable that can put the right value into this field just after %UserRole_’ just to update i am able to get it in a variable just before this step, but not able to add it as a variable… need suggestion..

Pop-menu : Disable or hide specific menus

$
0
0
Hi, Is there any way to disable/enable or hide/show particular menus depending on the value of an attribute in Pop-up menu widget?

Multiple sessions per user

$
0
0
The Multiple sessions per user option allows users to sign in multiple times through different clients. I was wondered if we  can have an exception to this option for only administrators (mxadmin's)  Is that valid in mendix 7.23.3 ?!!

How to copy image in nanoflow?

$
0
0
Hello, How to copy image in nanoflow? Thanks Prajakta

Menu/Dynamic Side Bar Kind Navigation

$
0
0
Hi Team,  Need help in getting side bar kind div like shown below.  I Need 2 Levels of Navigation here.  I cant use Navigation Menu like shown here due to the reason the menu will be populated dynamically.  Thanks in advance.  

Unable to download log files from production lager than 100MB

$
0
0
Hi, I need to download some of the archived log files from our production server, but i keep getting an error for some files. I suspect it is because the files are over 100MB, is there any way i can still download these log files?

ApplicationRootUrl not recognized from yml file and SAML configuration has issues

$
0
0
We configured SAML and when we want to make it active, it is giving error.  Looking in to the Stack trace, it fails with a null pointer exception when it try to get ApplicationRootUrl. Although the ApplicationRootUrl is set properly in .yml file, application did not recognize. Any possible solution directions?

Pluggable native widget drawer navigator, facing unexpected error

$
0
0
I was trying to build Pluggable native widget drawer navigator, facing unexpected error   ERROR in ./node_modules/@react-navigation/drawer/lib/module/views/assets/toggle-drawer-icon.png 1:0     Module parse failed: Unexpected character '�' (1:0)     You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
Viewing all 83469 articles
Browse latest View live


Latest Images

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