I am trying to change the background color of a text box input field (not all text boxes in my app, only some of them). I tried putting a custom class on the text box widget in the modeler, but that didn't do the trick. Looking at the browser console, the text box is a Div with an Input inside of it. The custom class applies to the Div, but not the nested input. I have included a screen shot below: Can someone give me a pointer or two about how to change the styling of the nested Input object? Or some other way to change the background color and other styling of the text box? note: Modeler version is 7.21, but this is not available in the drop down list in the forum
↧
Text Box Background Color
↧
Data source microflow does not refresh after context refresh by nanoflow
I have a template grid within a data view. The template grid has a data source microflow. Within a nanoflow, I refresh the context object of the data view, but this does not trigger the data source mf of the template grid. With a microflow refresh this does work. Is this a known limitation or a bug? Is this changed in Mx 8?
↧
↧
Download file saving location
Hi, In the mobile app, I’m downloading a file and by default it get saved to the cache of the app. Is it possible to choose a location during download? Thanks, Vanda
↧
chart problems - when using external database (Mysql)
hi, everybody ; When I using the pie chart , I wanna using the data from local MYSQL database , And I have create a new “excute query ” by “DATABASE CONNERCTOR moulde . the problem is when I choose the data source , I select microflow as what I just create , but i can’t fill the Data point . it’s dark and can’t be edited . could you please tell me why ? and what’s the correct method to show external data by charts ? thanks .
↧
List view No items found
Hello guys , if the list view returns empty it will return the message No items found , i need to overwrite it, through system texts option in the project we can change but it will reflect for all the list view we are using in the project… Tried through the jquery , css , javascript it working but it is inconsistent some times its coming and sometimes its not coming ……. jquery code which i used to change it : $("label:contains(No items found)").html("<label>No Mapping available</label>"); $("label:contains(No items found)").replaceWith("Hello world!"); is there any other alternate way to change it permanently and consistent for particular list view ????
↧
↧
Generating Time series chart using json data
hi all i want to import json file and based on that i want to display time series chart. Can i do this in mendix? How? Thanks
↧
Persist page state
Hi I would like to persist the page state, it is very irritating when the client decides to reload or your on mobile and you scroll up and the entire thing reloads. I’m using deeplinks to manage this and some javascript in conjunction with window.history and some mx.ui.contentform extension to handle it There are two issues: non presistable retrieval and page state. How can I get at an np if theres no association to traverse to it and what are the possibilities for saving and restoring the state of widgets on the page (e.g. template grid offset etc.)? Thanks
↧
how to create a javascript in mendix to read a file
i am looking for some help about reading text f ile or xml file from a javascript Please advise with documentation and example Thanks Daniel
↧
What is the difference between "retrieve object" and "get storage item object"?
In Mendix 8 native, we can use the “Retrieve” object activity and the “get storage item object” local storage activity. Does the Retrieve activity access the local phone database when used in a nanoflow? If so, where does the Get Storage Item Object get its data from? Is that a whole other local database? Do they both access the same one? If it’s an offline-first app, I don’t think that it would be accessing the online Mendix database. Thanks!
↧
↧
Audit trail not logging delete events
Has anyone has issues with Audit Trail module not logging deletes of records? I have double checked my before delete event on the entity and everything looks correct. The logging of create and edit events is working as expected. I added a breakpoint to the before delete mircroflow and was able to verify that microflow is getting triggered, but the CreateLogRecordChangesBeforeDelete Java action is not creating a Log object as expected. Has anyone seen this issue before?
↧
How to give authentication in rest api
authentication for rest public service
↧
JSON array with objects of different type
I am building a service to call AWS ElasticSearch. My JSON structure should like like the code below. The problem comes with the “filter” attribute. This attribute is an array of objects of different type: some are “bool”, others are “multi_match”. How should I model such structure? { "query": { "bool": { "must": [ { "query_string": { "query": "ACME", "fields": ["AccountName","AccountNumber"] } } ], "filter": [ { "bool": { "should": [ { "multi_match": { "fields": ["Country"], "query": "US"} }, { "multi_match": { "fields": ["Country"], "query": "CA"} } ] } }, { "multi_match": {"fields": ["Status"],"query": "Active"}}, { "multi_match": {"fields": ["BillToPrimary"],"query": "Y"}} ] } }, "size": 100 }
↧
Auditing of developer's actions?
Is it possible to create audit trail of all changes made to an application e.g. creates/deletes/edits of all elements (pages, entities, MFs etc) ? We have the Team Server commit history but that only shows comments and related stories. I’ve looked through the app store and nothing jumped out at me.
↧
↧
Check files from a shared folder on a cloud environment
Hi, I am attempting to access a shared folder in order to check and see if specified files exist in there or not. To do this, I have taken the FileDocumentFromFile java action in CommunityCommons and modified it to not upload the file into a file document entity but to just check if the file exists and return a string that is the path to the file. On local testing, I can just copy paste the path from windows explorer into the File field of the java action and it works – the file is found and the correct string is returned. This does not work when the app is on the Acceptance environment. I’m assuming it’s because testing locally it can access the shared folder because it’s all on my laptop which is on the network that can access the folder, but on the cloud that is probably a different story. Is there a way I can have the app on the cloud have the same access to the shared folder as with local testing? Thank you in advance for any help you can provide!
↧
Change background color of selected item in list
Hello, please, how can I change background color of selected line of datagrid? Currently the layout is white and selected line is really light gray that is not visible at all. Is there any easy way how to define that in Style section? Thank you
↧
Integration of oneSignal
Hi, I just started learning Mendix and have an okay comprehension of the basics. However, I’ve been trying all day to make an application that receives Push Notification from https://onesignal.com/ and it hasn’t been working out. I’m getting confused on how to integrate this into my app (Hybrid Web) If anyone has any tips, would be greatly appreciated Thank You
↧
Monitor WebService Time
I want to measure how much time a webservice call takes i.e., time taken in sending request and getting response back. Is there anyway to do that? I could think of calculating difference between timestamps before and after of microflow activity calling the service. Is that the correct way? If not what is this time that I am calculating.
↧
↧
Need help to integrate API with Mendix
Hi All, I’m integrating an API with my Mendix App but i got this error when i set the End Point of Microflow.
↧
Template grid styling css question
Hi all, I’m trying to remove some padding from a template grid child row and I’ve identified the class and where the padding is being applied. I’m just looking for a bit of guidance to remove this for only this grid using the custom css file to call a class to remove it. Any help would be great
↧
View in Mendix App does not display for native devices.
I have an mobile app that I am working on in Mendix Studio Pro 8.2.0. When deploying locally I can view the app in the “Make It Native” app. However, when I deploy to a server hosted Mendix Runtime environment, the QR code does not display in the “View Native Mobile App” tab. Also, The Runtime, never seems to resolve as there is still a “Start” option vs a “Restart” option. Even though the Live log shows that the app has started. Any ideas?
↧