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

Left AND right aligned tabs? (see img)

$
0
0
Im working on updating a page. there are a couple of main tabs, and some secondary navigation tabs. is ther ea way to split them up? I cant find a way to give tabs ID's or Classes.    EDIT   I ended up adding the class .tab-lastright to the tab and adding this CSS   .tab-lastright > ul > li:nth-last-of-type(2), .tab-lastright > ul > li:nth-last-of-type(1){   float: right; }

Desktop modeler astronimical slow

$
0
0
Hi there, I am curious about the performance of the desktop modeler. Sometimes I am working in a model everything is lightning fast. So whenever you copy a microflow, add input params, renaming microflows, adding actions. Everything happens in milliseconds. But when you open next day the same model everything reacts extremely slow, instead of milliseconds you can wait for seconds. I tried to disable all kinds of processes of Windows, disabled antivirus, all kinds of tweaks, rebooting.... but somehow nothing really helps. When I check the taskmanager, the CPU is idling around 1-3%, memory is like 30% with mass consumers Mendix and Chrome, no hd activity, no network activity. Anyone thoughts on this?

Dynamic Month

$
0
0
Hi, How to make current month dynamic currently it like this- [month='may']

Will you update the mx7 client docs?

$
0
0
Inspecting minified js makes my eyes fall out...please update   https://apidocs.mendix.com/7/client/mx.ui.html   (static) openForm(path, args, scopenullable)   args.location now has 'node'  option   location to open the form, either content, popup or modal becomes location to open the form, either content, popup, modal or node

Detecting a wi-fi connection

$
0
0
Hi!  A quick question, is it possible to detect if your tablet is connected to wi-fi in Mendix? I know that in the App Store or Google Play Store for example, some downloads are not triggered until the device knows that it is connected to wi-fi. This can be very handy for us when it comes to transferring large amounts of data.  Many thanks in advance!  Kind regards, Laxmi

Bootstrap RTE displaying html tag when viewing in browser

$
0
0
Hi, I have used bootstrap RTE widgets and in widgets its displaying fine like this.    But,however when I am displaying in browser all the HTML tags are displaying like this   whats the issue?  

Button is not clickable if we need to pass an object to onclick event

$
0
0
I have a datagrid and a dataview listening to datagrid. I have couple of text fields that are populated based on datagrid row selection and I also need a button on dataview that opens a popup page and shows different kind of data. When I select a page for onclick event and this page requires datagrid row object as parameter the button is not clickable. But if I remove page parameter button is clickable. 

is there a way to retrace your MXpage from the DOM?

$
0
0
Often im working on applications that have been around for a while. A common practise is for me to click around untill i find something broken, then in MX retrace those steps untill i reach the page. but is there a way for me to inspect the page and for example find a pageID and then search for that in MX?   or do you guys have a better way of finding the page you are looking at?

Accept or deny wish list

$
0
0
Hi, i want to creat a wish list for users, at the end i want to accept or deny the wish as administrator. Is there any option or a nice way to do this?

Data picker change from MM/DD/YYYY to DD/MM/YY

$
0
0
Hi, I want to change the date picker from  from MM/DD/YYYY to DD/MM/YY.

Enlarging photos

$
0
0
We have created an ID card within our app and our users would like to be able to select the photo image so that it is enlarged. We have a responsive and mobile version of the app. It works in the responsive but not in the mobile. I have checked the properties and we have selected on click the action is to enlarge the app. Is there anything I may have missed or need to add?  Some advise would be great, thanks   Update - On further investigation I can see that I can select the image and enlarge this but I have to tap on the top right of the image. Users think this is not working as they are tapping the middle of the image. I'm guessing this is a design issue (??). Not my strongest area so if anyone has any ideas..... thanks  

Offline access rules

$
0
0
Hi all, in my offline app I've encountered a synchronization issue of data not being uploaded from iPad to server, but rather rolled back entirely. Browsing the logs showed ERROR - Connector: An error has occurred while handling the request. [User 'frank.fieldworker' with session id 'e97eb052-5fee-4f0a-8730-08d9f3c9fef5' and roles 'FieldWorker'] ERROR - Connector: com.mendix.webui.WebUIException: Applying change for 'Latitude' of 'Geography.Location' with id '43628621390157681' failed for security reasons. No change hash found for read only member 'Latitude'. at com.mendix.webui.requesthandling.HashUtil$.verifyHash(HashUtil.scala:63) The Location is created on the tablet and Latitude (& Longitude) are automatically filled by a geolocation-widget.  In my domain model, the FieldWorker only has Read-rights to the coordinate attributes. I have set the access rules to Create New objects&full write, and now the error is gone. Should access  rules be validated on an offline device? Or is this 1 of the restrictions of offline? I can't find anything on this on https://docs.mendix.com/refguide/offline

Sorting with microflow not working

$
0
0
Hello Everyone!  Today I started learning Mendix by building a to-do app. I have a listview that shows 5 tasks with a load more option. When I set-up a sort-order in the list view using the date and time field it did not work. Googling I found out that you could also achieve sorting with a microflow.  I build the microflow but the sorting still is not working like it should. Its sorting on the descending side, but not ascending. And thats the one I want ;)  Typing this post I'm wondering if it could be with the 5 item limit? Anyway, here's the microflow I've got going and the listview settings. https://imgur.com/a/w0EoTK1   

error occurred while creating a deployment package

$
0
0
I'm trying to create a deployment package for our on-prem server. It's worked fine up to now but today it started giving me an error message: "An error occurred while creating a deployment package. Error message: Exception has been thrown by the target of an invocation." After several attempts, getting the same message, I've given up. Any help would be appreciated thanks. The stack trace is below if that's any help: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Sequence contains no matching element    at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)    at Mendix.Modeler.DataStorage.DataSets.Security.DataSetConstraintAccess.get_Constraint() in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.DataStorage\DataSets\Security\DataSetConstraintAccess.cs:line 33    --- End of inner exception stack trace ---    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)    at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)    at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[] index)    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonObject(BsonWriter writer, IStorageObject obj) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 54    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonValue(BsonWriter writer, ICachedProperty prop, Object value) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 136    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonObject(BsonWriter writer, IStorageObject obj) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 60    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonValue(BsonWriter writer, ICachedProperty prop, Object value) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 136    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonObject(BsonWriter writer, IStorageObject obj) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 60    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonValue(BsonWriter writer, ICachedProperty prop, Object value) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 136    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonObject(BsonWriter writer, IStorageObject obj) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 60    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonValue(BsonWriter writer, ICachedProperty prop, Object value) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 136    at Mendix.Modeler.Storage.Operations.WriteBsoner.WriteBsonObject(BsonWriter writer, IStorageObject obj) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\WriteBsoner.cs:line 50    at Mendix.Modeler.Storage.Operations.Deployer.WriteUnitsContents(BsonWriter writer, HashSet`1 units, IProgressInfo info) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\Deployer.cs:line 66    at Mendix.Modeler.Storage.Operations.Deployer.Deploy(IStorageUnit unit, String targetFilePath, IProgressInfo info) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Storage\Operations\Deployer.cs:line 27    at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.CatchDiskException(Action action) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 28    at Mendix.Modeler.Deployment.FileIOExceptionHandlingProcess.<>c__DisplayClass1_0.b__0(IProgressInfo info) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.Core\Deployment\FileIOExceptionHandlingProcess.cs:line 19    at Mendix.Modeler.Utility.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 88    at Mendix.Modeler.Utility.Progress.ProcessRunner.worker_DoWork(Object sender, DoWorkEventArgs e) in C:\jenkins\workspace\Modeler-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 68    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

App in Service Console has errors not present in local

$
0
0
I'm trying to deploy an app to the service console.  The app works fine when I run it locally, but in the service console I'm only able to open the login page, but when I log in I encounter system errors and basically can't use any of the app.  I think it has something to do with the database.  I tried to redeploy a new update to the service console and start with a fresh database, but somehow even with a new database being created mendix service console automatically populates it with old data.  I would like it to have the same data as my local version which is basically empty at this point, since that seems to work. How do I restart the app with no prepopulated data in the database?

Progress bar on a Save button

$
0
0
Is it possible to add a progress bar/'all done'-message' to a standard save (or Synchronize) button, other than building a microflow for it? The great disadvantage of a microflow button is that you have to retrieve all associated objects on the page. Especially from a maintainability point of view (if you add another nested dataview to the page you need to update the microflow behind the button to not lose the new data) I'd really like to avoid this option. Also, the button keeps focus after the action is finished so it looks like it's still busy saving. Happy to hear any suggestions

online services

$
0
0
hello community, i have been working on a simple application and in setting it up i disabled online services, is there a way i can re-enable the online services from the modeler?

When I sign in, mendix ide always throws the following exception

$
0
0
Hello everyone, After I installed mendix, it always throws the following exception when I sign in.  My OS is windows 7 professional edition. Mendix.Modeler.Utility.Progress.ProgressException ---> System.ArgumentNullException: Value cannot be null. Parameter name: path    at Mendix.Modeler.Utility.WhitelistAware.RemoveAllowedPath(String path) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Utility\WhitelistAware.cs:line 22    at Mendix.Modeler.Deployment.JavaLocationProvider.OnModelerSettingsChanged() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Deployment\JavaLocationProvider.cs:line 37    at System.Action.Invoke()    at System.Action.Invoke()    at Mendix.Modeler.UserManagement.SignInManager.PerformSignIn(String userName, SecureString password) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\UserManagement\SignInManager.cs:line 42    at Mendix.Modeler.Utility.ProgressUtil.<>c__DisplayClass2_0`1.b__0(IProgressInfo info) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProgressUtil.cs:line 43    at Mendix.Modeler.Utility.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 88    at Mendix.Modeler.Utility.Progress.ProcessRunner.worker_DoWork(Object sender, DoWorkEventArgs e) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 68    at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)    at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)    --- End of inner exception stack trace ---    at Mendix.Modeler.Utility.Progress.ProcessRunner.Run() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 50    at Mendix.Modeler.Utility.ProgressUtil.Do[T](String message, Func`1 action) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProgressUtil.cs:line 46    at Mendix.Modeler.UserManagement.SignInManagerUI.SignIn(String userName, SecureString password) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\UserManagement\SignInManagerUI.cs:line 39    at Mendix.Modeler.UserManagement.SignInDialogModel.SignIn() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\UserManagement\SignInDialog\SignInDialogModel.cs:line 70    at Mendix.Modeler.UserManagement.SignInDialogEnterPasswordWizardStep.SignInWithPassword() in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\UserManagement\SignInDialog\SignInDialogEnterPasswordWizardStep.cs:line 79    at Mendix.Modeler.UIFramework.ButtonSpec.ButtonOnClick(UIFrameworkControl uiFrameworkControl, Object sender) in C:\jenkins\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Specs\ButtonSpec.cs:line 69    at System.Windows.Forms.Control.OnClick(EventArgs e)    at System.Windows.Forms.Button.OnClick(EventArgs e)    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)    at System.Windows.Forms.Control.WndProc(Message& m)    at System.Windows.Forms.ButtonBase.WndProc(Message& m)    at System.Windows.Forms.Button.WndProc(Message& m)    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Microflow to 'count' all the correct answers

$
0
0
I am creating a simple quiz. On the admin pages, I have outlined, using a boolean, which answer is the correct one to a specific question. There are 40 questions in total.  When a user attempts the quiz, I need to generate a results page which tells the user how many correct answers they got out of 40.  I am assuming I need a microflow to do this, but how do I go about doing it? any help would be appreciated.  

Digital Signature - Store as image and display

$
0
0
Hi, I am using the Mendix Digital Signature widget on a form that requires two signatures (Requestor and Approver). Once the 'Requestor' signs and confirms the form, the 'Approver' will see the form in a read-only page, and should see the 'Requestor' signature as an image so they cannot change the signature. (Since the widget has a 'reset signature' option) I understand that the digital signature is stored as a base64encoded unlimited string, and in order to save it it must be decoded using the Base64DecodeToFile Java Call from CommunityCommons.  I am using this Model Share from another forum post to try to make this work. (https://modelshare.mendix.com/models/f7e93184-fa93-41e9-81ab-47c7ec93f9e7/signature-store-signature-as-image) While replicating this model, I receive an error on the Base64DecodeToFile step that says: com.mendix.systemwideinterfaces.MendixRuntimeException: java.lang.IllegalArgumentException: Source file is null    at ProcurementModule.ACT_SetDigitalSignatureURL (JavaAction : 'Base64DecodeToFile')   Can anyone guide me in the right direction to either fix the error I receive or a better way to solve the problem? Once the error is resolved and I am able to save the signature to the file object, how do I display this as an image within the Mendix App?   Thank You,   Jeff   
Viewing all 83468 articles
Browse latest View live


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