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

UTC and Local Datetime

$
0
0
so i have microflow that used in rest services. i want to compare a datetime that saved in database and currentdatetime. the problem is when i compare it, the date that datetime comparing is on UTC : UTC time: 2024-02-29 17:00:00.000Session time: 2024-02-29 17:00:00.000 +0000 but value of currentdatetime is : UTC time: 2024-03-01 00:00:00.000Session time: 2024-03-01 00:00:00.000 +0000 the question is how to make either datetime of database into local version or the currentdatetime into UTC version

stuck in crashcourse because mockhrservice will not run

$
0
0
hi all, Im a developer new to mendix and following the crash course. im stuck because the mockhrservice fails to start en there are no errors in the serverlog.. 2024-03-01 12:16:42.607 INFO - M2EE: Added admin request handler '/prometheus' with servlet class 'com.mendix.metrics.prometheus.PrometheusServlet'[rtlauncher:container$] INFO Container start took 2380. Ready to accept admin requests. im on studio 10.8.0 (which is not listed below) any idea's on how to proceed? thnx all!

Upload ipa file to testflight

$
0
0
Hi, I want to upload .ipa file to test-flight. I am not able to find proper documentation. Thanks in advance

Eror CE0127 Missing argument for parameter

$
0
0
I´m trying to use microflows to define name of objective and based on that it will show different page. However there is error which shows me that I´m missing argument. I found on forum that I should create objecct before showing page. Is it necessary? For sure the error disapear but it creates object I don´t want.

How to make the first letter uppercase with css?

$
0
0
Hi everyone, I want to make the first letter uppercase. How do you do this?

Udostępnianie lokalnego projektu mendix z błędami

$
0
0
Witam kolegów polskich programistów, W tej chwili muszę udostępnić zespołowi mój lokalny projekt Mendix, ponieważ wystąpił błąd. Nie chcę uruchamiać Commit, ponieważ powoduje to błąd w linii głównej. Czy ktoś ma pomysł jak udostępnić mój projekt zespołowi bez łączenia się z Main Line? Dzięki, Jan

File upload error

$
0
0
I have a problem related to uploading files. I don't know at what point it started, but I have Mendix version 10.6. When I try to upload a file using both File manager and FileDropper, I get errors: For FileDropper it is "Error saving files! Error: Request failed with status code 560" For File manager it is "Uploading file failed: Setting value of FileStoreMendixBinaryImpl outside of a transaction, may cause a stale file in file storage if not committed." I have checked and the user has all rights to write and read the database. This is happening on different entities I point out that all these functions worked before, now after some changes there is a problem. Do you know what this could be due to?

Mendix Studio Pro on Mac: Error Code CE9807 - Missing dependencies

$
0
0
Hey Mendix Community, I installed the Mendix Studio Pro 10.7 (Mac Beta) but have an error upon start: CE9807 - Could not resolve the CycloneDX Gradle plugin. How can I add this plugin?

Customize and Use Mendix Login Page

$
0
0
I really like the new Mendix Default Login page and I’d like to use this in my application, but customized. I have Anonymous users enabled, so I can create a customized login page, but how do I use and modify the page pictured below? For example I’d like to change the logo, background image and add a forgot password and sign-up button.

Microflow with a decision before deleting a record

$
0
0
I have two tables person and state.Both are saved in the database where the person table communicates through id_cidade. in mendix, I have a list with a registered person, for example, with the city São Paulo. In the list of states, if I create a new state and then want to delete it, it deletes it normally, as the id is not related to a person record.But if I want to delete the state "São Paulo", for example, it gives an error warning that it cannot be turned off due to a connection with the id. I want to create a decision, before the Execute Statement, that checks if the id of the selected state is linked to a registered person, and if so, display a message "Status cannot be deleted.", and if the id is not linked to either a person, the process continues to delete. I already have a microflow with an "Execute Statement" that turns off logging. I just wanted to know what to do to make this decision before executing the deletion, so that I can display a message saying that it cannot be deleted.

How to activate MxAssist for version 10.7.0?

$
0
0
How to activate MxAssist for version 10.7.0?

Combo box with attribute from list and custom entry possible

$
0
0
Hi, I'm new to mendix and trying to understand the system better. What I'm trying to build is an order entry system where customer name is one of the attributes in the entity customer. The entity order holds all the attributes connected to this customer. I'm showing this on the order entry page with a combo box via xpath. This works and I can select a customer on this page. What I want is to add new customers as well in this combo box, ideally in the same box. I'm having trouble doing so and can't seem to find the answer here. Can someone tell me if this is possible at all or if I need to work in a different way. (perhaps via a Microflow?) I work in the latest Mendix studio Pro 10.0.8 Thanks!

Error code CE0106. Cannot find user roles

$
0
0
I am receiving error CE0106 when I attempt to run my application as apart of the mendix rapid developer course. It specifies that at least one role must be selected if the microflow is used… I found https://community.mendix.com/link/questions/99609 in this forum that one must right click on the applicable workspace and select userrole. I cannot seem to find this when I right click on the space that I am calling the microflow from. Any advice on 1. Whether this is the correct thing I need to do and 2. if so, where can I access the userroles? (I cannot update mendix as this is part of a class and teacher requires this version) Thank You!

Select all button on a datagrid

$
0
0
How can I create a Select All button on my datagrid?

Not able to add "Pageheader with controls" in the "Data view content" inside data view.

$
0
0
Only "page header with controls" is not supported other page headers are getting added. Getting this error pop up System.IO.FileNotFoundException: Unable to find the specified file. at MS.Internal.Text.TextInterface.Native.Util.ConvertHresultToException(Int32 hr) at System.Windows.Media.GlyphTypeface.GlyphMetrics(UInt16* pGlyphIndices, Int32 characterCount, GlyphMetrics* pGlyphMetrics, Double emSize, Single pixelsPerDip, TextFormattingMode textFormattingMode, Boolean isSideways) at System.Windows.Media.GlyphTypeface.GetGlyphMetricsOptimized(CharacterBufferRange characters, Double emSize, Single pixelsPerDip, UInt16[] glyphIndices, GlyphMetrics[] glyphMetrics, TextFormattingMode textFormattingMode, Boolean isSideways) at System.Windows.Media.Typeface.CheckFastPathNominalGlyphs(CharacterBufferRange charBufferRange, Double emSize, Single pixelsPerDip, Double scalingFactor, Double widthMax, Boolean keepAWord, Boolean numberSubstitution, CultureInfo cultureInfo, TextFormattingMode textFormattingMode, Boolean isSideways, Boolean breakOnTabs, Int32& stringLengthFit) at MS.Internal.TextFormatting.SimpleRun.CreateSimpleTextRun(CharacterBufferRange charBufferRange, TextRun textRun, TextFormatterImp formatter, Int32 widthLeft, Boolean emergencyWrap, Boolean breakOnTabs, Double pixelsPerDip) at MS.Internal.TextFormatting.SimpleRun.Create(FormatSettings settings, CharacterBufferRange charString, TextRun textRun, Int32 cp, Int32 cpFirst, Int32 runLength, Int32 widthLeft, Int32 idealRunOffsetUnRounded, Double pixelsPerDip) at MS.Internal.TextFormatting.SimpleTextLine.Create(FormatSettings settings, Int32 cpFirst, Int32 paragraphWidth, Double pixelsPerDip) at MS.Internal.TextFormatting.TextFormatterImp.FormatLine(TextSource textSource, Int32 firstCharIndex, Double paragraphWidth, TextParagraphProperties paragraphProperties, TextLineBreak previousLineBreak) at System.Windows.Media.FormattedText.LineEnumerator.FormatLine(TextSource textSource, Int32 textSourcePosition, Double maxLineLength, TextParagraphProperties paraProps, TextLineBreak lineBreak) at System.Windows.Media.FormattedText.LineEnumerator.MoveNext() at System.Windows.Media.FormattedText.DrawAndCalculateMetrics(DrawingContext dc, Point drawingOffset, Boolean getBlackBoxMetrics) at System.Windows.Media.FormattedText.get_Metrics() at System.Windows.Media.FormattedText.get_WidthIncludingTrailingWhitespace() at Eto.Wpf.Drawing.FontHandler.MeasureString(String text) at Eto.Drawing.Font.MeasureString(String text) at Mendix.Modeler.WebUI.View.CustomIcons.CustomIconCollectionFont.<>c__DisplayClass17_0.b__0() in Mendix.Modeler.WebUI.View\CustomIcons\CustomIconCollectionFont.cs:line 141 at Mendix.Modeler.Controls.GuiThreadExecutor.<>c__DisplayClass5_0`1.b__0() in Mendix.Modeler.Controls\GuiThreadExecutor.cs:line 64--- End of stack trace from previous location --- at Mendix.Modeler.Controls.GuiThreadExecutor.Rethrow(Exception ex) in Mendix.Modeler.Controls\GuiThreadExecutor.cs:line 69 at Mendix.Modeler.Controls.GuiThreadExecutor.<>c__DisplayClass5_0`1.b__0() in Mendix.Modeler.Controls\GuiThreadExecutor.cs:line 64 at Eto.Forms.Application.<>c__DisplayClass67_0`1.b__0() at Eto.Forms.Application.Invoke[T](Func`1 func) at Mendix.Modeler.WebUI.View.CustomIcons.CustomIconCollectionFont.CachePreview(ValueTuple`2 key) in Mendix.Modeler.WebUI.View\CustomIcons\CustomIconCollectionFont.cs:line 138 at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) at Mendix.Modeler.WebUI.View.Iconss.IconToBitmapConverter.GetImage(Icon icon) in Mendix.Modeler.WebUI.View\Iconss\IconToBitmapConverter.cs:line 50 at Mendix.Modeler.WebUI.View.Views.Buttons.ButtonView`1.GetNode(PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\Views\Buttons\ButtonView.cs:line 35 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.GetViewsWithNodes(IView view, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 54 at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext() at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.AddChildNodes(IPageExplorerNode viewNode, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 42 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.AddChildNodes(IPageExplorerNode viewNode, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 45 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.AddChildNodes(IPageExplorerNode viewNode, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 45 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.AddChildNodes(IPageExplorerNode viewNode, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 45 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.AddChildNodes(IPageExplorerNode viewNode, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 45 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.AddChildNodes(IPageExplorerNode viewNode, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 45 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.AddChildNodes(IPageExplorerNode viewNode, PageExplorerTreeInfo info) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 45 at Mendix.Modeler.WebUI.View.PageExplorer.Nodes.PageTreeProvider.CreatePageTree(IFormView formView, PageExplorerState state) in Mendix.Modeler.WebUI.View\PageExplorer\Nodes\PageTreeProvider.cs:line 30 at Mendix.Modeler.WebUI.View.PageExplorer.PageExplorerViewModel.OnViewRebuilt() in Mendix.Modeler.WebUI.View\PageExplorer\PageExplorerViewModel.cs:line 94 at Mendix.Modeler.WebUI.View.Views.Documents.FormView.RebuildView() in Mendix.Modeler.WebUI.View\Views\Documents\FormView.cs:line 105 at Mendix.Modeler.WebUI.View.Editors.DesignMode.DesignModeEditor.<>c__DisplayClass78_0.b__0() in Mendix.Modeler.WebUI.View\Editors\DesignMode\DesignModeEditor.cs:line 526 at Mendix.Modeler.Utility.UndoManager.<>c__DisplayClass43_0.b__0() in Mendix.Modeler.Utility\Undo\UndoManager.cs:line 136 at Mendix.Modeler.Utility.UndoManager.TransactionDo(IUndoManagerProvider provider, String actionDescription, Func`1 action) in Mendix.Modeler.Utility\Undo\UndoManager.cs:line 279 at Mendix.Modeler.WebUI.View.Editors.DesignMode.DesignModeEditor.OnElementDragDrop(Guid guid, String propertyName, Int32 index) in Mendix.Modeler.WebUI.View\Editors\DesignMode\DesignModeEditor.cs:line 514 at Mendix.Modeler.WebUI.View.Editors.DesignMode.DesignModeEditor.OnBrowserMessage(String message, JsonObject data) in Mendix.Modeler.WebUI.View\Editors\DesignMode\DesignModeEditor.cs:line 447 at Mendix.Modeler.WebEditors.SdkEditors.SdkWebEditor.<>c__DisplayClass40_0.b__0() in Mendix.Modeler.WebEditors\SdkEditors\SdkWebEditor.cs:line 144

Text translation in widgets - how to?

$
0
0
I would like to ask you for information on how to translate texts in widgets. Many of them have embedded texts between the "<" and ">" characters but when I try to translate it through batch replace I can't find the texts. For me this means mostly translating individual texts manually, but I'm afraid that using the same widget many times there may be differences in translation. For example, I really like the dynamics of updating Searchable Selector but every now and then there are new fields with text. This is a very frequently used widget in my application so I have to spend a lot of time translating with each such update. What is the way to translate texts from components other than manually entering them? I'm sure there is only I don't know what yet :)

Issue in my Studio Pro Version (10 or 10+) -

$
0
0
Hello Team, I wanted to report an issue that I faced while using the 'Find Advance' option (Ctrl + Shift + F) in my Mendix Studio Pro Version 10.7.0. I am unable to see the 'Find' and 'Cancel' buttons in the 'Find Advanced' dialog box which are necessary to execute the find process. Please find the attached file (PFA) for reference. Is this happening only to me or do I need to change any configurations on my Windows system? Thank you.

Return the attributes changed in a object

$
0
0
Hi community, I wrote a JA where I wil send a object as input and what to get the attributes which are changed on base of learning the mendix client API. the below is the code, But I got error in getChangedMembers(); Did I missed anything, Kindly help me with this. Thanks in Advanced. public class CustomPusher extends CustomJavaAction { private IMendixObject __entity; private web.proxies.Profile entity; public CustomPusher(IContext context, IMendixObject entity) { super(context); this.__entity = entity; } @java.lang.Override public IMendixObject executeAction() throws Exception { this.entity = this.__entity == null ? null : web.proxies.Profile.initialize(getContext(), __entity); // BEGIN USER CODE List changedMembers = entity.getChangedMembers(); List changedValues = new ArrayList<>(); for (String memberName : changedMembers) { IMendixObjectMember> member = entity.getMember(getContext(), memberName); Object changedValue = member.getValue(getContext()); changedValues.add(changedValue); } return changedValues; // throw new com.mendix.systemwideinterfaces.MendixRuntimeException("Java action was not implemented"); // END USER CODE }

How to save selected values in Combo box to somewhere in db for later use?

$
0
0
How to save selected values in Combo box to somewhere in db for later use?

How to download entire page

$
0
0
I am able to download first page but if I want to download entire page or multiple pages not able to download. I am using PDF Document Generation module.
Viewing all 83469 articles
Browse latest View live


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