Hi everybody,
currently i´m playing around with the Design Studio SDK. For that, i have a few questions.
I´m working on a databound component and therefore i´ve defined a data property in the contribution.xml with type "ResultSet".
As i understood, this property effects, that i get a corresponding field in the property pane within the Design Studio environment. Using this field, i can define a subset of my Datasource´s data (e.g. by selection of some columns or rows).
Now my questions:
1) Is it mandatory, to fill that property field in DS (see figure above)? For example: i want to use the full extent of a datasource (BW queries) without doing any specific selections. From my point of view, logically it makes no sense to do a selection of all data fields in the query.
2) The result of such a data selection is a JSON-String, that is displayed in the property field. Is there any possibility to set this JSON-String dynamically? Currently i´m trying, to set this JSON-String depending on a button-click. What i want is something like this:
Button1.onclick( CHART_1.setData("{JSON}"); ); Button2.onclick( CHART_1.setData("{JSON2}") );
I would appreciate it if anybody has some helping hints or information.
Thanks & Kind regards!
Sebastian