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.
JQuery and other client side scripts can easily be integrated with K2 Smartforms through a K2 Smartforms control present in K2 control panel known as ‘HTML Literal’. Developer just need to drag and drop the HTML Literal control which comes out to be Runtime Literal. Developer can just put their code in Runtime Literal and play around with the controls and can execute control events. As JQuery is very much useful for instant feedback, hence the integration of K2 and JQuery makes the application more robust and user-friendly.
When configuring a K2 Client event, K2 allows you to configure a form that is displayed when the user clicks on a worklist item. Sometimes it’s required to add an additional parameter to the querystring K2 created. Often, this is an object identifier used to load a database record and this value is used as an identifier.
Configuring the client event to pass querysting information from the K2 designer to the K2 worklist form is as very simple. The following steps are used to achieve this:
I recently had some issues with the following error (authentication with server failed), which manifested on all work flows being executed on a specific K2 BlackPearl server:
Authentication With Server Failed : The password for this account has expired.
After checking and rechecking all passwords we came to the conclusion that all of them are still valid. What were K2 going on about? Then it dawned upon us that another project was recently deployed to the same server – Could it have something to do with this? And indeed it did.
It every so often happens that your K2 server’s performance slowly but surely grinds to a halt, and this is often due to the server running out of disk space. The first thing to check in such a scenario is the size of the K2 database log file. It often happens that this file has grown to an unmanageable size.
This file is usually (on a default installation) located at the following location:
In a previous blog post we explored how to create various relationships between your SmartObject entities. In this post we will expand on the usefulness of having defined these associations in the first place.