When every I import a news article with a two word tag like "Spot Light". Spot Light is inserted as Spot and Light.
When every you look at the document Meta Data it is displays "Spot Light" for a tag.
My Import Line: newNode.DocumentTags = importArticle.Tags;
importArticle.Tags is a comma delimited string list. (Spot Light, Antique Walk, Hardwood Floors)
The Import works correctly, but the CMS_Tag table does not show a record for "Spot Light", "Hardwood Floors" or "Antique Walk".
This also breaks my Tag query: http://localhost:1469/design-ideas/tag/spot-light spot-light does not exist, but spot does.
Does Kentico support more than one word in a tag? If so do I need something special for the space when importing?
Yes, any tags with spaces, need to be wrapped in double quotes, otherwise it sees them as individual tags.
I went back and look at the example API. Looking at line 231: root.DocumentTags I need to wrap my string in "" quotes. Will test that out Wed.
Please, sign in to be able to submit a new answer.