[SOLVED] When to add "[%s]" to an item label

Greetings all,

I have noticed that some items and sitemap entries require a “[%s]” be added in the label section for it to work properly.

Can someone please explain when it is required and when it is not required as I have not been able to figure it out.

Thanks !

For this occasion I’m just referring to a post I made earlier today:

%s displays the item value as a string (which only makes sense for string-type items).
It isn’t required but the only way to display the value in a sitemap (else it’s just displaying the rest as static text).
label= in sitemaps overrides what is set in the item definition, so you can do it there, too.

1 Like

This answers my question, thank you both.

Tick the solution checkmark please for others to find this thread.