Naming convention for Experience Fragments Title and also it's variations | Community
Skip to main content
Level 2
Jul 28, 2020 6:23 PM UTC
Solved

Naming convention for Experience Fragments Title and also it's variations

Is there any specific naming convention which has to be followed for experience fragments title and for its variations.

 

Since its a cq:page type, if title needs to be used as name as well it would be checked with JCRUtils class. Apart from that anything else?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Nirmal_Jose
Nirmal_JoseAccepted solution
Employee
Jul 29, 2020 6:00 AM UTC

Additional to the what @briankasingli mentioned, one point you need to consider while naming is AEM Target integration. If you plan to export XFs to Target as offers, the name of the XF variations are the names of the offers. So keep that aligned as well.

 

Most of the time, variation namings are done based on the context of where they are going to be used. Forecast it and then arrive into a general convention. 

3 replies

Nirmal_Jose
Nirmal_JoseAccepted solution
Employee
Jul 29, 2020 6:00 AM UTC

Additional to the what @briankasingli mentioned, one point you need to consider while naming is AEM Target integration. If you plan to export XFs to Target as offers, the name of the XF variations are the names of the offers. So keep that aligned as well.

 

Most of the time, variation namings are done based on the context of where they are going to be used. Forecast it and then arrive into a general convention. 

Translate
BrianKasingli
New Participant
Jul 28, 2020 8:15 PM UTC

@shyams67489715,

There is no such naming convention that is enforced for experience fragments.

I recommend creating your own naming convention for the experience fragment's structure folder names, folder-title and folder-node-name, in a strategic way because it will definitely help the content stay organised in the long run.

For example:

  • /content/experience-fragments/my-site/structure/* - this folder contains experience fragements that defines some of the structure HTML blocks that constructs your webpage.
  • /content/experience-fragments/my-site/static/editorial/* - this folder contains XF of re-usable content.
  • /content/experience-fragments/my-site/static/promotion/* - this folder contains XF of re-usable promotion content/.
Translate
VeenaVikraman
New Participant
Jul 28, 2020 6:47 PM UTC

Hi @shyams67489715 

 

  There is no specific naming conventions for titles. Only thing we have to take care while creating components or nodes is the node naming convention. Read it here https://jackrabbit.apache.org/archive/wiki/JCR/NodeNamingConventions_115513460.html 

 

Thanks

Veena

Translate