Not all libraries are loaded into the editable template

Avatar

Avatar
Validate 1
Level 2
telpom
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
telpom
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile
telpom
Level 2

25-09-2020

Hello everyone,

My project's client libraries is split into different client libraries.

Example:

MyProject
     - clientlibs
            - A
                - categories string [] [myproject.a]
                - embended string [] [myproject.b, myproject.c]
            - B
                - categories string [] [myproject.b]
            - C
                - categories string [] [myproject.c]
     - components

I created an editable template and in page policy in the Client-Side Libraries I add the category value of my project "myproject.a".

"myproject.a" as well as having its own style embeds that of all the others.

My problem is that when I create a page with the editable template and related policy it loads "only" the style of the client librarie "myproject.a" and not of B and C.

I have the same problem if I add client libraries B and C in the page policies. I also tried to change the load order but I still have the same problem.

Can you help me?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 2
telpom
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
telpom
Level 2

Likes

2 likes

Total Posts

14 posts

Correct reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile
telpom
Level 2

29-09-2020

Thanks for your feedbacks. It's weird but I solved it with the "dependencies" property.

Answers (2)

Answers (2)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,314 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

27-09-2020

Hi, Are you expecting a separate request for clientlibs b and c?
If clientlibs a load and embed property is correct then it should load b and c in clientlibs a.

 

The property name embended is not correct though, the correct property name is embed

Avatar

Avatar
Give Back 3
MVP
Manjunath_K
MVP

Likes

140 likes

Total Posts

188 posts

Correct reply

61 solutions
Top badges earned
Give Back 3
Give Back
Boost 50
Boost 5
Boost 3
View profile

Avatar
Give Back 3
MVP
Manjunath_K
MVP

Likes

140 likes

Total Posts

188 posts

Correct reply

61 solutions
Top badges earned
Give Back 3
Give Back
Boost 50
Boost 5
Boost 3
View profile
Manjunath_K
MVP

25-09-2020

@telpom 

There are 2 input fields in editable template page policy setting where we can add clientlibs category names.

 

1. Client Libraries : category name mentioned here will load both css & js clientlibs at the page head & page body end.

 

common.png

 

 

 

2. Client Libraries JavaScript Page Head : category name mentioned here will load only js clientlibs & it will be loaded at page head.

 

jsonly.png

 

Loads JS clientlibs only:

 

jsload.png

 

I hope you are adding clientlib category name("myproject.a") in first input field of policy setting, if "yes" then it will load both js & css from main & embed category clientlibs.