Skip to main content
Nintex Community Menu Bar

How to create a Smartform custom control using javascrip libraries capble to interact with SharePoi

  • February 15, 2017
  • 3 replies
  • 23 views

Forum|alt.badge.img+1

Hi,

 

Is that possible to create a SmartForm Custom Control based in javascript libraries (such as JQuery, Angular) capable to interact with a sharepoint context by using parameters to specify the site collection, the site and library to look at.

 

Thanks for your help,

 

Regards,

 

Amazigh

3 replies

Forum|alt.badge.img+4
  • Rookie
  • February 15, 2017

Yes It is possible to using jQuery UI and build control. There are many developers who has build the control. 

I would recommend you to refer K2 Help to buuild control. 

Below is the link to control builder reference.

https://help.k2.com/onlinehelp/k2smartforms/devref/1.0.7/default.htm#k2_smartforms_custom_controls.html

 

Also there is one developer who developed control and has given pretty good guid on building steps. Below is the link for that

http://codecodecode.ninja/2015/09/building-k2-smartform-control/

 

 

I hope this will help you to get started with Custom Control Builder.

 

Cheers,

VS


Forum|alt.badge.img+1
  • Author
  • February 15, 2017

Hi Visheh

 

 

Thanks a lot for your answer

 

Please, do you know if it is possible to embbed Angular 2 instead of the Jquery into the custom control ?

 

Regards,

 

Amazigh


Forum|alt.badge.img+4
  • Rookie
  • February 17, 2017

Yes. As long as you add resouce files with the project as embaded code. 

The basic thing is the control need its .JS file if interacting with graphics and CSS. once you add those file you can use as reference as embaded. Sometimes control can be slower due to server/client event and execution.