adobe / adobe/aem-core-wcm-components

Provide Option on page to load clientlib specific to page through page properties.

Open
#2,201 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
795
Forks
775
Avg merge
3d 22h
Merged PRs (30d)
8

Description

## Feature Request

**Is your feature request related to a problem? Please describe.**
We have option to load clientlib through Editable Template -> Page Policy. In some use cases like google map etc, where we need to load specific clientlib on the particular page and not on other pages created through same editable template, in such use case we don't have option to configure specific clientlib to be loaded on the particular page. The feature should allow the page level clientlib to be authorable and to be loaded on the specific page and not on all the pages created through same editable template.

**Describe the solution you'd like**
Provide option similar to Editable Template -> Page Policy -> Properties -> Client Libraries/Client Libraries JavaScript Page Head for content author to configure the clientlib on the page properties.

**Are there alternatives?**
Alternative is to load clientlib from Editable Template -> Page Policy but this will be inappropriate on the pages where the specific component is not enabled by loading the clientlib which is not used.

**Documentation**
If you can, explain how users will be able to use this and possibly write out a version of the docs.
Maybe a screenshot or design?
We will be attaching as part of the PR that we would be rising.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing Editable Template → Page Policy → Properties → Client Libraries and Client Libraries JavaScript Page Head configuration mentioned in the issue. Determine where page properties are defined and rendered, then confirm that authors can select a clientlib for one page without affecting sibling pages; the issue names no files or tests to run.

Written by the indexing model from the issue text.

Assessment

Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.