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

OQL Query failure in higher instance-Hint: There is an entry for table "reporting$reportsearch", but it cannot be referenced from this part of the query.

$
0
0
I have one Dataset using OQL ,wrote query and able to test successfully in LOcal run while trying to run same in Test instance it is giving below error. Exception occurred in action '{"request":"InternalOqlTextGetRequest (depth = 0): select MDM_Customer.CustomerAccount.CustomerId InviteCode, MDM_Customer.CustomerAccount.CompanyName CompanyName, MDM_Customer.Invite.CustomerEmail CustomerEmail, MDM_Customer.Invite.CustomerName+' '+ MDM_Customer.Invite.CustomerLastName CustomerName, MDM_Customer.CustomerAccount.SubmissionDate SubmissionDate, MDM_Customer.CustomerAccount.IsWalkIn IsWalkIn, MDM_Customer.CustomerAccount.SubmissionDate SubmissionDate, MDM_Customer.Invite.DateSent DateSent, BrandManagement.BrandsMaster.BrandName BrandName, MDM_Customer.Invite.InviterFullName InvitedBY, Administration.Account.FullName AsssignedTo FROM MDM_Customer.CustomerAccount,Reporting.ReportSearch, MDM_Customer.Invite,BrandManagement.BrandsMaster,Administration.Account where 1=1 and (MDM_Customer.CustomerAccount.CompanyName = Reporting.ReportSearch.CompanyName or Reporting.ReportSearch.CompanyName = NULL) and ( MDM_Customer.CustomerAccount.CustomerId =Reporting.ReportSearch.InviteCode or Reporting.ReportSearch.InviteCode = NULL) and (MDM_Customer.Invite.DateSent>=Reporting.ReportSearch.InviteCreationStartDate or Reporting.ReportSearch.InviteCreationStartDate = null) and (MDM_Customer.Invite.DateSent<=Reporting.ReportSearch.InviteCreationEndDate or Reporting.ReportSearch.InviteCreationEndDate = null) and MDM_Customer.CustomerAccount/MDM_Customer.Invite_CustomerAccount/MDM_Customer.Invite/InviteCode=MDM_Customer.Invite.InviteCode and MDM_Customer.Invite/MDM_Customer.Invite_BrandsMaster/BrandManagement.BrandsMaster/BrandName= BrandManagement.BrandsMaster.BrandName and MDM_Customer.CustomerAccount/MDM_Customer.CustomerAccount_Account/Administration.Account/FullName=Administration.Account/FullName and Reporting.ReportSearch/Reporting.ReportSearch_User= '[%CurrentUser%]'","type":"RetrieveOQLDataTableAction"}'

Mendix React Native Background Image Style

$
0
0
How to add the Background Image in custom JS Mendix React Native as well Gradiant Background in native js

mendix cloud integrate with on-premise SAP

$
0
0
What is the best way to integrate our on-premise SAP EC6 system in a mendix application running in the mendix cloud?

Mendix OQL Module - Feed Object Parameter Based on Data Grid Selection?

$
0
0
Hi – can the OQL module here from the app store https://appstore.home.mendix.com/link/app/66876/ accept an object parameter based on data grid selection? Example: after user selects a data grid row, feed that selected data grid row as input to run some OQL? If this is possible, can someone offer hints on how to achieve that? I’ve used this OQL module before but not with the parameter thus described. Thanks for any tips~

Textbox without surrounding data container.

$
0
0
i think i’s a really simple question, but I can’t solve it. I want to have a simple input field for a string which the user should type in. After this he should press a button and a microflow starts and catches the value from the input field and saves it to my global variables. Unfortunatly it’s not possible with a textbox because it needs a data container around. I tried it with a data container but then the next problem occured that from my Homepage I have to provide an object which I don’t have at this time. The object will be created after the user pressed the button.   Any idea how to solve it?

React native manifest

$
0
0
How  to edit mainfest file while still debugging on the make it native  app

OQL Dataset - Context Object Using Java action?

$
0
0
Hi – has anyone coded an OQL dataset to use a context object via Java action? If so, could you please offer an example? Trying to learn how to do this and this thread near the end suggests it is possible https://forum.mendixcloud.com/link/questions/3686. Thanks … Googling has offered no leads so far

NativeRest

$
0
0
Getting Network request failed error while calling rest service using this widget  https://appstore.home.mendix.com/link/app/112178/

How to easily validate input fields against entering (java)script-input

$
0
0
Hello, If no validation is put on a string input field, there is a possibility that potentially harmful scripts can be entered which could be executed when for example the data is retrieved to the client.  I was wondering if anyone knows of a non-invasive way to stop these scripts from being entered / saved to the database. I'm afraid that if I add a validation rule with a regular expression to each string-attibute in my domain models, it will decrease the performance. Does anyone have experience with this?

React Native list view widget load more button missing?

$
0
0
Hey guys, how’s it going? Does anybody have a similar issue? I have a list view with the source being nanoflow, which has over a certain amount set to show initially, but the “load more” button doesn’t exist? So I am stuck with what I set in the first place?

Entity Access Rules - XPath Constraint and Association

$
0
0
I tried to find another post similar but was unable to find it.  So  here I go: I have an entity holding Orders.  Roles A and B have full access to edit all attributes on Orders.   At some point an order will be associated to one or more SummaryReports.  If an order is associated with at least one report, it should not be edited by Role B, but still could by Role A.  There is an associated SummaryReport table in a many – many relationship. In the Order entities’ Access Rule, I want to set a read only rule to Role B using XPath.  I tried to state if an association exists  [Order_SummaryReport] But I get the error, “Expression must be of type Boolean”.  I’ve tried != empty and more, but not getting it right. Any suggestions?  Let me know if you need clarification. Peace, Keith

backgroundimage with native styling

$
0
0
how to use backgroundimage with native styling ??

How to return Integer in custom React Widget

$
0
0
What is the correct way of sending an integer value in a custom react widget to the Mendix modeler/runtime?  Is setValue the expected method or setTextValue?  I am unable to find the correct way to convert a value to the correct type that both Typescript and the Mendix runtime expect.  setTextValue appears to take care of the type conversions for me. I have followed the tutorial as outlined in Build a Pluggable Web Widget: Part 1 and referenced the editable values in Client APIs Available to Pluggable Widgets. Using the Text Box project as an example, I changed <attributeType name="String"/> to <attributeType name="Integer"/> in the widget XML file and then performed type conversions as needed.  Assuming value = ‘1000’, the .setTextValue() method works for the onUpdate action and converts the value into a type Mendix expects. private onUpdate(value: string): void { this.props.textAttribute.setTextValue(value); } If i try to use the .setValue() method, any form of type conversions such as Number(value), Big(value) or just passing a straight integer, eg 1000, does not work.  private onUpdate(value: string): void { this.props.textAttribute.setValue(Big(value)); } After resolving the typescript errors, the Mendix runtime throws “Error: Value 1000 is not assignable to attribute of type Integer.” Am I to use setTextValue to parse integer values to Mendix integer values or is there a way to use setValue?  What is the recommended method?

How to use page parameter of a data view in OQL (inside that page view)

$
0
0
Hi guys I am passing an Object to a page = the page parameter. Which is received by the data view. Inside the data view I have a report grid with an OQL Data source (which i later on want to replace with an DS_Microflow with the same OQL query in it, so that i can use list views with custom UI). Now my question is: How can I use the data view object ins OQL of the repord grid? In OQL specification of the report grid there is an area of parameters , whereby I can add objects with constraints, but seen i dont have the ID of the object I am not able to retrieve that specific object. Can I somehow use/get the variable into my oql specification?

IMAP/POP3 incoming email: error while encrypting

$
0
0
Hi all, I’ve downloaded the module IMAP/POP3 incoming email, but when i’m creating a new Email provider in the app, it gives me an error and i’m not able to save the settings to the database. When i look into Mendix studio pro, i see an error in the encryption part of the IVK_SaveAccount microflow with the description: Error while encrypting string, Key should not be empty. I don’t understand why this is, because the password is provided in the previous step. When i activate the debugger, I’m getting the following response: The string provided is not an encrypted string. Returning the plain string. Can someone help me? I thought that it was an complete template which i can use without changing stuff.  Thanks in advance!         

"Undefined" Message Dialog Box When Clicking Button

$
0
0
Hi – I get a dialog box saying “Undefined” when I click on a button … Any idea how I can troubleshoot this? I don't think the debugger will work on a button

OQL - Integer Parameter Drop Down - Can This be Free-Form?

$
0
0
Is there a way to have an integer parameter used for OQL be free-form entered instead of a drop-down with predefined values? I’m seeing it takes a while for the page to load with a range of dropdown values.

Looking for service to send SMS

$
0
0
Hi, we are looking to send SMS messages from a Mendix application. Preferably we would use webservices to integrate with a service provider that can send SMS messages. Does anybopdy know a good provider of such a service?

POST Request makes no changes in database

$
0
0
Hello everyone, I am trying to make a POST request against my database. With postman it work fine but not with mendix. I use the exact same headers and body in mendix and also get a response with status code 200 but the data in the database does not change. Even Wireshark shows that the requests are similar.   Any ideas why it does not work ? Thanks and best regards, Daniel

XPath constraint based on a member of the CurrentObject

$
0
0
I have a dataview with, say, entity A, and a datagrid inside it with entity B. The entities share no association, however they have a number attribute which might be the same. My purpose is to show all entities B which have the same number as the current entity A. How can i achieve this? In short: i would like to achieve the behavior of the following (invalid) Xpath constraint on the datagrid of entity B: [Number = '[%CurrentObject%]'/Number]
Viewing all 83469 articles
Browse latest View live


Latest Images

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