CSC510227. Inappropriate taxonomy collection usage.

Description

Avoid string based index call on taxonomy collection because it could be localized or case -sensitive.

8.png

Follow collections are checked:
  1. Microsoft.SharePoint.Taxonomy.GroupCollection
  2. Microsoft.SharePoint.Taxonomy.TermSetCollection
  3. Microsoft.SharePoint.Taxonomy.TermCollection
  4. Microsoft.SharePoint.Taxonomy.TermStoreCollection

Resolution

Consider fetching item by GUID or string comporation by collection enumeration.

Links

How to translate and localize terms programmatically in sharepoint 2010?
IndexedCollection<T>.Item property (Guid)

Last edited Jun 2, 2014 at 1:06 PM by dvd73, version 12

Comments

No comments yet.