You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/frontend-config-guide/dynamic-dataset-detail-component.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ Below you can find the example configuration, but for more advanced customizatio
88
88
||**order**| Controls the display order of the Regular section in the UI | - `order`: Integer, determines position in the UI |`"order": 0`|
89
89
||**fields**| List of fields to display within the section. It should contain an array of objects, each with `element`, `source`, and `order` fields. ||`{"fields": [{"element": "text", "source": "datasetName", "order": 0}]}`|
90
90
|| - **element**| Defines the type of data to display in the row (e.g., text, copy, tag, linky, date, internalLink). | - `element`: Field type (e.g., `text`, `copy`, `tag`, `linky`, `date`, `internalLink`) |`"element": "text" `|
91
-
|| - **source**| Specifies the dataset property to display, and it must match a field in the `OutputDatasetDto` . | - `source`: Dataset property name |`"source": "datasetName"`|
91
+
|| - **source**| Specifies the dataset property to display, and it must match a field in the `OutputDatasetDto`, or to be _instrumentName_ . | - `source`: Dataset property name |`"source": "datasetName"`|
92
92
|| - **order**| Controls the display order of the field in the fields. | - `order`: Integer, defines the sequence of fields in the UI. Lower values appear first. |`"order": 1`|
93
93
|**attachments**|**label**| Custom label for the section that can be configured. | - `label`: Custom title for the attachments section (e.g., "Gallery") |`"label": "Scientific Metadata"`|
94
94
||**order**| Controls the display order of the attachments section in the UI. | - `order`: Integer, determines sequence within the template. |`"order": 1`|
@@ -98,6 +98,7 @@ Below you can find the example configuration, but for more advanced customizatio
98
98
|**scientificMetadata**|**label**| Customizable label for the scientific metadata section. | - `label`: Custom section title (e.g., "Scientific Metadata") |`"label": "Scientific Metadata"`|
99
99
||**viewMode**| Defines how the scientific metadata is rendered (as a table, JSON, or tree view). | - `viewMode`: `table`, `json`, or `tree`|`"viewMode": "table"`|
100
100
||**order**| Controls the display order of the scientific metadata section. | - `order`: Integer, determines position in the UI |`"order": 2`|
101
+
||**source**|**Optional** field to specify a path to nested scientificMetadata sub-objects. When provided, displays only the specified nested object instead of the entire scientificMetadata. | - `source`: Path to nested metadata (e.g., "scientificMetadata.instrumentProperties.value") |`"source": "scientificMetadata.instrumentProperties.value"`|
101
102
|**datasetJsonView**|**label**| Label for the JSON view section. | - `label`: Custom section title (e.g., "Metadata JSON view") |`"label": "Metadata JSON view"`|
102
103
||**order**| Controls the display order of the dataset JSON view. | - `order`: Integer, determines position in the UI |`"order": 3`|
0 commit comments