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.
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.
When developing K2 SmartForms, most developers tend not to implement user friendly messages. In this blog, we will go through step-by-step how to implement error handling that results in a user-friendly K2 error message being displayed to the users when an error is raised. The method for doing this in K2 SmartForms is similar to how we do it for conventional .NET applications.