[MGNLUI-5098] DOC: previewDefinition property of JcrDatasourceDefinition Created: 25/Mar/19 Updated: 31/May/19 Resolved: 31/May/19 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Christoph Meier | Assignee: | Ashraf Khamis |
| Resolution: | Done | Votes: | 0 |
| Labels: | new-UI-framework | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 41m | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Template: |
|
||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||
| Epic Link: | DOC: Documentation for Magnolia 6.1 | ||||||||||||||||||||
| Sprint: | Foundation 10, Foundation 12 | ||||||||||||||||||||
| Story Points: | 2 | ||||||||||||||||||||
| Description |
Context
The previewDefinition can be seen as the successor of the Image provider definition. The property previewDefinition currently must be of the type info.magnolia.ui.contentapp.preview.JcrPreviewDefinition. Exampleof a JCR data source definition with a previewDefinition:
datasource:
class: info.magnolia.ui.datasource.jcr.JcrDatasourceDefinition
workspace: contacts
includeProperties: true
previewDefinition:
nodeName: photo
allowedNodeTypes:
- mgnl:contact
- mgnl:folder
Depending on the size of the documentation for the preview definition, For the properties table, see https://git.magnolia-cms.com/projects/PLATFORM/repos/ui/browse/magnolia-ui-framework-jcr/src/main/java/info/magnolia/ui/contentapp/preview/JcrPreviewDefinition.java. |
| Comments |
| Comment by Ashraf Khamis [ 31/May/19 ] |
|
Content added to the existing JCR data source definition page (see https://documentation.magnolia-cms.com/display/DOCS61/JCR+data+source+definition#JCRdatasourcedefinition-Previewdefinition). Entire page reviewed by Roman. |