Persisting Taxa Metadata on Content Items
I'm using Sitefinity 4.1.1405.0. I'm creating an Event using the fluent API and one of my custom fields on Events contains taxa. I previously persisted this data as IEnumerable<Guid>, but after upgrading, this is now throwing the exception "Object must implement IConvertible".
Here is the code I'm using to persist the taxa metadata:
App.WorkWith().Event().CreateNew().Do(ev =>
IEnumerable<Guid> taxa = GetSelectedTaxa();
ev.SetValue(
"IndexTags"
, taxa);
).SaveChanges();
Hi Geoff,
The correct way to associate item with taxa is documented here.
Best wishes,
Ivan Dimitrov
the Telerik team
That worked great! Thank you!