[MAGNOLIA-6715] LinkFieldDefinition (ChooseDialog) to different than first subapp of an app Created: 11/Jul/16  Updated: 19/May/22  Resolved: 19/May/22

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: 5.4.7, 6.2.5
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Tomáš Gregovský Assignee: Jan Haderka
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File a.png     PNG File b.png    
Issue Links:
Problem/Incident
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

I want to have LinkField to user roles - see screenshot (a.png): dialog field definition is targetWorkspace: userroles, appName: security but dialog offers me users names from users workspace !? when I move userroles subapp in security to first position (screenshot b.png), then completely same dialog definition give me right user roles selection ! (I didn't find in documentation how to select subapp in dialog and appName: security:roles is not working)

So in other words: apps do not offer choice of which subapp to use/address when opening choose dialog and instead always take the first subapp configured.



 Comments   
Comment by Roman Kovařík [ 19/May/22 ]

Magnolia 6.2 framework offers configurable datasources for link fields (doesn't references apps anymore), see

https://docs.magnolia-cms.com/product-docs/6.2/Developing/Templating/Dialog-definition/Field-definition/List-of-fields/Link-field.html#_common_select_field_properties

Generated at Mon Feb 12 04:17:09 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.