I just started using mendix and I am doing rapid developer course UI In slides of it is different with mendix I am using i am using 9.4 so I don't understand how to Add data entity to data view i add some list view pages but as soon i add them it start showing error that database not present so i want to know how to ad entity and how to link that entity to list
↧
How to add entity to list view
↧
Job change -
Good morning friends, I just had a job change and I would like to transfer my points from my old login to the new one, Do you know if it is possible?
↧
↧
Fetch number of years from range selected and distribute in fields
I have a requirement where in the form i have date range: From date and To date. So if user selects from date as 01/01/2020 and to date as 0101/2022. It should display 2 fields for 2021 and 2020. Similarly , if from date is 01/04/2020 and to date is 02/05/2025, it should dispaly new fields for 2021,2022,2023,2024 and 2025. Maximum number of date range gap is 5, so max 5 fields can be displayed. Can i have some suggestion as to how this can be achieved?
↧
Directly assign a workflow task to a specific user
Hi, I was wondering if someone knows if it is possible to directly assign a user task to a person in a workflow? Know even if the pool of users is one person the person in question still has to assign the task to himself. Thank you in advance. Regards, Taner.
↧
Only delete personally created objects
Hi all I want the logged in user to be able to delete objects but only those who they themselves created so that they can’t delete objects from other users. I’ve tried setting the visibility of the delete button to only if the creator is the logged in user but it didn’t work or I did something wrong in the expression (Picture 1). The user role also has the right to delete objects so that can’t be it. I’m sure there is an easy way to do that but I’m stuck. Does someone know the answer? Thanks
↧
↧
Microflow call from Pluggable widget not working.
My xml file Data Source Data source for options to be rendered On option select Event when an option is selected On option deselect Event when an option is deselected My Javascript file isReady = props =>
props.options.status === "available" && props.selectedOptions.status === "available" && !this.state.loaded;
componentDidUpdate() {
// Mapping all the values obtained from datasource to valid Json options
// using the buildOption function declared below
if (this.isReady(this.props)) {
this.setState({
options: this.props.options.items.map(item =>
this.buildOption(this.props.value, this.props.label, item)
),
selectedOptions: this.props.selectedOptions.items.map(item =>
this.buildOption(this.props.value, this.props.label, item)
),
loaded: true
});
}
}
buildOption = (value, label, item) => ({
value: value(item).value,
label: label(item).value,
mxObj: item
});
handleOnChange(value, action) {
if (action.action === "select-option") {
// this.props.onOptionSelect(action.option.mxObj).execute(); This also doesn't work
const act = this.props.onOptionSelect(action.option.mxObj);
act.execute();
} else if (action.action === "remove-value") {
const act = this.props.onOptionDeSelect(action.removedValue.mxObj);
act.execute();
}
this.setState({ selectedOptions: value });
} There are no error but still the microflow is not executing but the exactly same code works with mendix 9. current it’s not working with Mendix 8.18.4. Help appreciated, Thanks.
↧
Failed to get an HTTP Response
Hi there, I managed to connect the TC Sample App to my TC Database on a local environment, so I tried the same but with the app deployed to Mendix Cloud for free. I use the same configuration using the same IP as in the local version, but running it on cloud it throws this error when trying to log in to TC Is there something else I have to configure in order to be able to log in from the app deployed in the cloud? thanks in advance
↧
Microflow Scheduler App Store Module no more available
Hi, We are using Microflow Scheduler(Created by Erwin ‘t Hoen) module in one of our application. While upgrading to Mendix 9 we observed that this module is no more available on app store. Is this module remoed from app store? If yes, can someone suggest another module which can be used with minimal changes. We are using microflow scheduler to schedule micorflows to run on partcular intervals. Thanks, Vaishali
↧
How to add Library Log Listener java Action ?
I just imported AWS service connector But required this one.
↧
↧
Data generation
How to generate previous 3 months data and current month data by giving current month date as attribute information?
↧
How to restrict seeing the system.user entity data from x-path injection
When scanning an app on x-path Injection vulnerabilities, it was found that system.user password and hash value is readable for the user and need to hide that value from being viewed via xpath. But the problem is that we can not update anything in system module. On the other hand we have Administration.Account entity which is a generalization of Syste.User entity. Through x-path read from this Account entity we are again able to view the system.user entity password and hashed value. I have added x-path constraint on this entity but still not able to restrict it from accessing data from Syste.user entity. Any idea how can we restrict from accessing the logged in user’s password and other details from x-path retrieval.
↧
Adding a "?" icon with a tooltip
I want to add multiple question mark icons with a tooltip to my page. What is the smartest way to go about it? Creating a class for every tooltip? Using a label? The same icon should represent different tooltips at different locations – basically meaning I want to use the icon multiple times on the same page displaying different tooltips. Any idea is welcome :) BR Markus
↧
List View or data widgets Customization
Consider that I am displaying an attribute of an object. So, if add a new object the attribute should be displayed beside the existing object’s attribute and so on. So items should be displayed horizontally and if list grows display scrollbar. Is there a way to achieve this using list view or any other widget.
↧
↧
Template Grid customization
Can we increase column count dynamically.
↧
NTLM authentication with REST service
Hi all, Has anyone managed to implement NTLM authentication using the REST call acticvity? I understand the NTLM challenge process in that it will be a few REST calls to get the challenge and send hashed passwords etc, but I can’t figure out how to do it in Mendix. Mainly, I’m failing to figure out how to send the user name only in a header. Cheers
↧
Kindly Share Experience with the Workflow Module
I am somewhat new to the Workflow module. I have gone through the leaning path and have also built a few demo Apps using workflow and seems like a pretty neat module with all the basic capabilities, at least. Wanted to check, if someone has experience of any heavy-duty workflow application of this module in real-life project and if they faced any challenge. Regards, Shekhar
↧
Search for Empty string on a data grid?
Does anyone have any tricks to search for an empty string on a data grid? Either a widget or other way for a user to search for objects that have an empty string. Any suggestions or ideas are appreciated! Of course, I could add a separate data grid and constrain it via x-path, but preferably looking for a solution to allow a user to find all objects which are empty on a field. Also, prefer not to just sort the column, but want to actively filter to only have those results remaining. (Based on the use case.)
↧
↧
Custom Delete on list item gives error : async f.retrieveByPath
Hi team, I have a list view in which the items are pulled from database. I am displaying item in the navigation view and have more operations under it. I have a custom delete function on the item. When i delete the item and refresh in client it gives error : Please help to resolve this issue. Error at h (http://localhost:8080/mxclientsystem/mxui/mxui.js?637662153905164597:73:38385) at async http://localhost:8080/mxclientsystem/mxui/mxui.js?637662153905164597:73:28336 at async a (http://localhost:8080/mxclientsystem/mxui/mxui.js?637662153905164597:73:36758) at async d (http://localhost:8080/mxclientsystem/mxui/mxui.js?637662153905164597:73:37881) at async f.retrieveByPath (http://localhost:8080/mxclientsystem/mxui/mxui.js?637662153905164597:73:21635) com.mendix.webui.WebUIException: Exception while retrieving data for a widget 'SQ_SQ_Overview.dataView1' on page 'SQ.SQ_Overview' at com.mendix.webui.actions.client.RetrieveAction.$anonfun$apply$3(RetrieveAction.scala:92) Caused by: com.mendix.webui.WebUIException: Invalid value of a query parameter at com.mendix.webui.actions.client.QueryUtil$.$anonfun$parseParameters$4(QueryUtil.scala:77) Caused by: com.mendix.thirdparty.org.json.JSONException: JSONObject["guid"] not a string. at com.mendix.thirdparty.org.json.JSONObject.getString(JSONObject.java:684) at com.mendix.webui.actions.client.QueryUtil$.$anonfun$parseParameters$5(QueryUtil.scala:42) at scala.util.Try$.apply(Try.scala:210)
↧
Construction Hackathon
Is anyone interested in this hackathon idea? Automated Scheduling for Construction Gig Workers? https://eventornado.com/submission/automated-scheduling-for-construction-gig-workers?s=1
↧
How to Use Facebook Integration For Login in Mobile Native Application?
Hello, Actually I am making an application for the first time but I am stuck in one step i.e., Facebook Login Integration. I want end user to login through a facebook. I need some help for this Facebook Login step. Please suggest me some steps to follow. Thanks
↧