JsonDataSource
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 |
|---|---|---|---|
|
STRING |
(automatic) |
No |
|
|
dataSource |
Context Node |
Mandatory |
|
|
name |
STRING |
No |
Aggregations in View Designer
|
Name |
Cardinality |
Type |
|---|---|---|
|
DATA_ELEMENTS |
0..n |
JSONData |
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 |