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

Blocking progress bar gone before all html is loaded

$
0
0
Hi,    A client wants us to build a datagrid that loads many non-persistent objects (sometimes even up to 5000). You can imagine that it takes a while to load the page (up to 5 seconds). To indicate that the page is loading we make use of the blocking progress bar. However, our problem is that the blocking progress bar is only showing for a short while and is already gone before the page is fully loaded.  This gives the user the idea that all records are loaded while this is actually not the case.  So, what we need is a blocking progress bar that remains until all html is loaded.  The weird thing is that there is no problem when we enter the page from the navigation menu: the progress bar remains untill all html is loaded. It is only when we add/modify/delete records and want to refresh the page that the problem occurs.  Anybody any ideas how to solve this problem?    Regards

Pass a List to different page

$
0
0
I have a scenario where a user selects certain objects in list. I have to display and use that list on a different page . I tried using microflow but did not succeed. Is there any way to show the element selected in first gird to a grid in different page

SAML Custom User Provisioning

$
0
0
I have set up up the SAML module, which also works with the default user group assignment. Now I would like to assign the corresponding user roles in Mendix to different users based on the claim "userrole" of the IDP. My current sub-microflow in the 'CustomUserProvisioning' Microflow first uses the list operation "Find" on AssertionAttributeList to search for the value "Admin" (is there a better way because I also know the claim key – which is “userrole”). After the Find OperationI have an exclusive split that checks if the find operation != empty (is that correct?). If true then I would like to assign the user role "Admin" to the user - but I haven't found out how to do this yet. For testing purposes I have set the attribute "WebServiceUser" to true - which doesn't work either. Can someone give a detailed description how to set up such a custom user provision or knows why it doesn't work for me? Thank you

Creating helper entity associated with session

$
0
0
I am working on an app where I have created a helper entity. This entity is created for storing/holding the ‘access token‘ which I get after logging in to some third part authentication provider (e.g. Google, Facebook). Now each time user logs in, he will get that token and  I want that token to be referred throughout the application (for calling REST APIs). I can not store the token in database because application will be used by multiple users at the same time. So I want it to be limited for logged in user session.  What approach will you suggest for such scenario ?

Nested listviews highlight row

$
0
0
Hi, I have two nested list views, in inner view i have a table to display, how can i force to only highlight one row of the inner view, that is if i select one row only that row is hightlighted, right now looks like each outer view (toplevel) has its row highlighted. Thanks Shannon

Associated values in two list views need to be highlighted

$
0
0
Hi i am having two list views in single page , where in 1st list view one entity is passed and 2nd list view second entity is passed on.. while i am selecting one value in 1st list view and their associated value in the second list view also be clicked or highlighted…… how can i achieve this ????    The below one is my domain model  The below one is my list view page     while clicking vendor1 the associated value product1 also be clicked or highlighted because of association ….. whether this can be achieve in css ????

Display the data in tabular format and implement on click event.

$
0
0
Hi , I want to display the data in following format. How can I display it?. and also i want to implement event handler. I mean if i select one row then the microflow should get called. Can any one tell me how can i do it? 

Does deployment copy additional files

$
0
0
I have copied additional files in deployment folder of mendix project. When the same is deployed on cloud these files are not getting copied. Essentially I am copying an exe file that I need to run using a mendix app at server side. When I copied this exe in deployment folder in my machine and run the application locally it seems to be able to find this exe. But on deploying on cloud exe is not present. Is there any way to copy these additional files while deployment on cloud ?  

Reversed 1-* cross module association from Administration module

$
0
0
I found some strange behaviour in the Studio Pro 8. When I create a cross module association between my own entity businesspartner and the account entity in the administration module, then the one to many association is showed wrong. In the domain model it shows *-1 association going from my own entity businesspartner with the * on the customer side. However in the pop-up window the association is reverted and the * is on the account side. It works fine as the 1-* association in the pop-up window. Any one encountered this same issue?

Favorite apps

$
0
0
This may not be the proper “forum” for this question but I’m curious to learn more from the Community what have been your favorite apps that you’ve built with Mendix? Why did you build them (what problem or solution were you looking to fix) and what sort of success or impact on your organization have they had? Thanks for sharing some inspiration!

.XSD issue importing XML schema

$
0
0
Same kind of issue as in this forum question. It was fixed with the answer from Erwin. However I have more XSD files and I am trying the trick as mentioned before but now I get an error saying: Error: "The 'complexType' element already exists in the content model." at line 131 column 4 of 'file:///filepath../RateAvailabilityResponse.xsd'. At line 131 it shows the same complextype part which can be changed with the trick. When I change this I get a new error saying:  Error: "The 'http://www.w3.org/2001/XMLSchema:element' element is not supported in this context." at line 131 column 4 of 'file:///filepath../RateAvailabilityResponse.xsd'. Any idea how to make Mendix correctly import this mapping so I can also put this logic to other XSD files I need to import? XSD: <?xml version="1.0" encoding="UTF-8"?> <!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com) by Guillermo Dumois (Carnival Cruise Lines MSDP-720n) --> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:include schemaLocation="SharedDataTypes.xsd"/> <xs:element name="RateSailingInformation"> <xs:complexType> <xs:sequence> <xs:element name="GeneralSalesComments" minOccurs="0"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="200"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="MiscChargeAmt" minOccurs="0"> <xs:simpleType> <xs:restriction base="xs:decimal"/> </xs:simpleType> </xs:element> <xs:element name="PortChargeAmt" minOccurs="0"> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> </xs:element> <xs:element name="Currency" type="CurrencyType" maxOccurs="unbounded"/> <xs:element name="RequestedCityCode"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="6"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="City" minOccurs="0"> <xs:complexType> <xs:attribute name="Code" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="6"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="Name"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="20"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="Type"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="TypeDescription"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="30"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="Insurance" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="AvailableInd" type="Indicator" use="required"/> <xs:attribute name="Type" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="TypeDescription"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="30"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="Amount" type="xs:decimal"/> </xs:complexType> </xs:element> <xs:element name="Transportation" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="Type" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="TypeDescription"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:maxLength value="20"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="MiscChargeAmt" use="required"> <xs:simpleType> <xs:restriction base="xs:double"> <xs:minInclusive value="0"/> <xs:maxInclusive value="9999999999.99"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="PortChargeAmt" use="required"> <xs:simpleType> <xs:restriction base="xs:double"> <xs:minInclusive value="0"/> <xs:maxInclusive value="9999999999.99"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="DiningSeating" type="DiningSeatingType" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="SegmentId" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="6"/> <xs:maxLength value="6"/> <xs:enumeration value="RATSAR"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> <xs:complexType name="RateCodeInformationType"> <xs:sequence> <xs:element name="Rate" type="RateType"/> <xs:element name="Status"> <xs:complexType> <xs:complexContent> <xs:extension base="StatusType"> <xs:attribute name="AvailableInd" type="Indicator" use="required"> <xs:annotation> <xs:documentation>A Y/N value that indicates whether the rate code is available to be booked.</xs:documentation> </xs:annotation> </xs:attribute> </xs:extension> </xs:complexContent> </xs:complexType> </xs:element> <xs:element name="PastGuestInd" type="Indicator"> <xs:annotation> <xs:documentation>A Y/N value that indicates the rate code is only available to past guests (Y), or to anyone (N).</xs:documentation> </xs:annotation> </xs:element> <xs:element name="BookDates" minOccurs="0"> <xs:complexType> <xs:attribute name="Begin"> <xs:annotation> <xs:documentation>Beginning date that the rate code is available for booking.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> </xs:attribute> <xs:attribute name="End"> <xs:annotation> <xs:documentation>Ending date that the rate code can be booked.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"/> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="Comments" minOccurs="0"> <xs:annotation> <xs:documentation>Additional text about the rate code</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1"/> <xs:maxLength value="200"/> </xs:restriction> </xs:simpleType> </xs:element> <xs:element name="InsuranceAvailableInd" type="Indicator"> <xs:annotation> <xs:documentation>A Yes/No value that indicates whether insurance (or waiver) is available for the rate code.</xs:documentation> </xs:annotation> </xs:element> <xs:element name="ExtraGuests" minOccurs="0"> <xs:complexType> <xs:attribute name="AllowedInd" type="Indicator"> <xs:annotation> <xs:documentation>A Yes/No value that determines whether to allow more than 2 guests in a cabin.</xs:documentation> </xs:annotation> </xs:attribute> <xs:attribute name="RateVariesInd" type="Indicator"> <xs:annotation> <xs:documentation>A Yes-No value that indicates that the 3rd, 4th, and 5th guest rates may be different</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="Currency" type="CurrencyType" minOccurs="0"/> <xs:element name="Guests" minOccurs="0"> <xs:complexType> <xs:attribute name="Maximum"> <xs:annotation> <xs:documentation>Reflects the minimum number of guests that can be booked in a cabin with this rate code.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:byte"> <xs:minInclusive value="0"/> <xs:maxInclusive value="99"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="Minimum"> <xs:annotation> <xs:documentation>Reflects the maximum number of guests that can be booked in a cabin with this rate code.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:byte"> <xs:minInclusive value="0"/> <xs:maxInclusive value="99"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="Transportation" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:attribute name="Type" use="required"> <xs:annotation> <xs:documentation>Represents one type of transportation that can be combined with the rate code. Use the TransportationType constant table to translate the TransportationType.Code. If description information was requested, use the accompanying TransportationType.Description.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="1"/> </xs:restriction> </xs:simpleType> </xs:attribute> <xs:attribute name="Description" use="optional"> <xs:annotation> <xs:documentation>A text value representing the modes of transportation available for this rate code.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1"/> <xs:maxLength value="20"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> <xs:element name="GroupBookNum" minOccurs="0"> <xs:annotation> <xs:documentation>Indicates the rate code is available through a group booking belonging to the requesting agency.</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:minLength value="1"/> <xs:maxLength value="14"/> </xs:restriction> </xs:simpleType> </xs:element> </xs:sequence> <xs:attribute name="SegmentId" use="required"> <xs:annotation> <xs:documentation>"“RATAV2” The SegmentId is common to all segments and is used to identify the data within the segment."</xs:documentation> </xs:annotation> <xs:simpleType> <xs:restriction base="xs:string"> <xs:length value="6"/> <xs:enumeration value="RATAV2"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> <xs:complexType name="RateAvailabilityResponseType"> <xs:sequence> <xs:element name="RateSailingInformation" type="RateSailingInformationType"/> <xs:element name="RateCodeInformation" type="RateCodeInformationType" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="SegmentId" use="required"> <xs:simpleType> <xs:restriction base="xs:string"> <xs:enumeration value="RATAVR"/> </xs:restriction> </xs:simpleType> </xs:attribute> </xs:complexType> </xs:element> </xs:schema>  

File Upload issue with Authorization header on Amazon S3

$
0
0
Hello, I guess that almost all user have this issue when they uplaod a file. Uploading file failed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'eu-west-1' (Service: Amazon S3; Status Code: 400; Error Code: AuthorizationHeaderMalformed; Request ID: CB5EE4BA3BE3FA07; S3 Extended Request ID: B8K5X3kwe65FvJScaBAGv7iG0rFoL+gi6Y6vO/gV8w1dy7YjfC5MIlfJDSWJRuPTL5KFuZ/gekk=) Do you know if it’s really a bug of the platform (beta 3) ? Maybe someone found a solution or at least a workaround ?  Thanks in advance. S.

Clickable container with link not working on iOS devices

$
0
0
Hi   I have an iOS app which features a menu. One of the menu items is a link the a website. The url behind the link is initialized in an attribute and is clickable via a clickable container widget.   The link works fine on desktop and Android devices. But it doesn’t seem to open the website on iOS devices. Can this be a permissions problem? Does anyone have the same problem or know a solution?   Kind regards

How to read client side parameters (e.g. cookie or object in session storage) from Microflow

$
0
0
I want to read some values from client side (browser) like cookies, objects in session storage. But I can not call nanoflow from microflow and javascript action can be called only from nanoflow. What approach will you suggest ?

Remove underscore in enum value

$
0
0
I have an attribute called Year which is being used in a microflow for some calculations. The enum value of this attribute is 2018 and 2019. However, when I try to use it in a to integer function it reads it as _2018. Is there a way to remove this? 

Handing over an app

$
0
0
Hi all Just wondering what the best way to hand over an app to another company would be. Another company has built an app that we are going to take over but not 100% sure how to do it.  Thanks

mendix and highcharts

$
0
0
Hello, The standard widgets for line charts with igh amount of points are very slow, therefore I intend to check highchart. Is it possible to user highchart within mendix?   Regards   Christian

OTP Generation

$
0
0
Hi, how to implement Standard 6-8 digit  OTP generation in Mendix for two-factor Authentication.

Progress bar (or circle) for long-running microflow

$
0
0
I would love to give my users more feedback on how long a long-running microflow will take. The various progress bars (and circle!) in the app store looked perfect for this because I could show the percentage complete. Unfortunately, after trying for hours with almost all of the options in the app store, I was unable to use them to show the percentage. I assume this is because microflows run in transactions and only commit at the end.   How can I give my users a microflow’s percentage done that updates periodically? If the progress bar apps in the app store aren’t for doing that what use case were they created for? Thank you!

Kubernetes how to set your environment settings, constants, scheduled events?

$
0
0
According to the documentation at https://docs.mendix.com/deployment/docker/run-mendix-on-kubernetes I can't figure out where to set your environment specific constants, enable/disable scheduled events etc. Is there somebody with best practices for this (for example consul or configmaps?). let me know :)
Viewing all 83469 articles
Browse latest View live


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