Skip to main content

 

Is there any way using which we can dynamically generate Field on k2 smartfroms??

 

I had requirment where business user will create sharepoint list and once they created list. Bases on that columns i would like to generate the SmartForms.

 

Niks

 

I believe the short answer to this is no (without building your own custom code to interact with the K2 api).

 

You can however use the generate a view feature of the K2 designer to generate item and list views from a smartobject. You can also tick an option to generate a form when you use this wizard. This feature is available by right clicking the smartobject or using the buttons on the properties panel.

 

 


Hi Niks,


 


If I am understanding your requirement correctly then Yes this is possible by making use of the K2 for SharePoint App and the features it offers.


 


By installing and registering this app on your SharePoint environment, you will will be able to access K2 Desginer via SharePoint thus also giving you the ability to create smartobjects, view, form, reports etc. from a newly created SharePoint List.


Example: If I have this app installed and I create a new SharePoint List with three columns (Name, Surname, Age) and I add data to this list, then I navigate and select the Application option in the SharePoint ribbon to generate a SmartObject and a view from this list, all of the columns and data would be present in the smartobject thus the list will have the same outcome.


 


K2 For Sharepoint app can be found here (please ensure that you install the K2 for SharePoint app fitting your K2 BlackPearl & SmartForms version):


https://portal.k2.com/downloads/bp/Default.aspx


 


Here are instructions on installing the K2 for SharePoint app:


http://www.google.co.za/url?sa=t&rct=j&q=&esrc=s&source=web&cd=8&ved=0CDoQFjAH&url=http%3A%2F%2Fhelp.k2.com%2Ffiles%2F7147&ei=khD_VK2ZPJXeapyegKAB&usg=AFQjCNEfahB0Q_fEXd41bcSzrIKBd_oecA&bvm=bv.87611401,d.d24&cad=rja


 


Kind Regards,


Raymond


Reply