TXFAJavaScriptSession.BindIdentity

Unit: HPDFXFAEventScript

Declaration

procedure BindIdentity(const Alias, Identity: AnsiString;
  const Limits: TXFAFormScriptLimits);

Behaviour

Associates a virtual node created in an event with the stable host identity assigned after document replay

The runtime supplies validated alias and identity values; this preserves module-captured nodes and script objects across instance publication

The binding is journaled and shares the session resource limits; failed bindings raise EHPDFXFAError and must roll back with the enclosing transaction

Related APIs

TXFAJavaScriptSession, HPDFXFAExecuteJavaScriptEvent and Interactive Dynamic XFA Widget Runtime