This project is read-only.

Add Taxonomy Term to existing content item field

Topics: General, Writing modules
Aug 11, 2013 at 4:15 PM
Please help me with simple question...
In my Custom Type i have Taxonomy Field - "Rubrics"
Content Items of my Type i will add programmatically - in controller
How can i attach existing term to the Field of new or existing Content Item? (in code)
Thanks in advance!
Aug 11, 2013 at 6:16 PM
Find the solution :)
_taxonomyService.UpdateTerms(contentItem, terms, "FieldName");