Press "Enter" to skip to content

Posts tagged as “Javascript”

Using K2 with NoSQL (MongoDB + dynamic REST API)

0

Such scenarios are not common, that you need to use K2 with NoSQL databases. However, I would still like to show the possibility of a K2 platform to connect to NoSQL databases to 'CRUD' data. Moreover, the REST API I am trying to show is kind of dynamic. The object schema as well as the collection you are working with completely depends on the swagger schema you use with K2 REST Broker. The current approach is also suitable for a K2 Cloud platform.

Changing view background in K2 Smartforms

1

Changing a view background in K2 Smartforms is not available out of the box. Moreover, if you need to create a reusable component with the new background, which you can then reuse across one or multiple applications. Here I will quickly explain, how you can change view background in K2 Smartforms with the help of JavaScript. Please, refer to the post How to add JavaScript on Smartforms, if certain steps are not clear.

How to find a control instance with JavaScript

0

Very often people try to find a control instance with JavaScript in K2 Smartforms. The approach, discussed in this article, can be used to find certain controls. However, this is not something you need on a daily basis, but rather rarely for certain functionality, that is not available out of the box. When you need to inject something and need to set or get the value of a control.

Scroll to top button

0

Various preferences of customers define the layout of their forms. Some prefer the forms with tabs, others – everything on one page. Quite often you can have big forms and…

Custom Control vs JavaScript Injection

0

K2 Smartofrms is a designer of user interfaces. It helps you build forms for applications of various complexity. Even though there are a lot of standard components, events, actions, themes, we do not fully control the Document Object Model (DOM). That is produced by the K2 Smartforms engine. But what if we need something non-standard? What if we need to exceed the limits?