[MGNLRES-362] Add resource linking support Created: 10/Mar/20  Updated: 29/Mar/22  Resolved: 07/Sep/21

Status: Closed
Project: Magnolia Resources Module
Component/s: app
Affects Version/s: 3.0.4
Fix Version/s: 3.0.5

Type: Improvement Priority: Neutral
Reporter: Richard Gange Assignee: Milan Divilek
Resolution: Fixed Votes: 3
Labels: cs-bk, maintenance, quickwin, ui-team-support
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Magnolia 6.2 UI6


Attachments: Text File error.txt    
Issue Links:
Problem/Incident
documentation
to be documented by MGNLRES-376 DOC: New preconfigured link field def... Closed
relation
Template:
Patch included:
Yes
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)
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Migrate Resources app
Sprint: UI FW 36
Story Points: 3
Team: Nucleus

 Description   

Create a link implementation for choosing a resource.

form:
  properties:
    resource:
      $type: resourceLinkField
      label: Choose a resource

Workaround
Use the patch linked to this ticket.

Notes
Linking to the resources workspace only can be achieved with:

form:
  properties:
    link:
      $type: linkField
      datasource:
        $type: jcrDatasource
        workspace: resources


 Comments   
Comment by Ioannis Spyronis [ 06/Jul/21 ]

Hi.
Is there any plan this patch / feature to be released in future (in 6.2.x) ?
We are migrating from 5.7.7 and have many component dialogs pointing to classpath/ filesystem resources that are not visible/ selectable from the new 6UI resources app.

Thanks. John.

Comment by Adam Siska [ 07/Sep/21 ]

DOC/RN: New preconfigured link field for linking resources is available:

class: info.magnolia.resources.app.field.ResourceLinkFieldDefinition
$type: resourceLinkField
Generated at Mon Feb 12 06:49:57 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.