cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to have an ampersand (&) in the title of a datalist item

Scorpios
Confirmed Champ
Confirmed Champ

I am creating a custom data list and one of the properities is Dun & Bradstreet
They would like to have the title "D & B"

When I add the ampersand I get a parse error in the alfreco.log file

entity reference names can not start with character ' ' (position: TEXT seen ...<property name="CUSmiley Very HappyandB">\r\n\t\t\t\t\t<title>D & ... @113:17)


<property name="CUSmiley Very HappyandB">
<title>D & B</title>
<type>d:text</type>
</property>


I have also tried "D &amp B" and got the same type parse error.

I am currently working around the problem using "D and B" for the title but wanted to see if someone knew a way 

to do this.

Thank You.

1 ACCEPTED ANSWER

Scorpios
Confirmed Champ
Confirmed Champ

I found my solution

The solution is to define title in the properties file and then reference the property in the section you add to the

share-config-custom.xml file.

View answer in original post

2 REPLIES 2

Scorpios
Confirmed Champ
Confirmed Champ

I found my solution

The solution is to define title in the properties file and then reference the property in the section you add to the

share-config-custom.xml file.

EddieMay
World-Class Innovator
World-Class Innovator

Hi @Scorpios,

Great that you found a solution and thanks for reporting back - really useful to other users.

Cheers, 

Digital Community Manager, Alfresco Software.
Problem solved? Click Accept as Solution!