You are viewing limited content. For full access, please sign in.

Question

Question

Laserfiche Forms - Populate Table with JavaScript

asked on June 21, 2016 Show version history

I have form (Forms 9.2.1) that needs to load data into a table from a web service call.  I am able to call the web service to get the JSON data, and I have a solution similar to the code here:  http://answers.laserfiche.com/questions/67972/How-to-automatically-populate-a-Forms-Table-with-multiple-rows-of-data-based-on-a-lookup.  Sometimes the web service returns hundreds of rows of data and it takes around 3 to 5 minutes to load these large forms.  

 

Is there a faster/better way of adding hundreds of rows to a table in Forms using JavaScript?

 

Thank you.

0 0

Replies

replied on June 21, 2016

since forms use basic jS / Jquery you would need something beyond these to achieve faster results. would something like this help?

https://github.com/mleibman/SlickGrid

0 0
replied on June 23, 2016

Junaid,

Unfortunately this solution won't work because it is not using a Forms table.  All of the data needs to be within a Forms table in order to be processed later by Workflow and to be displayed in later Forms submissions.

 

Thank you.

0 0
replied on June 29, 2016

Are there any other thoughts on how to add hundreds of rows to a Forms table other than looping through the data and programmatically clicking the "Add" link for each row?

 

Thank you

0 0
replied on July 13, 2016

Are there any other thoughts on this?  The performance of adding so many rows to Forms in this manner is too slow to be a viable solution.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.