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

List View Visibility

$
0
0
Hi, I have a list view with an xpath constraint currently that allows users to only see data that has yet to be “reviewed” by other users.  However, I also want to add a functionality to my list view where a user can skip over the current object in the list and have that object not show up for them anymore, but still show up for other users.  My thought process was to add another constraint to my listview that was something along the lines of [System.changedBy/System.User != '[%CurrentUser%]'] but I am met with the error that system.user is not boolean, its a string value.  What would be a good way to go about allowing users to skip an object in a list but not remove it from other users? Right now my skip button runs a basic microflow that commits the object, but doesnt change anything, it would simply give the object a changed by value of the system user.

Place container as last item in listview

$
0
0
Hi all, I need some help or advice in something I want to achieve. I have a listview with items displayed inline-block. I want a container at the end of a row. Desired end result The + container has ACT_Foto_New flow to create new images. The listview has an on click configured to a Foto_NewEdit I'm trying to get this to work with an htmlSnippet with Javascript to get the + container as list item in the list This is my setup:   var listview = document.querySelector(".mx-name-listViewImage"); var item = document.querySelector(".mx-name-listItemImage"); if (listview !== null && item !== null) { var list = listview.querySelector(".mx-list"); if(list != null) { list.appendChild(item); } } else { console.warn("HTML Snippet voldoet waarschijnlijk niet aan voorwaarden: 1) Namen komen niet overeen met classnames. 2) Snippet staat niet onder elementen"); } There are multiple listviews on this page so this is probably not going to work but I'm stuck here.. How can I get the right mx-list and how can I get the container inside the list. Any help is appreciated!

REST API query with an import mapping

$
0
0
Hi, I want to get some data via a REST API request and I can see a response, if I set the response handling option to “store in a string”. In case I am select an existing import mapping file from a JSON, I got only zero values for each json parameter. Does anybody has a idea to solve this issue?  Thanks, Ingo

Android Mobile Deployment - google-services.json is missing

$
0
0
The Build in the cloud option fails for me with the following error.  Error - The following splash screen or icon file does not exist: google-services.json.  I am not sure why. Another app which used to work fine no longer is working either.  I am attempting to do this manually now but according to the documentation this is not the usual way of doing it.   Any ideas as to why this is happening? Thanks    

You are currently offline

$
0
0
Hello When I open Mendix Studio  I got this error even I have internet You are currently offline We can't log you in because you are not connected to the internet. When you're back online hit the "Try again" button below. Or continue and work offline., so I can not log in  could you ive me a solution? (Mendix Studio Pro 8.0.0)

Pluggable Widgets - Microflow/Nanoflow Return Value and Parameters

$
0
0
I’m trying to call a microflow in the new React-based pluggable widget. I’ve found that the microflow/nanoflow property types have been replaced by the new action type, and the microflow/nanoflow can then be used by calling .execute() on it. This works for microflows/nanoflows that don’t have a return value, but what about ones that do. How am I supposed to access the return value of a microflow/nanoflow? I also don’t see any way to pass in parameters to the microflow/nanoflow such as the old way of using a GUID?

Hybrid App - In App browser status bar overlapping

$
0
0
Hi,  We are seeing an issue where when we open a certain website(Facebook Workplace) from within our application inside an inappbrowser that the top navigation overlaps the status bar of the device(all devices, ipad, iphone7, iphoneXs). It only seems to happen on facebook and workplace as others open correctly. We are using the latest version of the inappbrowser.      

How do I get credit for challenges I've completed?

$
0
0
I have two challenges that are asking me to complete a learning path. I have done a good chunk of the available learning paths. How do I tie these together? I want Mendix socks!

How to learn

$
0
0
Hi, i am quite new to this webiste. i just wanted to know where exactly can i practice coding? Is there a web tool or do i need to download the software Desktop Modeler? What is Pro 8?

How to retrieve the Records by supplying List of Ids in XPath Constraint

$
0
0
For Example,  I would like to retrieve Employee objects from DB and I have list of Employee Ids.  Now I need to retrieve the Employee objects by supplying the List of Employee Ids in the Xpath constraints. Can anyone help me how to get it done?

creating login page for diiferent user

$
0
0
I am working on journal app where differenet user will enter his daily learning in the form. i am able to do this  but now my problem is i want to maintain a session for every other user. lets say tom logins  he will see his day journals entry. if jerry logins he/she will see his day journals entry. Ps:i am not talking about user ROLES like demo-user and demo-adminstrator example: tom Logins– tom enters data-can see his own data – tom logout then  jerry  logins -jerry enters data-can see his own data – jerry logouts. Please tell me how i can maintain this whole session /scenario for every user? thank you    

Homepage setting for an app

$
0
0
How to set the registration page as home page for first time after installing the app and then once user can registered he can see login page from next time onwards. How to do this? and different user can register and login,logout in the app

Native mobile app error

$
0
0
Anyone ever seen this error when running Mendix native mobile app App compiled with no errors  

Canvas size on Native mobile

$
0
0
So the canvas size on a default native mobile page has a width of 500 and if you try to decrease it you get an error. So my understanding is that an iPhone 6 only has a width of 375, so when I test my mendix mobile app it cuts off text. How do I solve this issue?

Pluggable widget: how to access context entity?

$
0
0
The Switch/Boolean slider from the appstore uses React and has access to the MxObject. But when I create a pluggable widget (using Yeoman with @mendix/generator-widget), the `props` of the React container does not contain the mxObject (confirmed by issuing a simple `console.log(this.props)` in the component). I noticed that the widget XML does not contain pluginWidget=”true”, whereas the template generated by @mendix/generator-widget does specify pluginWidget=”true” in the XML. If I remove pluginWidget=”true” from my project, I get an error from the typings generator (which wants pluginWidget=”true” to be set). Question out of interest: What kind of widget is the Switch/Boolean slider from the appstore? It uses React, so seems to be a pluggable widget, but it does not use the pluggable widget scaffold, nor does it identify itself as such in the XML. But the main question is still: how can I pass the context entity to the widget?

Adding data

$
0
0
Hi I have a Data View page. I have a button that brings up a shows list of objects (multi-select). After  the selection is made, i need to add these selected objects to the original object(with data view) from where the selection is invoked. However, I don’t have access to the context object in multi-select . The flow doesn’t end here. But, my need is above. Thanks, Manyam

Using toString([some dateTime]) Returns Wrong Time

$
0
0
I have been trying to show a dateTime value in a message. To do this, I create a text parameter (ie {1}) that turns the dateTime value into a string. I do this with the toString() function. I then add this parameter to the message template. When I test out the message, it displays the correct dateTime...most times that I try it. Once in a while, it adds a few hours to the dateTime. For example, if the actual value is 7/18/2019 3:35 PM, it will say 7/18/2019 10:35 PM. Again, this behavior is sporadic: sometimes the date will come through the toString() function perfectly, but sometimes it is wrong. This is mildly serious. There are many cases when this would be detrimental: informing a user of a meeting time, showing an event date/time, etc. We would want it to be correct in those cases.    Is there any way I can get help with this? Perhaps it is a bug that needs fixing, or I am doing something wrong?

Save button for editable datagrid in an overview page

$
0
0
I have a simple entity which holds, for example, just one attribute: Name. I built an overview page with a data grid and a popup page to create new entries. Since my entity is very simple, I do not want to open a popup page each time I want to change the name. So, I made Name attribute updatable in the grid.   Question: where do I put the Save button to apply all changes made to the entity?! It is not necessarily just one change. I want to change multiple rows before I save changes.

Accessing MxContext

$
0
0
How do you get a reference to the MxContext object in a nano or micro flow. Alternately if i have a pluggable widget in a data view how can i get a reference to it with out using window.__widgetobject. 

data trees

$
0
0
How can i display a data tree in Mendex, this tree will be used to display parent/child node relationships of data. 
Viewing all 83469 articles
Browse latest View live


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