Skip to content

Resolving referenced experience types #263

@ohp-inmeta

Description

@ohp-inmeta

On a section/block (type is "_component") i have the following property:

key: "ArticleListBlock",
displayName: "Article list block",
baseType: "_component",
compositionBehaviors: ["sectionEnabled"],
properties: {
  ...
  articleList: {
    type: "array",
    displayName: "Article list",
    items: {
      type: "content",
      allowedTypes: [ArticlePageContentType],
    },
  },
  ...
}

The content type ArticlePageContentType is an "_experience". As far as i can see experiences referenced in content areas (or type "content" and "contentReference") are not resolved. Is this intentional, or am I missing something? The attribute composition on each element in the fetched list is null so I assume it simply isn't resolved. Any workarounds on this, or any plans om implementing a recursive resolving of referenced experiences?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions