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

Question

Question

Adding column to table that's on multiple forms

asked on July 2, 2015

Hi. I created a table that's used by multiple forms in an AP process. The data in the table is used in several javascripts.

I now need to add a column to that table and I need all forms to get that same column so the value can be propogated and modified by the users. I don't see a way to do this.

Does anyone know if this can be done, and if so, how?

0 0

Replies

replied on July 2, 2015

Go to the Data Sources and click on refresh for the data source that you are using.

 

0 0
replied on July 2, 2015

It's not the data in a database I need to get.

I created a table in Forms that appears on all the forms in the process. I added a column to that table on the first form. I now need that same column added to the table on all the other forms.

If I open the variable for that field, I can see the column is added, but it doesn't show up in the table that references that variable.

0 0
replied on July 2, 2015

You're absolutely correct Sheila. For some reason, changes made to a table do not get propagated to other forms that use that table's variable. I hope that it gets fixed soon, because manually adding the column to each table (along with the exact field options and column width) can be very cumbersome.

1 0
replied on July 2, 2015

I'd be okay if it was as simple as adding the column, but there's javascript that operates on it, so I now need to change the javascript to match the changes made to each form, and I have to make the default assignment of the field the value of the same field in the previous form (since they won't actually be the same fields/variables).

It'd be so much easier if the tables on the other forms inherited the changes, or at least gave us the option to inherit the changes.

0 0
replied on July 6, 2015

Hello there,

The changes made to a table field is local to the form. The removal of a column of the table variable is updated immediately for all forms. This is the expected behavior.

We'll look into providing functionality to easily add existing columns in a table variable to table field.

0 0
replied on July 6, 2015

This functionality would be great to have. 

I would recommend though in the meantime, one of two options:

1. Add the column multiple times, once each to each form it is in, and make sure the variable name is the same.

2. (Not tested) add the column to one table on one form. Then go to a different form and remove the table, then add the table back and the new column should be in there, along with the CSS Class name you assigned it. Repeat until complete on all forms

0 0
replied on January 15, 2016

Hi there,

When designing a form, add existing columns in Table/Collection is supported in Laserfiche Forms 10.

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

Sign in to reply to this post.