Welcome to the Synergy Technical Blog and Technical Knowledge Base – a resource that shares intelligent and creative solutions that have been built and implemented on real-time projects on behalf of Velocity clients.
Exporting to Microsoft Excel is an important day-to-day requirement of many business users, however, in Mendix there is presently no out-of-the-box feature that allows you to directly export to an Excel file. This blog will describe the process of configuring a 3rd party control that will give the ability to export Mendix data directly to Excel.
There is no direct way in Mendix where we can call Java code. To include any custom Java code, we can use Java Actions. This article will cover the steps on how to add and make use of a Java Action. We will be using simple Java program for different mathematical calculation operations – for example, Add, Subtract and Multiply.
In K2, it is possible to create multiple runtime sites with different authentication types in the same server. In this article we will see how to create an anonymous K2 SmartForms Runtime site with anonymous access for public users.
K2 doesn’t provide out-of-the-box functionality to retain the list view page number after a list is refreshed. Whenever a user edits and saves a record on any given page, the user will then be navigated back to first page of the list view. We can overcome this frustrating issue by using a combination of jQuery and view rules.
This article will take you through a step-by-step solution on how to retain the list view page number after a list refresh with the help of jQuery.
How often do you view a list of data and find that the column headers disappear as you scroll? This is often due to the list not having its column headers fixed and can be frustrating as you need to keep scrolling back to the top locate your position. Look no further, this how to guide provides a step-by-step solution on how to implement the scrolling functionality on a List View once it reaches a particular number of records in the list.
In some cases, we have a requirement to change the importance of an email based on custom conditions. Using the K2 email event wizard configuration, we can set the importance of an email but it will be applied to all the email notifications.
Toolbar button icons improve the usability of a system as they graphically prove a queue to the system user to perform system actions. In K2, generic toolbar buttons exist to describe an action which can be performed. Examples of these icons include; Add, Delete, Check In and Check Out. However, there may be a requirement to use a specific icon to describe an action which is not included in the standard ‘out of the box’ icon list.
K2 smartforms and the K2 community controls do not have a lightweight mini calendar control for the dynamic presentation of dates, in a colorful format. For example, you might have a requirement to highlight a particular date, using a colour, which varies on the event type. Conditional formatting in smartforms can be used to achieve something similar, but not within a calendar control.
K2 has a variety of styles that can be applied to controls and you can even go a step further and create your own custom theme for your K2 application. But in certain cases all you need to do is apply a unique style to a control. For these cases you can easily apply CSS to your form that will render at runtime.