-
Story
-
Resolution: Fixed
-
Major
-
None
-
None
-
-
Empty show more show less
-
Yes
-
Declarative REST 13, Declarative REST 14
-
2
Timebox for research on OrderHandler: 2 SP
User Story:
As a developer, I want to integrate datasource which contain arrays and nested data structures that I want to show in detail subapps, so that I can work with most REST datasources.
There appears to be a limitation in the current rest datasource.
I was not able to display the content from this endpoint in a detail view.
http://transport.opendata.ch/v1/stationboard?station=basel
One of the things that appears to be missing to use a multiField is an appropiate orderHandler for json data.
For jcr there is:
orderHandler: $type: jcrChildNodeOrderHandler
But I could not supply an appropriate "orderHandler" as there is not one for the jsonDatasource.
Also for jcr there is:
itemProvider: $type: delegateToSubNodeProvider
Not sure if there is something for json.
To reproduce:
- Drop this light module in Magnolia: https://git.magnolia-cms.com/users/czimmermann/repos/restclient-testing/browse/light-modules/rc-transportation-demo
- Open the Stations app.
- Click on one of the stations and click the View action.
- Exception.
Notes
In particular look at line #55 for the jsonPath.
Look at line #69 and after for the form configuration. Look for (MULTIFIELD)
More Notes
Trying to do what is demod in M6UI in contacts app:
contactsV8 app. (Line 283) https://git.magnolia-cms.com/projects/MODULES/repos/contacts-app/browse/src/main/resources/contacts/apps/contacts-v8.yaml
- is causing
-
MGNLRESTUI-12 DOC: REST entities support complex fields
- Closed
- relates to
-
MGNLRESTCL-84 Cannot display content list in detail subapp
- Closed