Livecycle

Livecycle

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
  • Getting Started
  • Quick Start Tutorials
  • Using LiveCycle Designer ES
  • Using Guide Builder
  • Scripting
  • Menu, Command, Toolbar, and Dialog Box Reference
  • Sample Form Snippets and Forms
  • Glossary
  • Copyright and trademark notices
  • Livecycle
  • Scripting
  • Scripting Reference
  • Scripting Methods
  • insertInstance
insertInstance
Inserts a new instance of a subform or subform set into a form.
Syntax
Reference_Syntax.insertInstance( INTEGER param1 [, BOOLEAN param2 ] )
Parameters
 
param1
An integer specifying the zero-indexed position to insert the instance within a set of instances.
param2
(optional)
A Boolean value indicating if data should be merged with the new subform instance.
•
true | 1 (JavaScript) or 1 (FormCalc)
Merges the new subform instance with the available data.
•
false | 0 (JavaScript) or 0 (FormCalc)
The new subform instance is not merged with data.
Returns
An object representing the new instance of the subform or subform set.
Applies to
 
Model
Object
sourceSet Model
source
Version
XFA 2.1
Examples
JavaScript
Subform1.instanceManager.insertInstance(3, 0);
FormCalc
Subform1.instanceManager.insertInstance(3, 0)

insertInstance

Livecycle > insertInstance

  • Welcome to Adobe LiveCycle Designer ES
  • Introducing Designer ES
    • Getting Started
      • Quick Start Tutorials
        • Using LiveCycle Designer ES
          • Using Guide Builder
            • Scripting
              • Scripting Using LiveCycle Designer ES
                • Scripting Reference
                  • About the Object Scripting Reference
                  • Version mapping to XFA
                  • XML Form Object Model Class Hierarchy
                    • Scripting Objects
                      • Scripting Properties
                        • Scripting Methods
                          • absPage
                          • absPageCount
                          • absPageCountInBatch
                          • absPageInBatch
                          • absPageSpan
                          • addInstance
                          • addItem
                          • addNew
                          • append
                          • applyXSL
                          • assignNode
                          • beep
                          • boundItem
                          • cancel
                          • cancelBatch
                          • clear
                          • clearErrorList
                          • clearItems
                          • clone
                          • close
                          • createNode
                          • delete (FormCalc Only)
                          • deleteItem
                          • deleteRecord
                          • documentCountInBatch
                          • documentInBatch
                          • emit
                          • enumerate
                          • evaluate
                          • execCalculate
                          • execEvent
                          • execInitialize
                          • execute
                          • execValidate
                          • exportData
                          • first
                          • formNodes
                          • getAttribute
                          • getDelta
                          • getDeltas
                          • getDisplayItem
                          • getElement
                          • getFocus
                          • getItemState
                          • getSaveItem
                          • gotoRecord
                          • gotoURL
                          • h
                          • hasDataChanged
                          • importData
                          • insert
                          • insertInstance
                          • isBOF
                          • isCompatibleNS
                          • isEOF
                          • isPropertySpecified
                          • isRecordGroup
                          • item
                          • last
                          • loadXML
                          • messageBox
                          • metadata
                          • moveCurrentRecord
                          • moveInstance
                          • namedItem
                          • next
                          • open
                          • openList
                          • page
                          • pageContent
                          • pageCount
                          • pageDown
                          • pageSpan
                          • pageUp
                          • previous
                          • print
                          • recalculate
                          • record
                          • relayout
                          • relayoutPageArea
                          • remerge
                          • remove
                          • removeAttribute
                          • removeInstance
                          • requery
                          • reset
                          • resetData
                          • resolveNode
                          • resolveNodes
                          • response
                          • restore
                          • resync
                          • saveFilteredXML
                          • saveXML
                          • selectedMember
                          • setAttribute
                          • setElement
                          • setFocus
                          • setInstances
                          • setItems
                          • setItemState
                          • sheet
                          • sheetCount
                          • sheetCountInBatch
                          • sheetInBatch
                          • sign
                          • update
                          • updateBatch
                          • verify
                          • w
                          • x
                          • y
                      • FormCalc User Reference
                      • Menu, Command, Toolbar, and Dialog Box Reference
                        • Sample Form Snippets and Forms
                          • Glossary
                          • Copyright and trademark notices

                          Livecycle

                          • de
                          • en
                          • fr
                          Powered by Helpmax Guide Source