Show TOC

JsonDataSourceLocate this document in the navigation structure

Use

With JsonDataSource you can transport values from the context of a Web Dynpro component to an HTMLIsland or HTMLContainer. To do this, use aggregation DATA_ELEMENTS to embed JsonDataSource in HTMLIsland or HTMLContainer, and bind property dataSource of JsonDataSource to a context node.

Implementation Details

Runtime Class:

CL_WD_JSON_DATA_SOURCE

Properties in View Designer

Name

Type

Initial Value

Bindable

id

STRING

(automatic)

No

dataSource

Context Node

 

Mandatory

name

STRING

 

No

Note

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

Aggregations in View Designer

Name

Cardinality

Type

DATA_ELEMENTS

0..n

JSONData

Note

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

Dynamic Programming

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

View Designer Name

Runtime Name

Type

dataSource

DATA_SOURCE

OBJECT

name

NAME

STRING

View Designer Name

Runtime Name

Cardinality

DATA_ELEMENTS

DATA_ELEMENTS

0..n