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

Having one drop down change another one (Master/Slave control)

$
0
0
Hi – I’m new to Mendix and have been struggling with this. I have one control that based on the value will affect a second (slave control). In this example,  the permissions values that have the attribute ‘AllRegions=True” need to cause the ‘Region’ to be set to empty. (I can get the ‘regions’ to hide, but I can’t get the microflow to blank out the value of ‘Region’ Microflow FORM   Region is not set to empty MICROFLOW DETAIL Any pointers to what I am doing wrong would be appreciated.

Login Form widget from app store is not working properly on mobile app.

$
0
0
Hi, I was using login form widget from App Store. Features are working fine on web application but on Mobile app I am facing    “issue while displaying image of show and mask password option.”   Thanks in Advance

MicroflowTimer_widget and network disconnection

$
0
0
Hi  There is a MicroflowTimer_widget on a page, which calls a microflow periodically.   When the network is disconnected (e.g WiFi ) on the machine which is running, to simulate some network failure, following exception from mendix is repeatedly thrown, why is that?    MicroflowTimer_widget_MicroflowTimer_0: An error ocurred while executing microflow:  Failed to fetch Error: Failed to fetch     at new t (http://localhost:8084/mxclientsystem/mxui/mxui.js?637299861950517281:40:77360)     at http://localhost:8084/mxclientsystem/mxui/mxui.js?637299861950517281:35:104435     at http://localhost:8084/mxclientsystem/mxui/mxui.js?637299861950517281:20:1761     at Object.throw (http://localhost:8084/mxclientsystem/mxui/mxui.js?637299861950517281:20:1866)     at s (http://localhost:8084/mxclientsystem/mxui/mxui.js?637299861950517281:20:656)   Thanks

XPath constraint not working for selectable objects

$
0
0
Hi everyone, Is it possible to do an attribute comparison when using xpath in the selectable objects option of a reference selector?  So I have an entity called ‘Request’ and I set an attribute called ‘Team Code’ to a string (say CM01).  I then have an entity called Users and these all have an attribute called TeamCode where some have CM01.  I have an assoication between these 2 entites. I’m trying to return the users that have the same TeamCode as the attribute in ‘Request’.   I know that I can bring back the list of users I want if I do something like ‘TeamCode = ‘CM01’’, which is me hardcoding the CM01.  But this will change depending on who is logged in.  So if I set this value in the ‘Request’ Attribute, I want to do: [TeamCode = WebApp.Request_Users/WebApp.Request/TeamCode] This doesn’t appear to work at all.   The reference selector is pointing to right datasource which is WebApp.Request_Users/WebApp.Users/WebApp.Users.EmployeeName  (EmployeeName is actually what I want to appear in my reference selector list) I’m using  a Page Parameter of Request and a Snippet that has an entity of Request. Is it possible? EDIT: I'm not using the Administration.Account object.  The Users entity is one that I have created.  They are different modules in the project, but my account  that I am logged in as has full read and write access to the data.

OQL - Sub SELECT statements in SELECT?!

$
0
0
  Hi all,  I have a dynamic excel export where I build as many columns as required, but when looking at the OQL it creates, I am not able to pick the right cell under the relevant header.   SELECT RowAnswer as RowAnswer0, RowAnswer as RowAnswer1   FROM "Reporting"."HeaderItem" AS headerItem     INNER JOIN headerItem/"Reporting"."RowItem_HeaderItem"/"Reporting"."RowItem" AS rowItem    INNER JOIN "headerItem"/"Reporting"."HeaderItem_Report"/"Reporting"."Report" AS refobject    ON refobject/ID = 40250921669626909    WHERE headerItem.ColNo = 1 ; This results in a table like this for example (where all rows have the same result since there is only one where clause pointing to the one header only): Vendor       Status Docusign     Docusign Workshare   Workshare FlipLet          FlipLet HighQ           HighQ   What is the best way to achieve a SELECT where the each column will have a where clause, e.g. RowAnswer0 where headerItem.ColNo = 1, RowAnswer0 where headerItem.ColNo = 2, and so on, so I end up with a result like the one below: Vendor       Status Docusign     In Progress Workshare   To Start FlipLet          In Progress HighQ           Completed   I have tried a number of options but back to square one as none worked. The model. The RowItem_Report was not intended, but it was one way to get some of the output as required

MQTT Setup Assistance

$
0
0
Can anyone assist with sample microflows and visualization of MQTT?  I installed MQTTClient, but cannot get it setup properly to visualize the Json payload from the topic subscription.  

Which Core Java function does the Mendix modeler use when performing XPaths?

$
0
0
In the modeler it encouraged to create XPaths that filter on the most objects first. For example This:   //ModuleName.Client[FirstName = 'John' and Status = 'Active'] should execute faster than this: //ModuleName.Client[Status= 'Active' and FirstName = 'John'] When I tried to replicate this in a Java action using Core.retrieveXPathQuery they take almost the same amount of time. So I’m wondering if the Modeler uses a different function – I’d like to replicate the behavior in the modeler.  

Where a Signature is stored as an image?

$
0
0
Hi all! So I’m trying to create an app where someone can add a signature in a page.  I’m using the signature widget I found on the app store. My scope is to add this image on a pdf file but I cannot understand how to add it and also where is it stored.  Do you have any suggest? Maybe another trick for this scope? 

Unable to connect to app store

$
0
0
Anyone else having issues with downloading apps from the App Store? All off these apps result in the same message.   I get this message in 7.0.2 but in previous versions aswell.

Data Binding / String Interpolation in a Layout?

$
0
0
Hi All, I was wondering if there is anyway to achieve data binding or string interpolation in a layout.  Specifically, just how in a page I can create a text widget and then edit the caption & add parameters to display different values based on a datasource (microflow, entity, etc.) I want to be able to achieve this in my layout. Since you cannot add a data view in a layout i was curious if anyone knows a work around Thanks in advance for any help! Arshia  

How to pin the footer of a phone specific page

$
0
0
Hi all, I have created a phone specific page using the Hybrid_Phone_Default (Atlas UI_Resources). See attached screenshot. When I use the app, the footer (includes the home-button) is placed in the middle of the screen. It moves down, when lines are created, which appear between the header and the footer. Thanks for your support. Kinde regards Siegfried

Redirect URL

$
0
0
Hi ,  When I right click the link and select open link in new tab redirects to the home page  Is there a way to get the right click context menu on these links?

Unable to get a member from variable $dataView3, because you do not have sufficient permissions

$
0
0
All, I am seeing this issue while access attribute of dataview1 from dataview2. Dataview2 is inside dataview1. This code was working fine in Mendix 8.8.1 and started seeing this issue when I upgraded to 8.10.1. Required access is give to login user. Any inputs are greatly appreciated.    An error occurred while evaluating conditional editability expression in Payment.Payment.textBox6: Unable to get a member from variable $dataView3, because you do not have sufficient permissions to "Payment.BillingMethodDTO.IsEditable". Error: An error occurred while evaluating conditional editability expression in Payment.Payment.textBox6: Unable to get a member from variable $dataView3, because you do not have sufficient permissions to "Payment.BillingMethodDTO.IsEditable".     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:73:306494     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:73:306623     at y (http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:20:6196)     at http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:73:305958     at ue (http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:35:7913)     at e.computeValue (http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:35:14214)     at e.trackAndCompute (http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:35:14040)     at e.get (http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:35:13091)     at oe (http://localhost:8080/mxclientsystem/mxui/mxui.js?637299866224072983:35:7367)

Data persistence issue in mendix application which deployed in mindsphere

$
0
0
HI All, We have created persistable entity in domain model and created overview page for same entity in mendix and we deployed it into mindpshere using cloud foundry, then created application in mindsphere to view page created in mendix .we were able to see the mendix application in mindsphere.And also we tried to insert data into Mindsphere postgres database using the overview page.After Some time When we refresh the page data is getting automatically erase.  Kindly provide solution on above issue.

USB Scanners with Mendix Web App - Values Not Being Passed Through

$
0
0
Has anyone had issues using barcode scanners with their mendix web app? Setup Barcode Scanner : Honeywell Hyperion 1300g Scanner is connected to computer register via USB. Browser – Mozilla Firefox Mozilla Extension – Tamper Monkey   Process We have a page that takes in input 14-digit SKU into a textbox Upon “key press enter” or the action button, they both trigger a microflow that takes that input SKU & inserts it into a our shipment details entity If we do not want to hand key it, the alternative is to use our scanner. How our scanner works with the mendix app : We’re using our scanner with Mozilla firefox, and a mozilla extension add on called “tamper monkey” that allows us to execute scripts. Our script essentially takes in incoming scan value, and then assigns the form textbox with the new 14-digit value & executes the button click on the page that runs the microflow. Its pretty basic, and I’ve got the attached snippet that I’m using. We currently do this for our other web applications var text_id = document.querySelector('[id*="Shipment_Edit.textBox6"]').id.replace("-label", ""); //set textbox value with incoming scanner message document.getElementById(text_id).setAttribute('value', incomingScannerMessage); //Button Click var button_obj = document.querySelector('[data-button-id*="2.Shipments.Shipment_Edit.actionButton4"]') button_obj.click(); //Refocus on input document.getElementById(text_id).focus();   Problem When using a keyboard, this works perfectly fine!! There are no issues at all, and we figured we could just code our scanners to copy the incoming barcode into the textbox, select the action button and perform a button object click via JavaScript as described above. What we’re seeing is that if you don’t touch the textbox and edit it in anyway, we’re able to successfully paste values into the textbox with our scanner and Mendix seems to in-take the contents of the textbox just fine and the microflow executes like normal, repeatedly. HOWEVER -  whenever we decide to go into the textbox and edit manually with the keyboard, its almost as if the state of the textbox changes and it unable to assign new values that are being pasted into the mendix textbox. Mendix appears to be saving the old value and new subsequent scans are unable to pass in, and our error logging within Mendix indicates its still trying to execute on the old SKU value. But if we decide to hand type via keyboard and click on the button, it’ll work.   I have to refresh the entire application and start over for the scanner to work again – that is…until we decide to click into the textbox and tamper with it.  

How to get custom headers in published rest service

$
0
0
Hi, When a client sends custom http headers key/value (e.g. authorization key, content-type etc), How do I capture that in my rest service? Thanks

Does Native Builder supports proxy settings?

$
0
0
Try to use the Native Builder as described  here: https://docs.mendix.com/howto/mobile/native-builder#github-token Get an error “[github] Invalid access token” Revoked the token and reacreated it – still the same error – so i believe it is related to connectivity. I’m working in a coorporate proxy environment. So the question is how to configure proxy settings for the Native Builder? Or how to enhance logging to find what’s going on?

Native builder - appcenter won't show app

$
0
0
Hi,    I'm following the guidelines for deploying a native app and i'm stuck at the prepare command;  i'm getting the indicated warning (step 4.3 / https://docs.mendix.com/howto/mobile/deploying-native-app) which indicates that the app center configuration has failed. As is part of the app centers security policy. The solution states that I should navigate to the app center and select my newly created app. The problem is that my app doesn't show in the app center.    Any suggestions?

changing default homepage does not work in native app

$
0
0
When a default homepage was previously set to “page A” and you change that to “page B” then reloading the app in the make it native app does not show the new default homepage. No matter which combination of starting, stopping, cleaning deployment directory, rescanning QR-codes etc. one tries, it always keeps pointing to the original default homepage. Any idea what might have caused this? P.S.: No role based home pages have been set, that could be overwriting the default homepage with the exception of a login page for anonymous users.

custom font for native app

$
0
0
Hello, im trying to add fonts to a mendix native app , but i couldnt figure out how , any ideas ??
Viewing all 83469 articles
Browse latest View live


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