Hi, I have a unique business requirement which is, when using two layers of Self Referenced objects, to create a list of all child objects with ommitting Parent objects. What is the simplest way to do this?
↧
Create a list of all self referenced child objects without parent objects.
↧
Setting Template Grid's cell in Document Template
Hi, I use Document Template and Template Grid to export PDF files. I then need to set the number of columns to 12 or more, but the cells are narrow. Is there any way to widen this to fit the width of the Template Grid? Also, is there any way to keep text in a cell from breaking lines? Thank you.
↧
↧
Can't initialize Runtime: None.get
I am trying to start a Mendix app with a mssql server and I am running into an error when initializing the app. Here is by database config: Here is my stack trace: An error occurred while initializing the Runtime: None.get
--------
com.mendix.m2ee.api.AdminException: An error occurred while initializing the Runtime: None.get
at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:273)
Caused by: java.util.NoSuchElementException: None.get
at scala.None$.get(Option.scala:627)
at scala.None$.get(Option.scala:626)
at com.mendix.connectionbus.connections.jdbc.implementations.sqlserver.SqlServerDataStoreConfigurator.createDefaultDataSource(SqlServerDataStoreConfigurator.java:83)
at com.mendix.connectionbus.connections.jdbc.implementations.sqlserver.SqlServerDataStoreConfigurator.createDataSource(SqlServerDataStoreConfigurator.java:119)
at com.mendix.connectionbus.connections.jdbc.JdbcDataStoreConfigurator.initialize(JdbcDataStoreConfigurator.java:66)
at com.mendix.connectionbus.connections.jdbc.ConnectionManager.(ConnectionManager.java:34)
at com.mendix.connectionbus.ConnectionMinibus.connectionManager$lzycompute(ConnectionMinibus.scala:53)
at com.mendix.connectionbus.ConnectionMinibus.connectionManager(ConnectionMinibus.scala:52)
at com.mendix.connectionbus.ConnectionMinibus.systemProperties$lzycompute(ConnectionMinibus.scala:62)
at com.mendix.connectionbus.ConnectionMinibus.systemProperties(ConnectionMinibus.scala:59)
at com.mendix.connectionbus.ConnectionMinibus.get(ConnectionMinibus.scala:73)
at com.mendix.filedocumentprocessor.OldFileMigration$.isMigrationDone(OldFileMigration.scala:204)
at com.mendix.basis.objectmanagement.meta.metamodel.FileStoreBinaryMember$$anonfun$create$1.applyOrElse(FileStoreBinaryMemberFactory.scala:26)
at com.mendix.basis.objectmanagement.meta.metamodel.FileStoreBinaryMember$$anonfun$create$1.applyOrElse(FileStoreBinaryMemberFactory.scala:24)
at scala.PartialFunction$Lifted.apply(PartialFunction.scala:338)
at scala.PartialFunction$Lifted.apply(PartialFunction.scala:334)
at com.mendix.basis.objectmanagement.meta.metamodel.MetaPrimitiveRegistry$ExtensibleCreator.apply(MetaPrimitiveRegistry.scala:60)
at com.mendix.basis.objectmanagement.meta.metamodel.MetaPrimitiveRegistry$ExtensibleCreator.apply(MetaPrimitiveRegistry.scala:53)
at com.mendix.basis.objectmanagement.meta.metamodel.MetaPrimitiveRegistry.createMendixObjectMember(MetaPrimitiveRegistry.scala:36)
at com.mendix.basis.objectmanagement.MendixObjectFactory.createMendixObjectMember(MendixObjectFactory.scala:134)
at com.mendix.basis.objectmanagement.MendixObjectFactory.createPrimitive(MendixObjectFactory.scala:114)
at com.mendix.basis.objectmanagement.MendixObjectFactory.$anonfun$createMembers$1(MendixObjectFactory.scala:71)
at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)
at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)
at scala.collection.AbstractIterable.foreach(Iterable.scala:926)
at com.mendix.basis.objectmanagement.MendixObjectFactory.createMembers(MendixObjectFactory.scala:70)
at com.mendix.basis.objectmanagement.MendixObjectFactory.createInstance(MendixObjectFactory.scala:53)
at com.mendix.basis.objectmanagement.MendixObjectFactory.$anonfun$initializeObjectInstances$1(MendixObjectFactory.scala:36)
at scala.collection.StrictOptimizedIterableOps.map(StrictOptimizedIterableOps.scala:100)
at scala.collection.StrictOptimizedIterableOps.map$(StrictOptimizedIterableOps.scala:87)
at scala.collection.convert.JavaCollectionWrappers$JCollectionWrapper.map(JavaCollectionWrappers.scala:68)
at com.mendix.basis.objectmanagement.MendixObjectFactory.initializeObjectInstances(MendixObjectFactory.scala:36)
at com.mendix.basis.impl.MxRuntimeImplBase.initializeCore(MxRuntimeImplBase.java:399)
at com.mendix.basis.impl.MxRuntimeImplBase.start(MxRuntimeImplBase.java:239)
at com.mendix.m2ee.appcontainer.actions.StartAction.startRuntime(StartAction.scala:30)
at com.mendix.m2ee.appcontainer.actions.StartAction.execute(StartAction.scala:17)
at com.mendix.m2ee.appcontainer.server.handler.HttpAdminHandlerBase.service(HttpAdminHandlerBase.java:128)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:750)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:508)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1378)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:463)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1300)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
at org.eclipse.jetty.server.Server.handle(Server.java:562)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:319)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:412)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:381)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:268)
at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.produce(AdaptiveExecutionStrategy.java:190)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:894)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1038)
at java.base/java.lang.Thread.run(Thread.java:834)
I’ve looked at several other threads and I’m not really coming to a conclusion. Some seem to be working, others seem to imply that this can only work when the app is deployed. What can I do here? EDIT: Change the URL and now I’m running into a different error: Opening JDBC connection to Some(localhost:1433) failed with SQLState: S0001 Error code: 18456 Message: Login failed for user 'sa'.
↧
No Attribute I can choose in the combo box
I simply want to use combo box to list supplier name, I chose Database as Data source and when I need to select the Attribute, there is nothing I can select. The entity only have 2 attributes, one is guid which is String type, another one is company_name which is String as well. Do I miss anything here?
↧
Can't open app in studio pro - "KeyNotFoundException"
Hi all, I'm encountering an issue that prevents me from opening an app in Studio Pro 10.12.4. I've searched extensively but couldn't find a solution. I've included the error details below. Has anyone encountered this issue recently or knows of a fix? I'd appreciate any help. Thanks. Error Details: System.Collections.Generic.KeyNotFoundException: The given key 'd042321d-758e-4b04-8a5a-34f1d1c2cb00' was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 136 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 102 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 64 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 137 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 102 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 64 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 137 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 98 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 64 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 137 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 102 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 64 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 137 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 98 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 64 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConvertFromStorage(IStorageUnit containingUnit, IStorageObject obj, ICachedProperty prop, JToken token) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 137 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.FillProperties(IStorageUnit containingUnit, IStorageObject obj, JObject jObject, ICachedType cachedType) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 98 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructObjectInternal(IStorageUnit containingUnit, IStorageObject container, JObject jObject) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 64 at Mendix.Modeler.Storage.Operations.UnitContentsLoader.ConstructUnitFromContents(IStorageUnit container, Byte[] contents) in Mendix.Modeler.Storage\Operations\UnitContentsLoader.cs:line 39 at Mendix.Modeler.Storage.Operations.UnitLoader.ConstructUnit(IStorageUnit container, IMprUnitData unitData) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 193 at Mendix.Modeler.Storage.Operations.UnitLoader.<>c__DisplayClass16_0.b__0(IMprUnitData unitData) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 163 at Mendix.Modeler.Storage.Mpr.Storage.MprUnitRepositoryBase.ExecuteLoadCommand(IDbCommand command, Boolean loadContents, Action`1 handleUnitData) in Mendix.Modeler.Storage\Mpr\Storage\MprUnitRepositoryBase.cs:line 183 at Mendix.Modeler.Storage.Mpr.Storage.MprUnitRepositoryBase.LoadUnitsBatched(IEnumerable`1 unitIDs, Boolean loadContents, Action`1 handleUnitData) in Mendix.Modeler.Storage\Mpr\Storage\MprUnitRepositoryBase.cs:line 166 at Mendix.Modeler.Storage.Mpr.Storage.MprUnitRepositoryBase.LoadUnits(UnitQuery unitQuery, Boolean loadContents, Action`1 handleUnitData) in Mendix.Modeler.Storage\Mpr\Storage\MprUnitRepositoryBase.cs:line 118 at Mendix.Modeler.Storage.Operations.UnitLoader.LoadUnits(IStorageUnit unit, IEnumerable`1 unitIDs) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 157 at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 119 at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 150 at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 150 at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 150 at Mendix.Modeler.Storage.Operations.UnitLoader.LoadChildUnits(IStorageUnit unit) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 150 at Mendix.Modeler.Storage.Operations.UnitLoader.Load[T](IProgressInfo info, Dictionary`2 _knownUnits) in Mendix.Modeler.Storage\Operations\UnitLoader.cs:line 48 at Mendix.Modeler.Storage.Database.Load[T](IProgressInfo info, Dictionary`2 knownUnits, Boolean throwOnUnknownObjects) in Mendix.Modeler.Storage\Database.cs:line 50 at Mendix.Modeler.Operations.ProjectFileLoader.<>c__DisplayClass3_0.b__0(IDatabase database) in Mendix.Modeler.Core\Operations\ProjectFileLoader.cs:line 30 at Mendix.Modeler.Storage.DatabaseManager.<>c__DisplayClass12_0`1.b__0(IDbConnector connector) in Mendix.Modeler.Storage\DatabaseManager.cs:line 77 at Mendix.Modeler.Storage.DbConnectors.SQLiteConnector.<>c__DisplayClass2_0`1.b__1() in Mendix.Modeler.Storage\DbConnectors\SQLiteConnector.cs:line 45 at Mendix.Modeler.Storage.DbConnectors.DbConnector.WithoutTransactionDo[TResult](Func`1 action) in Mendix.Modeler.Storage\DbConnectors\DbConnector.cs:line 53 at Mendix.Modeler.Storage.DbConnectors.SQLiteConnector.Do[TResult](String filePath, Boolean useTransaction, Func`2 action, Boolean forceNewConnector) in Mendix.Modeler.Storage\DbConnectors\SQLiteConnector.cs:line 43 at Mendix.Modeler.Storage.DatabaseManager.Do[TResult](String filePath, Boolean useTransaction, Func`2 action) in Mendix.Modeler.Storage\DatabaseManager.cs:line 73 at Mendix.Modeler.Operations.ProjectFileLoader.Load(IProgressInfo info, String filePath, Boolean debugLogEnabled) in Mendix.Modeler.Core\Operations\ProjectFileLoader.cs:line 26
↧
↧
Take a photo -Native
I am working on developing a native chatbot that can accept an image input from a mobile camera. I am having trouble figuring out how to implement this feature natively. Could someone please provide guidance on how to proceed?
↧
found {"result":560,"type":"exception"} when selecting value from drop-down list
i found 560 error when selecting value from drop-down list, and this is series drop-down list. My example.. Drop-down list A ==> soap type, e.g. bar type, liquid type Drop-down list B ==> size, e.g. 160 ml., 250 ml. Drop-down list C ==> packaging , e.g. plastic, sachet Drop-down list D ==> brand Below are scree Error throw when I select drop-down list A, then I can't continue my testing.
↧
Pdf Document Generation on Cloud
Hi, I use PDF Document Generation module and it works in my local without any problems. However, when I try to generate pdf in cloud environment, a snippet does not appear. I was pulling requester information using an association action in a microflow within the snippet. How can I solve this problem? Here is the difference between my local and cloud environment:
↧
User Approvals of workflow
Hello I am very new to workflows,, I want to create a flow for form approvals. If the planner team raise a request form for the approval by superviser 1 then the request form should go to supervisor 1 inbox for approval after that it should go to supersior 2 inbox for approval after submitting the supervisor 1 then this submitted form should go to manager for final submission. This flow should be tracked in the backend of the status of that requested form ID . Now I want to create a workflow for approvals by different users. I was facing the problem in the request form is going to supervisor 1 inbox after requesting the form but after submitting by supervisor 1 in his inbox its not reflecting in the supervisor 2 inbox .Please help me anyone Thanks & Regards Harika
↧
↧
Help with Excel Exporter
Hello, I'm new to Mendix and exploring its features, particularly the Excel exporter. I have some questions regarding exporting multiple related entities and using templates for specific information. Here's what I'd like to know: Exporting related entities: Is it correct to export two or more related entities using the Excel exporter in Mendix? If not, could you recommend a better approach? Relating tables in templates: Can related tables be included in templates to extract more specific information? For instance, if Table 2 is related to Table 1, how can I extract information from Table 2 based on a foreign key in Table 1 using the Excel export feature? Choosing templates: When exporting data from a page, how can I select a specific template instead of the default one? Is it possible to write logic to access the plugin's database and retrieve available templates to make a selection? I apologize if my questions seem basic or unclear. Any guidance or resources would be greatly appreciated.
↧
How to get sticky headers for DataGrid 2
Hi all, I'm struggling with implementing sticky headers for DataGrid2 in Mendix 10.12.0. We have our paging behavior set to virtual scrolling. In the default styling the code is as follows - the styling is not overwritten from what I can find: .sticky-sentinel {
&.container-stuck {
& + .widget-datagrid-grid,
& + .table {
.th {
position: -webkit-sticky; /* Safari */
position: sticky;
z-index: 50;
}
}
}
} And the HTML is the browser is as follows: Lastly, the grid resides inside a tab view, which in turn resides in a DataView. I have seen these posts however, their solutions don't seem to work. Mendix Community - Question Details Mendix Community - Question Details Any advice? TIA!
↧
Get displayed rows only from a datagrid2
How can I get the filtered row (object list) and send to the save button? I have a microflow to handle this list
↧
Error connecting to Azure database
Hello, I'm attempting to integrate with an external database, specifically Azure. I've installed the Database Connector plugin and selected "Microsoft SQL" as the database type to connect to Azure. For the host, I've entered "localhost". In the port field, I've inputted "8080". I've then added the database name and their respective credentials. However, when testing the connection, I encounter the following error: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.) Could someone please help me understand why this error occurs and provide guidance on how to resolve it? Thank you so much! ;)
↧
↧
An error occurred while initializing the Runtime: None.get
Trying to initialize an app after adding the database configuration in the solution settings. Every time I run the app I keep getting this error An error occurred while initializing the Runtime: None.get
↧
Correct Date format
I’m working with an Excel file import that contains a date column, and I want to ensure that users only enter dates in the “dd-MM-yyyy” format. So, first i will import the excel file. If a user enters a date in another format (e.g., “MM-dd-yyyy” or dd/MM/yyyy), I want to trigger a validation error. How to achive this in a decision? Thanks everyone...
↧
Security in Mendix: Cannot reproduce correct answer in knowledge check
I am currently preparing for the Advanced Developer certification and stumbled over Questions 2 and 3 of the knowledge check 2.9 of the "Configure Advanced Security" learning path. If you follow the instructions to the letter, even "Question 1" would not work, because we need to grant the Customer module role page access so they can open the page and see the expected result. Let's be generous and assume, that everybody would do that anyway. Let's also assume that the Request_Overview page is linked to the Navigation bar so it can be opened at all. When we come to questions 2 and 3, the results contradict each other. At first glance, the correct answer to question 2 is quite straight forward. But we have to grant the Administrator module role to the Administrator user role, and assign the Administrator module role page access, or the page won't even show up in the navigation bar. But then question 3 happens and non of the options of question 2 are correct. So my question: Under what assumptions can the expected "correct" answers of Question 2 and Question 3 be achieved in reality?
↧
Best Practices - Digital Signature
Hi All, I am about to start a new process that requires Digital Signatures for official documents. (Bank documents, contracts, etc.) I already know that some of the Banks will accept DOCUSIGN as a method of signing electronically. I have implemented the Mendix Digital Signature add-on for some other internal forms, but am concerned that it may be difficult to have third-party businesses accept this. I am looking for recommendations on implementing a trust worthy Digital Signature process within Mendix. Has anyone used the Docusign module? (It seems old and there aren't many downloads) Thanks in advance!
↧
↧
SSL error when loading app locally
Hello, I am followig the “Becoming a rapid developer” course on the Academy, and I am at the point where I should run the app locally to check it out, but I have an issue when I click the “View” button after having clicked the “Run locally” button. Chrome tries to load this URL: https://localhost:8080/index.html?profile=Responsive but it fails to load anything with this error: This site can’t provide a secure connectionlocalhost sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR This is a screenshot of the error: The same happens with IE or Firefox. I am running Mendix Studio Pro 8.4.1 Any suggestion on how I can fix this? Thanks.
↧
Performance test scripting for Mobile app - HTTP 560 error
We are having some trouble with creating performance test scripts (HTTP calls, using LoadRunner) for a native mobile application that runs on a tablet. The situation: The app makes a call to https://[redacted].hana.ondemand.com/xas/, using a specific operationId (9kdzkhkm6Femw3p78D6erw), that returns a json containing which URL to use to log in. This returns a json with a URL for login in, which has the format (where {state} and {nonce} are dynamic values): https://mendix-apps-[redacted].authentication.eu10.hana.ondemand.com/oauth/authorize?response_type=code&response_mode=query&client_id=[redacted]&redirect_uri=[applicationname]%3A//[redacted].cfapps.eu10.hana.ondemand.com/xsauaacallback/&display=page&scope=&state={state}2&nonce={nonce} This URL is opened in a browser, and redirects to microsoft login. When this login it completed within the the login.microsoftonline.com domain, we end up with a SAMLResponse. This SAML is then used to login, by posting it to: https://mendix-apps-qas-[redacted].authentication.eu10.hana.ondemand.com/saml/SSO/alias/mendix-apps-qas-[redacted].aws-live-eu10 This POST request, does two redirects, the URL for the redirects contain a URL argument named 'code' which is the token that is needed for authentication. The second redirect is to a URL starting with [applicationname]://, which will trigger the app to open. This cannot be used in our performance test tooling. [applicationname]://[redacted].cfapps.eu10.hana.ondemand.com/xsauaacallback/&code={code} We tried to replace [applicationname]:// with https://, but that request returns a HTTP code 560, which is a specific Mendix response code. The xsauaacallback it related to the Mendix SAP connector. We need a final request to the xsauaacallback to get the XASSESSIONID cookie and a x-csrf-token header , which are both needed for authentication. Our questions: - What is the cause of the HTTP 560 error? - What does the app do with that [applicationname]:// redirect? Our guess is that it does an additional https request, but it does not show up in our recordings.
↧
Putting the contents of a list into String
Is this type of functionality possible? I am currently trying to add the content of a list into a string, which is then pulled into the contents of an email body. My current thought is to iterate over the list, but I doubt any aggregate will add to string.
↧