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

File directory

$
0
0
I want to upload a file to an external storage using a java action. Is there a widget that can give the path to user file directory?  

error Mobile App generate an Android native mobile APK

$
0
0
good morning, I'm new to the Mendix platform, and I'm trying to generate an Android native mobile APK, I followed the step by step documentation "https://docs.mendix.com/developerportal/deploy/mobileapp#1-introduction" but returns following error: when executing the command in the Prompt "npm i && npm run package && npm run platform: android" can someone help me please?

Upload a file without using system.FileDocument

$
0
0
I want to upload a file in an API call without saving the file in mendix first, not even in memory (I do not want to use system.FileDocument  entity at all). I want the upload to be from the user's file directory. Is there a way to do that?

Orphan files remain after deleting FileDocument objects

$
0
0
Hi, I'm currently running an app on-premise in production which is encountering a rapid growth in terms of disk usage. After investigating this thoroughly, this seems to be caused by Mendix deleting records in the System.FileDocument table, but not deleting the corresponding files on the disk. Because of this, the files on our production environment are never deleted adequately which has led to the files becoming orphans as they do not have a matching record in the database anymore. The issue doesn't present itself locally, nor on the acceptance environment.   Some more context to the case: The app runs on Mendix version 8.4.2 We recently migrated the Mendix app to a new runtime and database server. On the old server, the situation described above didn't seem to cause an issue. As this didn't seem to pose an issue on the old server, I suspected that the issue might be caused by insufficient permissions being granted to the Mendix Service User. However, our architecture consists of only a single runtime server which runs both our acceptance and production environment, while both environments utilize the same Mendix Service User (hence having the same permissions). I did not change the default value of the com.mendix.storage.PerformDeleteFromStorage runtime setting.   What could be causing the fact that Mendix isn't deleting the corresponding files on solely our production environment and how do I fix this? Thank you for your reply in advance!

Runtime Variable

$
0
0
How can we delete custom variable on runtime for local usage ?

How to send a browser 302 redirect request to (Authorization) Server endpoint along with the parameter?

$
0
0
Hi All, Can any one tell me how to send a browser 302 redirect request to (Authorization) Server endpoint along with the  parameter. NOTE: I have tried redirect URL widget but I can not send browser request along with end point URL or any parameters(Query String).     Thanks in Advance!

Issue in Calling a Microflow in Nanoflow

$
0
0
Hello Everyone, In my application I am calling a Microflow ( Which contains Multiple sub microflows ) from a Nanoflow and Return type of the microflow is Boolean.  I applied a Log files for Both Microflows and Nanoflows and I kept Error handler for Microflow(Machine Quantity confirmation) some times even though the Microflow was working as expected when the flow coming out from Microflow to nanoflow i am getting error(System administrator error ) ,Same issue is not replicating in Local only issue we got in Acceptance that too inconsistency, I applied break point in Acceptance and check in Microflow there is no Stop I observed in Microflow . any one faced this Issue and Solutions for this will be appreciable. Thank you

Unable to use Throw WebService Exception

$
0
0
Trying to Catch Throw Webservice exception ,it is giving below error using below, anyone please suggest. WebserviceException: Webservice Call returned errorsFault: com.dnbi.eai.fault.CompanyNotFoundException     at DnBi_Integration.SUB_MatchCompany_Operation (JavaAction : 'Throw webservice exception')

Refresh reference selector microflow

$
0
0
Hi! After introducing a new element in a modal window I want to see that new element when I click on the reference selector. How can I refresh the content of the reference selector without leaving the page? The content of the reference selector is obtained from a microflow. Thank you!

GitHub Error

$
0
0
Hi I was trying to generate my native app using https://docs.mendix.com/howto/mobile/getting-started-with-native-mobile. and I was having trouble with creating the repository when running in the cli as this error message appeared. unable to create new repository from template repository And I was wondering how to fix it. This is the code inputted:            

Calendar week

$
0
0
Hi all, if you have two different dates like 10/05/2020 and 10/12/2020 and you would like to know the calendar week for each date, how can you get this information? Thanks a lot for giving me an idea. Kind regards Siegfried        

Populate a dashboard bar chart based on an Enumeration field

$
0
0
Hi all, Is there a straightforward way to populate a dashboard bar chart based on an enumeration field to show values per status? Looking at it simplistically could I use an OQL statement that groups by the enumeration and counts the number of records for each value? I understand that I need a non-persistent table in my Domain model to store this information but how do I get this to run and then to collect and (temporarily) store this information in a list or an array in a microflow so a chart displays this? Any help would be much appreciated! Thanks!

Change color SVG on native menu bar

$
0
0
Hi all, I am styling the menu bar in the native app in Mendix 8.10.0 and try to color the svg image/icon of the items when they are selected. I looked at the Native Mobile Styling Guide (https://docs.mendix.com/refguide/native-styling-refguide) and you can adjust the selceted icon but how do I change the color of an svg in native? Or how can I upload images in this code so I can upload the icon images here and change the color of the images myself? My custom code for the menu bar is now:  import { brand, contrast, darkMode } from "./custom-variables"; import { Border } from "./Border"; const backgroundColor = darkMode ? "#000" : "#FFF"; export const navigationStyle = { progressOverlay: { background: { backgroundColor: "#fff" }, text: { color: brand.text } }, bottomBar: { container: { backgroundColor: backgroundColor, borderTopWidth: 0, ...Border.container }, label: { fontSize: 12 }, icon: { ??? }, selectedIcon: { ??? } }, }   Thanks! Kolien

Save to overwrite without previous saving

$
0
0
Hello, based on an Excel file I developed an app. Now I want to be able to make several entries on one page and save them one after the other without being thrown back to the home page and without overwriting the previous save. One of the two problems always occurs ... Ask for help. How do I have to build the Microflow?

Calendar widget Native app

$
0
0
Hi all!  We are looking to go Native with our app, which is very exciting but also quite challenging. In our app we need some kind of calendar, but unfortunately, no such widget is available for native (yet). https://github.com/wix/react-native-calendars seems very useful and exactly what we need, anyone who perhaps has already implemented this? Or has an idea how to (like maybe how to use the steps for building a pluggable widget, except it's for this calendar rather than the TextBox example ;))? Thanks in advance!  Sophie  

How can I add more Glyphicons or Font Awesome in Navigation

$
0
0
I need to add more Glyphicons or another Font like IcoMoon and FontAwesome in Navigation. I know it is possible to add in CSS by ading the font files and then calling it in CSS but I need it in Navigation. This is for Mendix Native App and not the normal web. That’s the whole reason it has to be added in Navigation Menu only. Is there a way to do that?

how to check if Enum field has value?

$
0
0
I am using getCaption() to export Enum. But I find out when my Enum field does not have value, it throws error. I try to compare it with empty before using getCaption() but it still give me same error. Please help.

Is it possible to use server side paging and sorting when using List View widgets

$
0
0
I have a microflow which invokes a REST endpoint to fetch data. To show this data, If I use a Data Grid, I can do Server side paging and sorting.  I don’t see any option to do server side paging in a List View type of widget. Is there a way to do it with List View widgets?

Buttons in email and onclick functionality without navigating to app.

$
0
0
Hi Team, I have a scenario where I need to send a mail to the user with buttons for Approve and Reject. On click of one of them the task should be approved in the Mendix. This should happen in the email without navigating to different page. I tried using deeplink but this will be navigating me to a page in the app. Also is it possible to add a comment section in mail and user can enter text and retrieve that information in the app? Any help would be appreciated. Thanks in advance! Regards Sushuma

Dynamic page indicator

$
0
0
Hello, I want to add to my application a kind of dynamic page indicator. With the ability to go back to pages. Same as mendix is using here. Is there a widget? or something else?
Viewing all 83469 articles
Browse latest View live


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