Hi Team, My use case is that I have a persistent entity that has associations with other Persistent entities and non Persistent entities. The non persistent entities that I refer here would be retrieved on the fly from a third party rest service on the fly. As per my requirement the association between Persistent entity and non persistent entity is 1-1. I believe this association is not possible in Mendix. Below is the draft domain model screen capture. Basically in my page I would want to display the Persistent entity and the associated Persistent and Non Persistent entities. Could someone help me understand how this can be achieved? One
↧
Persistent to Non Persistent entity 1-1 association
↧
Issues called a Stored Procedure using DatabaseConnector, passing an XML Paramater, returning Illegal XML character errors
I’ve got a requirement to call an external Stored Proc and pass through a large string of XML as the only parameter. I’ve made sure to encode the XML characters needed safely, – https://keylimetie.com/blog/2008/9/25/how-to-safely-escape-invalid-xml-characters/ However, I still get “XML Parsing: Line 1, character X, illegal XML character” errors returning, for strings containing characters like “£” and “-”. As far as I know I shouldn’t need to encode these, but I haven’t worked with calling SQL from Mendix before, so it’s all a bit new to me. Anyone had similar issues before? Any ideas on workarounds? Cheers.
↧
↧
"Last Edit" function regarding a editable list / page
Hello Community, I search a solution to track a last edit. In detail I will explain my usecase in following: I’m working at an app, where some selected people (one person of one plant) have to update some values to their plant page. Thus, I plan to add a Label at the page, that should show the last edit of the plant page. Does any widget or solution exist to realize some of this labels? Thanks in advance!
↧
List view expands vertically , is horizontal expand possible ?
I am using list view to display Date and few quantity associated for that date, the requirement is to show quantities below the date. I arranged the column in table to get the desired view but the problem with list view i am facing is that it expands vertically (add rows below) and i want it horizontally( in columns) How can it be achieved?
↧
Error While creating sprintr project
Mendix.Modeler.Sprintr.SprintrConnectorException: Error while creating sprintr project. ---> System.ServiceModel.CommunicationException: An error occurred while making the HTTP request to https://sprintr.home.mendix.com/ws/ModelerIntegration/. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server. ---> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. ---> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size) at System.Net.FixedSizeReader.ReadPacket(Byte[] buffer, Int32 offset, Int32 count) at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst, Byte[] buffer, AsyncProtocolRequest asyncRequest) at System.Net.Security.SslState.ProcessAuthentication(LazyAsyncResult lazyResult) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Net.TlsStream.ProcessAuthentication(LazyAsyncResult result) at System.Net.TlsStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.PooledStream.Write(Byte[] buffer, Int32 offset, Int32 size) at System.Net.ConnectStream.WriteHeaders(Boolean async) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.GetResponse() at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) --- End of inner exception stack trace --- Server stack trace: at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason) at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout) at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Dispatcher.RequestChannelBinder.Request(Message message, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Mendix.Modeler.SprintrConnector.SprintrService.ModelerIntegrationPortType.CreateNewProjectV4(CreateNewProjectV4Request request) at Mendix.Modeler.Sprintr.SprintrConnector.CreateSprintrProjectV4(String projectName, String projectSummary, IEnumerable`1 metadata) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.v4.cs:line 47 at Mendix.Modeler.Sprintr.SprintrConnector.CreateProject(String projectName, String projectSummary, IEnumerable`1 metadata) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.cs:line 194 --- End of inner exception stack trace --- at Mendix.Modeler.Sprintr.SprintrConnector.HandleSprintrException(Exception e, String actionDescription) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.cs:line 215 at Mendix.Modeler.Sprintr.SprintrConnector.CreateProject(String projectName, String projectSummary, IEnumerable`1 metadata) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrConnector.cs:line 199 at Mendix.Modeler.Sprintr.SprintrProjectCreator.CreateSprintrProject(String projectName, IEnumerable`1 metadata) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.Core\Sprintr\SprintrProjectCreator.cs:line 23 at Mendix.Modeler.ProjectHandling.Creators.ProjectInitializer.<>c__DisplayClass6_0.<AddCreateSprintrProjectStep>b__0(IProgressInfo info) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.ProjectHandling\Creators\ProjectInitializer.cs:line 60 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.RunStep(Step step) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 81 at Mendix.Modeler.UIFramework.Progress.ProcessRunner.OnDoWork(Object sender, DoWorkEventArgs e) in C:\jenkins-ci\workspace\AppStudio3.0-Build\modeler\Mendix.Modeler.UIFramework\Progress\ProcessRunner.cs:line 61 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
↧
↧
How to access inner most Json Data and store them in Table
How can store innermost data (key, value) in json data and store them in table from JsonObject. These are my json data and Domain Model. I’ve created the following microflow which is called be a data grid. For the MF, I’ve created ‘Call Rest’, but I’m not getting what should be next one. The MF ends with returning List of JsonObject to a Data Grid. How can store innermost data (key, value) in json data and store them in table from JsonObject. These are my json data and Domain Model. I’ve created the following microflow which is called be a data grid. For the MF, I’ve created ‘Call Rest’, but I’m not getting what should be next one. The MF ends with returning List of JsonObject to a Data Grid.
↧
To find average , calculation , formula, formulation, rate, monthly, weekly. yearly
Hi, Could you please inform me about formulation to find average? End user will rate themselves (between 1-10) for the values in the app (x, y, z) every day. I want to show average/result at the end of the week/month/year. I want to show on chart and report. I created a chart with X,Y line but I want to create another chart to show average/result. How I an calculate this? I need example, or solution to apply my app. Thank you in advance, Seray YILMAZ
↧
Can`t build a projec
Hello, Could you please explain the following error by project building? [+ 0] [BUILD 97318cb1-8bf7-42b7-88b2-81ee1728961e/branches/branch_ProductionRelease1_22Feb2019/491 -> 7532278. State: Pending] Scheduled the job. Position in queue: 0 [+ 0] [BUILD 97318cb1-8bf7-42b7-88b2-81ee1728961e/branches/branch_ProductionRelease1_22Feb2019/491 -> 7532278. State: Running] Started the job [+ 0] [BUILD 97318cb1-8bf7-42b7-88b2-81ee1728961e/branches/branch_ProductionRelease1_22Feb2019/491 -> 7532278. State: Running] Notifying cloud portal that job is running [+ 0] [BUILD 97318cb1-8bf7-42b7-88b2-81ee1728961e/branches/branch_ProductionRelease1_22Feb2019/491 -> 7532278. State: Running] Checking out repostory.. svn: E200029: Couldn't perform atomic initialization svn: E020014: Can't find a temporary directory: Internal error
↧
Consuming a REST Webservice (JSON-RPC) with authentication flow does not work
Hi all, I am making an app in which I want to make a connection to a website, which uses a JSON-RPC API. In this API, it is necessary to first authenticate yourself and thereafter make a specific request. I managed to make a connection to the website, which returns a correct value. However, when I want to do the next request, it says that I am not logged in anymore, so he forgets my previous connection that I set up. How do I make sure I can send several requests in 1 session? So at the moment, everytime I have a REST Consume action, it creates a new http client, but I want to continue in the first session.
↧
↧
Custom Widget Mendix 8
Hi, Am going through this tutorial(https://docs.mendix.com/howto/extensibility/create-a-pluggable-widget-one) and am stuck at 3.3.3 where I need to run npm run dev. I have updated npm and installed all required prerequisites, but keep on getting this error:
> cd ./node_modules/@mendix/pluggable-widgets-tools && node bin/mx-scripts.js "start:ts"
/usr/bin/bash: line 0: cd: ./node_modules/@mendix/pluggable-widgets-tools: No such file or directory
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! textBox@1.0.0 mx-script: `cd ./node_modules/@mendix/pluggable-widgets-tools && node bin/mx-scripts.js "start:ts"`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the textBox@1.0.0 mx-script script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AppData\Roaming\npm-cache\_logs\2019-08-07T14_21_33_483Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! textBox@1.0.0 dev: `npm run mx-script start:ts`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the textBox@1.0.0 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AppData\Roaming\npm-cache\_logs\2019-08-07T14_21_33_534Z-debug.log I assume after I build this without errors It adds it to my project’s widgets and dont need to do it like modeler version 7 where I used to copy the mpk to widget directory. Thanks
↧
How can I give transform effect to a particular product which is chosen by the user?
Hi guys, In my application I can store the last chosen product by the user in my database. After that, I need to give a transform effect to that particular product. I need to resizing the particular product in a certain size that user can understand that the product was chosen last time. can you help me out of this problem?
↧
What is the usecase for resizing and repositioning the Modal Popup?
A lot of styling frustrations come from the modal popup being able to be resized and repositioned. (inline styling) I have never seen a usecase for this though? anyone know any? #makePopupsGreatAgain
↧
How to use REST Service in Native Mobile?
Hi, I would like to use a REST service in a Native Mobile App. A REST Service can be called in a Microflow, but Microflows are not available in Native Mobile. There are only Nanoflows. Has anybody find out how to solve this? Thanks! Kind regards, Theo
↧
↧
Cross app entities/attributes read
Hi , could someone point me in the direction of some documentation on how to use stored values in the database for another app. This will ensure that the data is always consistent across our apps. We need to be able to pull data from each app independently.
↧
There are no changes to commit
Hi all, A colleague is having trouble committing, the modeller is not recognizing any changes, neither if tortoise SVN. Other apps work fine. We’ve tried Mendix 7 and Mendix 8 I have no trouble committing changes to any app. She has the correct permissions on the team server. We have reinstalled the modeller a few times, and also removed the app files locally and re-downloaded. This is not resolving the issue. Does anyone have any thoughts?
↧
Excel Importer limitations
I am having issues when trying to import objects from an excel file where it will tell my I am getting system errors and that I should contact an admin when i try to import ~5000 rows at a time, I have seen posts of people saying they are able to and should be able to import ~100k objects at a time, obviously it can depend on the number of attributes with each object, but mine for example only have like 8 attributes. For now I have just done smaller batches of ~4k objects at a time, but this isnt practical and can be time consuming should I need to import larger excel spreadsheets. My question is, with the excel import module is there a way to change any settings on the limit of the file import? As an example if you export from a datagrid to excel you can set the limit of the number of objects directly in the modeler. Thanks!
↧
How to export team server / commit history?
For our ISAE/ISO certification we need an export of all commits for a specific app. Is there a simple way to create an excel of all commits made ever or a specific date window?
↧
↧
How to set a default association?
Entity CurrencyCodes is more or less a list of constants (can only be edited by administration/maintenance personnel. It has entries such a USD, CAD, EURO etc. When I create a new PurchaseRequisition I want it to always default to the USD association with CurrencyCodes. How do I do this? Thank you!! x Regards, Ted.
↧
Chatter widget error
Hello, I’ve been trying to configure the chatter widget that I’ve found on the app store: https://appstore.home.mendix.com/link/app/1442/. Unfortunately I get some errors that I have no clue how to solve. Attached is a screenshot with the error(s) I get. Can someone help me find out why i get all these errors? thank you all! Ada
↧
Getting rid of C:\fakepath\ in document uploader
Is there a good way of getting rid of the C:\fakepath\ prefix to the filename when uploading a file using the FileUploader widget? I realize that the fakepath part shows up because of the way the browser limits the access of the javascript on a page, but is there a way of getting rid of it using something in the modeler?
↧