[EXTDAM-268] Allow linkField to select assets from one of the DAM sources only Created: 25/Aug/20 Updated: 29/Oct/21 Resolved: 04/May/21 |
|
| Status: | Closed |
| Project: | External DAMs |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.7 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Viet Nguyen | Assignee: | Roman Kovařík |
| Resolution: | Done | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 6.55h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||
| Template: |
|
||||||||||||||||||||||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||||||||||||||||||||||
| Task DoD: |
[X]*
Doc/release notes changes? Comment present?
[X]*
Downstream builds green?
[X]*
Solution information and context easily available?
[X]*
Tests
[X]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||||||||||||||||||||||
| Testcase included: |
Yes
|
||||||||||||||||||||||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||||||||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||||||||||||||||||||||
| Date of First Response: | |||||||||||||||||||||||||||||||||||||
| Epic Link: | Ext DAMs maintenance & partnership support | ||||||||||||||||||||||||||||||||||||
| Sprint: | Maintenance 55 | ||||||||||||||||||||||||||||||||||||
| Story Points: | 8 | ||||||||||||||||||||||||||||||||||||
| Description |
|
Given the case that we have connected to an external DAM, so opening the DAM app, would present a picture like the first one on this page (one tab per DAM source): https://documentation.magnolia-cms.com/display/DOCS62/DAM+Connector+Pack How would we then configure a link field to allow selecting assets of one of the DAM sources, only (e.g. only S3 assets)? The given yaml snippet on https://documentation.magnolia-cms.com/display/DOCS62/Link+field doesn't seem to provide the necessary properties for limiting the workspace further. |
| Comments |
| Comment by Roman Kovařík [ 26/Aug/20 ] |
|
Isn't it possible like this (6.2.3)?
link:
$type: damLinkField
datasource:
name: s3
class: info.magnolia.dam.app.data.AssetDatasourceDefinition
|
| Comment by Roman Kovařík [ 03/May/21 ] |
|
For documentation: https://docs.magnolia-cms.com/product-docs/Templating/Dialog-definition/Field-definition/List-of-fields/Link-field.html
form:
properties:
bynder:
$type: damLinkField
chooserId: dam-bynder:chooser
datasource:
class: info.magnolia.dam.app.data.AssetDatasourceDefinition
name: bynder
s3:
$type: damLinkField
chooserId: dam-s3:chooser
datasource:
class: info.magnolia.dam.app.data.AssetDatasourceDefinition
name: s3
jcr:
$type: linkField
converterClass: info.magnolia.ui.editor.converter.JcrAssetConverter
datasource:
$type: jcrDatasource
workspace: website
|