-
Notifications
You must be signed in to change notification settings - Fork 4
DataSourceData
Jeff Olajos edited this page Mar 14, 2023
·
1 revision
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| data | List of item where item is a Map<String, String> or another List of item
|
If the response is encoded as valid json or xml it is deserialized and addressable using DOTNOTATION
|
||
| queuetype | string | replace |
replace, lifo, fifo, append, prepend. Defines the data aggregation strategy for data returned from initial and subsequent calls. replace (default) replaces all data after each subsequent call. lifo (last in first out), fifo (first in first out), append and prepend are all used in conjunction with the maxrecords attribute |
|
| maxrecords | int | 10000 | The maximum size data can grow to. This works in concert with queueType above |
|
| root | string | The root tag that defines the repeatable items in data. This can be a nested field. If not specified, the list is segmented by the first repeatable element found in the data set |
||
| ttl | int(s,m,h) | 0s |
Time to Live caches data in the local persistent HIVE database for the period specified. This saves requerying data that changes infrequently |
|
| rowcount | int | 0 | The number of records in data
|
| Name | Type | Description |
|---|---|---|
| clear() | Clears data. Invoked in any EVENT string using <id>.clear() |
|
| add(jsonOrXml, index) | string, int | Deserializes the jsonOrXml string and adds it to the end of data or at position index if specified. Invoked in any EVENT string using <id>.add(jsonOrXml, index) |
| remove(index) | int | Removes the last item from data or from position index if specified. Invoked in any EVENT string using <id>.remove(index) |
| reverse() | Reverses data. Invoked in any EVENT string using <id>.reverse() |
Framework Markup Language is an open source programming language created by AppDaddy Software Solutions Inc. FML and is licensed under a fair source license agreement and is maintained by a community of developers.
- Quick Start
- Widget Structure
- Layout Basics
- Config
- Navigation
- Authentication
- Server Configuration
- Offline Use
- Resource Guides
-
<FML/>
- <BOX/>
- <CHART/>
- <COLUMN/>
- <DRAWER/>
- <FOOTER/>
- <FORM/>
- <GRID/>
- <HEADER/>
- <LIST/>
- <MAP/>
- <WINDOW/>
- <PAGER/>
- <ROW/>
- <SCROLLER/>
- <SPLITVIEW/>
- <STACK/>
- <TABLE/>
- <TABVIEW/>
- <TREEVIEW/>
- <WEBVIEW/>
Important Concepts