mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4285] Removed incorrect example from content metadata docs (#4564)
This commit is contained in:
committed by
Eugenio Romano
parent
d817f3aaa3
commit
4339af9f42
@@ -255,9 +255,9 @@ Futhermore, you can also exclude specific aspects by adding the `exclude` proper
|
||||
},
|
||||
```
|
||||
|
||||
When using this configuration you can still whitelist aspects and properties as you desire. Let's see more complex examples for each of the config layouts:
|
||||
When using this configuration you can still whitelist aspects and properties as you desire. The
|
||||
example below shows this with an aspect-oriented config:
|
||||
|
||||
##### Aspect oriented config
|
||||
```json
|
||||
"content-metadata": {
|
||||
"presets": {
|
||||
@@ -270,26 +270,6 @@ When using this configuration you can still whitelist aspects and properties as
|
||||
},
|
||||
```
|
||||
|
||||
##### Layout oriented config
|
||||
```json
|
||||
"content-metadata": {
|
||||
"presets": {
|
||||
"robot-images": [
|
||||
{
|
||||
"includeAll": true,
|
||||
"exclude": ["cm:content", "exif:exif"]
|
||||
},
|
||||
{
|
||||
"title": "Robot Group",
|
||||
"items": [
|
||||
{ "aspect": "exif:exif", "properties": [ "exif:pixelXDimension", "exif:pixelYDimension"] }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
```
|
||||
|
||||
## What happens when there is a whitelisted aspect in the config but the given node doesn't relate to that aspect
|
||||
|
||||
Nothing - since this aspect is not related to the node, it will simply be ignored and not
|
||||
|
Reference in New Issue
Block a user