Show TOC

InteractiveFormLocate this document in the navigation structure

Use

You can use the InteractiveForm UI element to insert a PDF document (interactive or non-interactive) into a view.

You can also integrate a form which was created with the Form Builder.

The Form Builder is called if you double click on the templateSource property of the InteractiveForm UI element.

You can find details about the integration of forms in the section Integration of Forms.

Runtime Class

CL_WD_INTERACTIVE_FORM

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

additionalArchives

STRING

No

archive

STRING

No

classId

STRING

No

codeBase

STRING

No

contextMenuBehaviour

WDUI_CONTEXT_MENU_BEHAVIOUR

inherit

No

contextMenuId

WDY_MD_UI_ELEMENT_REFERENCE

No

dataSource

Context Node

Yes

 displayType:

WDUI_INTERACT_FORM_DISP_TYPE

activeX

Yes

enabled

WDY_BOOLEAN

true

Yes

fileName

STRING

Yes

formLanguage

SPRAS

Yes

height

STRING

300px

Yes

jobProfile

STRING

Yes

lifeTime

WDUI_LIFE_TIME

whenVisible

Yes

pdfSource

XSTRING

Yes

readOnly

WDY_BOOLEAN

false

Yes

styleClassName STRING Yes

templateSource

STRING

No

tooltip

Translatable text

Yes

type

STRING

No

visible

WDUI_VISIBILITY

visible

Yes

width

STRING

300px

Yes

Events in View Designer

Note

Other properties that can be inherited are defined in the related higher-level classes. The related UI elements are:

Accessibility

Note that, in connection with Accessibility, the tooltip attribute is not checked as part of the syntax check.

Dynamic Programming

For dynamic programming, the same properties, events, and aggregations as in the View Designer are available. But note that the spelling format and use of upper/lower case is different.

Dynamic Programming of Properties

View Designer Name

Runtime Name

Type

additionalArchives

ADDITIONAL_ARCHIVES

STRING

archive

ARCHIVE

STRING

classId

CLASS_ID

STRING

codeBase

CODE_BASE

STRING

contextMenuBehaviour

CONTEXT_MENU_BEHAVIOUR

WDUI_CONTEXT_MENU_BEHAVIOUR

 contextMenuBehaviour: inherit

CL_WD_INTERACTIVE_FORM=>E_CONTEXT_MENU_BEHAVIOUR-INHERIT

 contextMenuBehaviour: provide

CL_WD_INTERACTIVE_FORM=>E_CONTEXT_MENU_BEHAVIOUR-PROVIDE

 contextMenuBehaviour: suppress

CL_WD_ITEM_LIST_BOX=>E_CONTEXT_MENU_BEHAVIOUR-SUPPRESS

contextMenuId

CONTEXT_MENU_ID

WDY_MD_UI_ELEMENT_REFERENCE

dataSource

DATA_SOURCE

OBJECT

 displayType:

DISPLAY_TYPE

WDUI_INTERACT_FORM_DISP_TYPE

 displayType: activeX

CL_WD_INTERACTIVE_FORM=>E_DISPLAY_TYPE-ACTIVE_X

 displayType: native

CL_WD_INTERACTIVE_FORM=>E_DISPLAY_TYPE-NATIVE

enabled

ENABLED

WDY_BOOLEAN

fileName

FILE_NAME

STRING

formLanguage

FORM_LANGUAGE

SPRAS

height

HEIGHT

STRING

jobProfile

JOB_PROFILE

STRING

lifeTime

LIFE_TIME

WDUI_LIFE_TIME

lifeTime: whenAlive

CL_WD_INTERACTIVE_FORM=>E_LIFE_TIME-WHEN_ALIVE

lifeTime: whenVisible

CL_WD_INTERACTIVE_FORM=>E_LIFE_TIME-WHEN_VISIBLE

pdfSource

PDF_SOURCE

XSTRING

readOnly

READ_ONLY

WDY_BOOLEAN

styleClassName STYLE_CLASS_NAME STRING

templateSource

TEMPLATE_SOURCE

STRING

tooltip

TOOLTIP

WDY_MD_TRANSLATABLE_TEXT

type

TYPE

STRING

visible

VISIBLE

WDUI_VISIBILITY

visible: none

CL_WD_INTERACTIVE_FORM=>E_VISIBLE-NONE

visible: visible

CL_WD_INTERACTIVE_FORM=>E_VISIBLE-VISIBLE

width

WIDTH

STRING

Dynamic Programming of Events

View Designer Name

Runtime Name

onSubmit

ON_SUBMIT

onError

ON_ERROR

Method Handler

Some properties of the InteractiveForm UI element are not set using the UI element properties but instead with the help of method handler. For more information, see the relevant system documentation of IF_WD_IACTIVE_FORM_METHOD_HNDL.

Example

You can find an example of this UI element in the WDR_TEST_ADOBE component.