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

Convert String field format DD-MM-YYYY to type Date and Time

$
0
0

I'm new to the Mendix platform so excuse me for asking something that probably has been asked before (and I can't find in the Forum).  The problem i have to solve is converting a String field, 10 characters, containing a date in DD-MM-YYYY format to a normal Date and time type in the database. Many thanks in advance, Max


Export microflow to mpk package

$
0
0

Hi everyone,

After reading all information of a microflow by SDK, we are looking for the way to export those info to MPK package just like the way MendixModeler does.

Do you have any resource providing further information about that (structure of Microflow mpk package, and way to decrypt data for example?)

 

Best regards,

No constructor found for widget MultiLevelMenu.widget.MultiLevelMenu??

$
0
0

Hi,

I tried using a multi-level menu in a page and calling it from the microflow. It is giving an error like "No constructor found for widget MultiLevelMenu.widget.MultiLevelMenu". Can anyone help me....

Thanks,

Venkat.

Import SAP ODATA XML into Mendix

$
0
0

Hi,

 

I am working on a client case where we would like to import data provided by a SAP Odata service back into a Mendix application.  As far as I can see i receive my response in a XML string which I need to import using an Import mapping.

In order to create an import mapping i require and XML Schema (XSD) - which is not provided by SAP's Odata service.  Do I manually need to create an XSD or are there more efficient ways?

Thanks,

Han Pieter

Floating files after deleting filedocument specialization

$
0
0

When deleting an entity that inherits from administration.filedocument, the actual files remain in the deployment (\data\files\) directory. These floating files have an affect on the disk space needed. When deleting a filedocument from a microflow or page, the actual file is deleted . However, in this case I cannot do this because the inheriting entity is already deleted from the modeler earlier.

The cleanup orphan file custum setting (com.mendix.core.localfilesystem.cleaning.isEnabled) is not the right setting to use.

How can I get rid of these floating/orphan files?

 

edit: The setting com.mendix.core.localfilesystem.cleaning.isEnabled cannot be set, the error The requested custom setting is reserved by the internal system appears. There is also a warning in the release notes Warning: This is an experimental feature that will be replaced in the near future. This feature should not be used in production.

 

 

Multiple scrollbars when modal open

$
0
0

The expected functionality of the application that is being developed is to remove the scrollbar that is being placed on the <html> tag with setting the style=overflow:auto. With the bootstrap framework we are expecting that modal-open class be applied so that the scroll bar would be removed. The following is the html that is produced when a modal is open.

 

The following is what I would think the html should look like.

 

How do we apply the bootstrap framework to the modals to allow the modals to work as expected? 

Is there a way to prevent mendix from applying the overflow to the html tag?

Is there a way to tell when a modal is open and closed on the client side?

Thanks,

Jason 

Error on updating to Mendix 7.0.2: Sequence contains no matching element

$
0
0

Hi All,

  I am upgrading a project from Mendix 6 to Mendix 7 and I am stumped.  I have upgraded all my modules and ensured that the java actions compile, however when I start up my App I get the error message below.  The crux of it appears to be "System.InvalidOperationException: Sequence contains no matching element" which I've never seen before.  Has anyone encountered something like this?

  Thanks,

Rob

 

System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Sequence contains no matching element
   at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source, Func`2 predicate)
   at Mendix.Modeler.WebUI.Export.MicroflowAnalysis.MicroflowVisitor`1.Process(MicroflowObject obj, TContext context) in C:\jenkins\workspace\WebUI-Build\modeler\Mendix.Modeler.WebUI.Export\MicroflowAnalysis\MicroflowVisitor.cs:line 0
   at Mendix.Modeler.WebUI.Export.MicroflowAnalysis.MicroflowAnalyzerVisitor.Process(MicroflowObject obj, MicroflowAnalyzerContext context) in C:\jenkins\workspace\WebUI-Build\modeler\Mendix.Modeler.WebUI.Export\MicroflowAnalysis\MicroflowAnalyzerVisitor.cs:line 120
   at Mendix.Modeler.WebUI.Export.MicroflowAnalysis.MicroflowVisitor`1.<>c__DisplayClass7_0.<Process>b__2(SequenceFlow flow) in C:\jenkins\workspace\WebUI-Build\modeler\Mendix.Modeler.WebUI.Export\MicroflowAnalysis\MicroflowVisitor.cs:line 67
   at System.Collections.Generic.List`1.ForEach(Action`1 action)....

Change Dateformat

$
0
0

Hi,

Although I have changed the default language date format of Project to dd.MM.yyyy from Project settings, it still displays the dates as MM/dd/yyyy.

How can I change this? 

Thanks in advance,

Best regards,

Armagan


Search on model share

$
0
0

The model share is a great idea, the limitation is the lack of search functionality (except via a search engine). It would be great if the model share would pull in the documentation section of the microflow and use is as a searchable field in the model share front end.

Can I export my reports to excel or pdf file by clicking on ExportExcel or ExportToPdf button?

$
0
0

Hi,

In my applicaton, I have reports generating from the filters using dropdowns. I want to export the reports to excel or pdf file on clicking a button. How can I approch this? 

Please help me.

Thanks & Regards,

Venkat.

The supplied maximum metamodel version '6.10.0' is lower than the metamodel version '6.10.4' of the working copy

$
0
0

I get an error in my Mendix SDK after upgrading a project to 6.10.5 and +.

I see that the SDK currently doesn't support any project with a version higher than 6.10.0

Do I need to update my SDK or wait for it to catch up with the latest Mendix versions?

[EDIT] The error is misleading btw. I've upgraded to version 6.10.5, not 6.10.4

Quick Reference set selector widget error in Mx v7

$
0
0

 

Hi,

I wanted to use app store module 'Quick reference set selector' very similar to input reference selector for many to many relationships. I am facing issues on mendix v7 where its throwing following error.

"No constructor found for widget quickreferencesetselector.widget.QuickReferenceSetSelector"  

https://appstore.home.mendix.com/link/app/130/CAPE-Groep-B.V./Quick-Reference-Set-Selector 

Any help on how to fix this would be great.

 

Thanks in advance,

 

Savan 

Restricting same user from signing in from two places

$
0
0

Hi, 

I want to restrict a single user to be signed in from only one place at a time so two users can use the same id. Has anyone else does this before, what would be best solution?

 

Thanks in advance,

 

Savan

login form widget Mx v7

$
0
0

Hi, 

i wanted to use the login form widget for v7. However its breaking in the latest version. I have raised it in review and the developer. Can anyone else help?

 

Thanks,

 

Savan 

Core.storeFileDocumentContent() store outputstream

$
0
0

Core.storeFileDocumentContent() stores java.io.InputStream, how can I store java.io.OutputStream?

Thankyou


Group digits option on report with dataset

$
0
0

I have a dataset which returns the sum of pieces by month. Is it possible to have a thousand seperator like in a data grid (Group Digits = true).

For example :

Current : 5080010

Future : 5.080.010 (or 5,080,010 is also fine)

Compare revisions - Would be great to have that available for Mx code ...

$
0
0

Developing Java applications, every now and then you use subversions "compare revisions" to check what when a change was made. By whom. And why.

The last part is difficult as this completely depends on the level the developer documented the reason.

The second and first part, when and by whom, subversion is of good help. At least you get to see exactly what changed when and who checked the code in.

Am I correct that nothing like that is available for the Mx code at the moment?

Just now, I had to determine why a rollback was build in. I wanted to know who did it and when. The only thing I could come up with is opening old versions and looking into this specific MF to see if the change was there already.

Another thing is the way I have to find the differences between two versions of a MF. Am I correct that the only way to determine the changes is to visually check the MF's?

As the title says, would be great to have good developer support for these tasks.

RestServices fails to compile in empty project of fresh 7.0.2 install

$
0
0

I noticed there are several issues allready on RestServices giving errors in 7.0.2 but they all are registered as answered/fixed. I just installed Mendix 7.0.2 and started an empty project with RestServices and CommunityCommons and I still get compile errors:

Buildfile: C:\Users\Tom\Documents\Mendix\RestTest-main\deployment\build_core.xml

compile:
    [javac] Compiling 72 source files to C:\Users\Tom\Documents\Mendix\RestTest-main\deployment\run\bin
    [javac] C:\Users\Tom\Documents\Mendix\RestTest-main\javasource\restservices\actions\LoadService.java:34: error: cannot find symbol
    [javac]         RestServiceHandler.loadConfig(def, true, context);
    [javac]                                                  ^
    [javac]   symbol:   variable context
    [javac]   location: class LoadService
    [javac] C:\Users\Tom\Documents\Mendix\RestTest-main\javasource\restservices\actions\RebuildServiceIndex.java:37: error: cannot find symbol
    [javac]         DataService.getServiceByDefinition(dataServiceDefinition).getChangeLogManager().rebuildChangeLog(context);
    [javac]                                                                                                          ^
    [javac]   symbol:   variable context
    [javac]   location: class RebuildServiceIndex
    [javac] Note: C:\Users\Tom\Documents\Mendix\RestTest-main\javasource\restservices\util\JCIFS_NTLMScheme.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 2 errors

BUILD FAILED
C:\Users\Tom\Documents\Mendix\RestTest-main\deployment\build_core.xml:25: Compile failed; see the compiler error output for details.

Total time: 1 second

Private/Putty Cloud commands

$
0
0

Is there doumentation somewhere on the various commands that can be used on a private/putty cloud server?

Multiple Excel imports

$
0
0

Is it possible to use the excelimporter more than once in a microflow to import different files with different templates? At this moment I get an error when I call the java action for the second time, the error is: 'Ids should not be null'.

Viewing all 83469 articles
Browse latest View live


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