m_s
Novice

Loading Issue with K2 for Sharepoint API Forms

Hello K2 Experts

 

Looking for your advise.
We have Smartforms and Workflows that were created using K2 for Sharepoint API. Form data is going in sharepoint list.
However, forms are taking *personal details removed* second to load. We are suspecting slower loading time might be related to K2 for Sharepoint API. We are planning
to create database in SQL and forms in K2 and load k2 forms in sharepoint webpart.
Will that approach help us in reducing the loading time issue?


Any insight on this will be helpful.

0 Kudos
Reply
3 Replies
khanh1
Apprentice

Re: Loading Issue with K2 for Sharepoint API Forms

Hi,


 


I'm assumed your solutions are based on SharePoint Lists/Libraries via the K2 for SharePoint App and the slowness are happening when loading forms via K2 Smartforms. Could you give us an estimate of how long each form/view is loaded and what is the expectation?


 


Just a few suggestions, you can start with browser debugger tool (IE F12 or Chrome Dev), this will give you an idea of  the calls (i.e ajax calls) that take long to execute, see links below for more info.


 


https://www.k2.com/partners/smartobject-data-improvements-demo


https://johnnyk2com.wordpress.com/2015/08/12/optimizing-smartforms-performance/


https://www.datalytyx.com/how-to-improve-k2-smartforms-performance/


 


I would also do the following:


1. You want to use the asynchronous execution type as much as possible for optimal performance.


2. I will start by looking at the actions in the Form Initialize rule and optimize them per step 1.


3. Ensure that all the View Initialize actions in the Form Initialized rule are actually valid. Smartforms will try to execute all the actions when the form is load. Delete the ones that are uncessary.


 


When you are done with all of the above steps, you can then start to measure more on the performance side of thing such as the back end database (i.e. amount of data or the server hardware, etc...)

Reply
m_s
Novice

Re: Loading Issue with K2 for Sharepoint API Forms

Thank you for the details. It'll definitely help us.

 

Eventhough  I am logged in, I am getting error on the following link

 

https://www.k2.com/partners/smartobject-data-improvements-demo

 

Here is the error:

5932i2D329B70E0490C58.png

 

Currently, form is taking fifteen to thirty seconds in loading. 

0 Kudos
Reply
khanh1
Apprentice

Re: Loading Issue with K2 for Sharepoint API Forms

Hi,


 


My apologies, please try this link (https://help.k2.com/displaycontent.aspx?id=5963)

0 Kudos
Reply