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

Tab container possible to give the tabs a color based on a value

$
0
0
I want to show different tabs in a tabcontainer and based on same value have it green or red. Offcourse this can be done via teh visibilty option but I hope there are better options.

Compilations of Java actions failed

$
0
0
Buildfile: E:\Mendix\App-main\deployment\build_core.xml compile:    [javac] Compiling 39 source files to E:\Mendix\App-main\deployment\run\bin    [javac] E:\Mendix\App-main\javasource\smtpemailmodule\mail\EmailModule.java:12: error: package com.mendix.util.classloading does not exist    [javac] import com.mendix.util.classloading.Runner;    [javac]                   ^    [javac] E:\Mendix\App-main\javasource\smtpemailmodule\mail\EmailModule.java:130: error: cannot find symbol    [javac]       new Runner()    [javac]         ^    [javac]   symbol:   class Runner    [javac]   location: class EmailModule    [javac] 2 errors BUILD FAILED E:\Mendix\App-main\deployment\build_core.xml:29: Compile failed; see the compiler error output for details. Total time: 2 seconds     

MxSorting in Excel Exporter (XLS Report)

$
0
0
Hi, I am creating an excel export template via microflows and I want to have the rows sorted. Therefore I found the entity MxSorting in which you can set the attribute to sort on. Creating the sorting with the other information (Ascending, Sequence and Summary) goes well, but the attribute is not selected. The name of the attribute I entered corresponds to the name of the attribute it should be sorted on, but it is still not able to select the correct attribute, it just leaves the attribute empty. Is there someone who has experience with this sorting?

Speech to text widget

$
0
0
We want to develop an app with the option for users to give information by speech. This must then be converted tot text and send to the app for input. Does anybody know of a widget that does this?

SEO - Crawlers - Page source code

$
0
0
We are trying to achieve SEO for our mendix applications and the way that search engines getting the content of the page is to allow crawlers to decipher the source code from it to be reached later, However, the issue is that whenever you try to open a source code for the page only you will see a javascript tags, therefore, crawlers will not be able to see the content also we tried to use https://prerender.io but our applications are on cloud using nignx web server and we cannot access web server files.  

Appronto Validator 2.1 question

$
0
0
I have downloaded the latest version of it and was hoping to be able to validate on association.  I have Account, and assocition, Account_AccountType. Type is another entity. When I do validation, I need to first retreive AccountType by the association? If the Type is empty, I need to do AddValidation check, here, the attribute to validate, should I put ".Account_AccountType"?  I tried it, it gave me error.   Can someone give any ideas? Thanks  

Highlight Menu item of the current page in Java?

$
0
0
Hello everyone, I have a question about what Mendix will highlight when you visit a Mendix website. Now it has set a destination which it will show but the highlighted menu item is always the first. There is a JavanScriptOnLoad that selects the first item.   Is there a easier way or better way to let Mendix highlight the current page? 

New Queue in the app store

$
0
0
Hi fellow Mendix developers, Last months I took the time to build a lightweight Mendix Queue module from scratch. I used the existing Process Queue module very often in projects, but missed some features and the module shows unexpected behavior in some situations (for instance when deleting a queued job). In addition, I wanted to unit test (using JUnit and Mockito) logic with 100% coverage, which allows us to ensure proper functioning in future releases. Specific features are: Easy to implement Jobs can be scheduled using a pre-configured delay in a user-defined time unit Jobs are retried (not FIFO by default, they are re-added to the beginning of the queue) after an error with an increasing delay (using exponential backoff) Queued jobs can be removed from the queue (cancelled) Running jobs can be aborted Minimized database interactions (queue itself is not persistent and the microflow to execute is stored as a Job attribute) In case of an error, the error handling behavior specified in the microflow is applied (in contrast to the Process Queue). An error without rollback will result in the changes being committed, but the Job receiving the status Error   Please let me know what you think and what features you miss! I will try to keep the queue lightweight. For instance, a Job audit trail is not implemented, but can be easily added by creating a specialization of the Job entity and implement events/associated entities.  

Listview showing objects depending on user's input

$
0
0
Hello everyone, I have a listview in which I show the objects of an entity which has among its attributes a boolean value. I want to offer the user the option to filter on the boolean value, and the option to see all objects, regardless of the boolean value. Anyone an idea on how to do this?  

error tab has gone away

$
0
0
Error tab has gone away ... how do I reinstate 

Max Database connections after login

$
0
0
Hi all, I have an app running where somehow as soon as someone logs in, the maximum of 50 database connections is established. This does not seem like normal app behaviour. I have tried removing all widgets from the app, but still the problems persists. Is there anyone who has encountered this sort of issue before?  

How to show list based on passed object

$
0
0
Hi guys, I am new on mendix and trying to figure out a solution for following   scenario: 1. I have an Entity "Resource" and an Entity "Planning". The relation is 1 to many. So one resource can have multiple plannings, but one planning can only be associated with one resource. 2. I have a page with a list of my resources. (ListView) On each of the resources there is a button "Jump to planning" 3. After selecting the button "Jump to planning" a microflow "Open Planning" starts. 4. On that microflow I have an paramater called "resource". So I created an activity "Show Page" and selected "resource" as Object to pass. 5. The page "planning" will be opened after the microflow. 6. On the page "planning" I have a ListView of the Entity "planning"  Problem: The ListView "planning" shows me the planning of all resources, but I need only the plannings of the selected resource.   What I tried: 1. XPath:  I selected Type "Xpath" as Data source and wanted to filter by the passed resource object. So I began to type on the area of "XPath constraint" following code: [Module.Planning_Resource=$Resource] However I get an error message: "Unknown variable "Resource"" I don't know how to pass the resource object so I can use it as a variable in the XPath constraint.   2. Microflow as Data source I created a microflow called "FilteredPlanning". This microflow is triggered by the button "Jump to planning" of the resource ListView. So the microflow retrieves the object resource. I have an activity "Retrieve Objects" where I retrieve a planning object and have following Xpath constraints [Module.Planning_Resource=$Resource] After that activity I have the activity "Show Planning" and my end event retunrs type "list" and the created planning list. On the planning page I selected this microflow as source, but I got the message: "Parameters of the selected microflow do not match available arguments. No arguments are available while the microflow has paramter of type Module.Resource".   Can anybody help me? I just want to have a list of planning filtered by the resource I selected on the resource-list-view.

Page security based on user roles.

$
0
0
Hi All, Is there a way that a user can only see their pages that's belonging to him? My goal is when a user tries to navigate through pages from the navigation, that the user can only see their pages. For an example when an employee tries to navigate to the homepage via the navigation menu, goes only to the homepage of the employee and not to a homepage from other accounts. I appreciate it for the help. Kind regards, Noureddine

Xpath constraint Error from tutorial

$
0
0
i have this : `StartDate >= '[%CurrentDateTime%]']` constraint in my Xpath.   But I dont understand why I get this error: "15 _ Error(s) in XPath constraint. _ Action activity 'Retrieve list of ScheduledCourse from database' _ Microflow 'DS_GetDashboardData' _ TrainingManagement"  When I click on the error the StartDate gets highlighted. The training link I follow is : https://gettingstarted.mendixcloud.com/link/module/10/lecture/91 And the item number is number : 22

Formating a String

$
0
0
Hi,     I'm having a string    MSH|^~\&|AAA|abc|ABC|abc|20171007064156||ORM^ORM^ORM_001|100||2.5.1|||NE||||ABC|A01|20161007064148|||||||||| I need to split the above string using pipe(|) as sepertors. Is there any way to split the above string

Current date for Document Template

$
0
0
HI,    Is that possible to use current date in Document Template? If yes,how?

Mendix driven Power BI reporting using Power BI row level security and Azure Active Directory Security.

$
0
0
Mendix driven Power BI reporting using Power BI row level security and Azure Active Directory Security.   Solution Goal : Use light weight interactive Power BI reports inside a Mendix IFrame were the row level security, Multitenant Security and OData feeds are controlled through a Mendix Cloud application with its existing security. Be able to create Power BI reports on the fly and add them to Mendix clients dynamically in a blink of an eye.   The current solution.   We have a Mendix application were we can add Power BI licenses to the standard Mendix License. This adds a Menu Item were the Power BI reports can be viewed. With each one of these licenses a unique client id is created with a role that is later matched to the Power BI Security. We also create Client OData Extract Objects with a OData extract URL, username and password. This is used to extract all the different data feeds we may want to use.    We use Matillion which is a ETL tool to extract all the OData(Any data source) that is specified in the client OData Extracts. So we first Extract the Mendix Power BI client extract data using OData. We loop through all the active clients and extract all the data that is need for the client. We then add row level security on to each row using the ClientName, ClientID and Site or LocationID.     Once all the data is transformed from all the sources it is written to a Snowflake Data Base. We extract data from Mendix, Ikentoo which is a Food and beverage point of sale and Xero at the moment but it could be anything.   Once this is done we create a work space and Data Set in power BI(This will be done once). All this information is stored in Mendix along with the Azure active directory user. The Azure active directory controls the access to the Power BI api.   Now reports can be created from the Power BI desktop and published to the Power BI cloud. A role and filter must be created for each Mendix client in Power BI, these come from the ClientID and ClientName records in Mendix. The report name and Power BI ID is created in Mendix and the reports can be viewed in Mendix using the Power BI api. At the moment we create a html file and use a java action to copy it to the Mendix web directory on the server and use an iframe which points to that URL. We can’t use a custom string widget or html snipped as the html sting contains java script that cant be rendered by Mendix. As seen Below!    
            By doing this we can quickly create reports in Power BI and share them with all our Power BI clients. When the clients view the reports they will only see their data. We do not have to create a report for each client. The Mendix application encapsulates and controls the Power BI reports.      I am sure there are other Mendix partners or developers that see the value in using this Power BI and Mendix use case. We have gone through the whole process of getting this working. We are prepared to work with Mendix to create a Power BI widget that has all the necessary input variables and then just displays the power BI report. This would make the whole process easier and it can be made available for everybody in the community.    Regards, Patrick

Database text in picture

$
0
0
  Hi, is it possible to have data from database in a picture? Example: And text from database on top of this picture.

Does Mendix support VueJS?

$
0
0
Hi folks, I'm brand new and I apologize if this has been answered: Does Mendix support VueJS? Or Svelte?

how use Drop-Down selection in Data grid or any view list

$
0
0
how use Drop-Down selection in Data grid or any view list ?    
Viewing all 83468 articles
Browse latest View live


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