PDF Editing Issues

Copy Table Rows in Adobe LiveCycle Designer Forms

Maira MehtabMaira Mehtab Nov 19, 2026 869 views

Question details

The user needs to select rows from an imported table and copy their values into a second table in an SAP print form.

Copy Table Rows in Adobe LiveCycle Designer Forms
Product
Adobe LiveCycle Designer for SAP forms
Device & OS
not provided
Scenario
An SAP Cloud print form uses an imported table as the source for another table in the form context.
Observed behavior
The desired result is a second table populated with the selected source rows.
Before you start

Confirm the source and destination table names, their XFA data bindings, and the fields to copy. Determine whether the form is interactive or rendered as a print form, since the appropriate data preparation and script event may differ.

Solution 1Recommended

Create destination rows with XFA instanceManager

Use this approach when the destination table has a repeatable row and the form's runtime supports the required XFA script.

The exact script depends on the form hierarchy, data bindings, selection criteria, and whether row instances or bound data records are the source. A working script requires the actual XFA paths and field names.

1
Inspect the bindings

In LiveCycle Designer, open the form and use the Hierarchy and Data View palettes to identify the source rows, destination row subform, and bound fields.

2
Make the destination row repeatable

Select the destination row subform in the Hierarchy palette. In the Object palette, check its binding and enable row repetition as appropriate for the form.

3
Add the copy logic

Open the Script Editor for an event appropriate to the form's rendering workflow. Loop through the source rows, test each row against the selection criteria, and call the destination row's instanceManager.addInstance() for each match.

4
Assign and test values

In the script, assign each matching source field's value to the corresponding field in the newly created destination row. Preview or render the form with sample data and verify the row count, values, and bindings.

Create destination rows with XFA instanceManager
Avoid duplicate rows: Choose when the script runs and account for existing destination rows; an event that runs more than once can otherwise create duplicates.
Free Microsoft Office alternative

Work with PDFs and Office tables in WPS Office

WPS Office is a free, lightweight alternative for everyday PDF and Office document work, with a familiar interface and compatible formats that make moving common files straightforward. It does not replace LiveCycle Designer for creating or scripting XFA forms.

View PDFs and work with tables in WPS OfficeOpen and edit compatible Microsoft Word and Excel formats, including DOCX and XLSXUse a familiar interface for everyday document tasksMove common Office files without learning an entirely new workflow
microsoft office alternative - wps office

Frequently Asked Questions

How do I create a new table row in an XFA form?

Configure the destination row subform to repeat in LiveCycle Designer, then use its instanceManager.addInstance() method in an appropriate script event. Assign values to the fields in the new instance.

Why does the copy script need the table and field names?

The script must resolve the actual XFA paths to the source rows, destination row instance manager, and fields. Check the Hierarchy and Data View palettes for the form's structure and bindings.

Can I populate the second table without an XFA script?

Yes, if the SAP form's data preparation can supply a separate collection of selected records. Bind the repeatable destination row to that collection before rendering.

Can WPS Office replace LiveCycle Designer for this task?

No. WPS Office can help with everyday PDFs and Office tables, but it does not provide the LiveCycle Designer workflow needed to create and script XFA form instances.