using underscore in XF name | Community
Skip to main content
New Participant
October 9, 2023
Solved

using underscore in XF name

  • October 9, 2023
  • 2 replies
  • 753 views

I created experience fragments using naming pattern "word2-word2-word3_word4", but the node name that is getting saved in the CRX is:  "word2-word2-word3word4". Underscore is getting ripped off of it comes after in the naming. But these work: "word1_word2", "word1-word2", "word1_word2-word3".

I noticed that after 19 letters in the naming, the underscore gets replaced by empty string.

Is this a product bug?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

Hi,

If you use as it is in a Title field  then it will remove the space(and invalid characters), this OOTB behaviour.

 

If you need to set node name with _ then put in the Name field.

 

 

 

Examples:

 

2 replies

kautuk_sahni
Employee
October 11, 2023

@shaheena_sheikh Did you find the suggestions from @arunpatidar helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Kautuk Sahni
New Participant
October 25, 2023

marked the correct reply, thank you!

arunpatidar
arunpatidarAccepted solution
New Participant
October 9, 2023

Hi,

If you use as it is in a Title field  then it will remove the space(and invalid characters), this OOTB behaviour.

 

If you need to set node name with _ then put in the Name field.

 

 

 

Examples:

 

Arun Patidar