[ADF-4285] Removed incorrect example from content metadata docs (#4564)

This commit is contained in:
Andy Stark
2019-04-05 17:24:06 +01:00
committed by Eugenio Romano
parent d817f3aaa3
commit 4339af9f42

View File

@@ -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