Tag Info

New answers tagged

0

When you get the "Object reference not set to an instance of an object" that means that it's expecting not null value and you give it null value. The cast that you are making is returning null. var taxField = item["Application"] as TaxonomyField; Since you are geting the lable of only one field "Application" you can check if it is a Multiple Value ...


1

I think this article should help you: http://msdn.microsoft.com/en-us/library/office/ff625182(v=office.14).aspx It says: By passing true to the bool includeDescendants parameter to TaxonomyField.GetWssIdsOfKeywordTerm, you get the lookup IDs for the term with the specified GUID, and you get the IDs for all its child terms. Once you get ID you can query ...



Top 50 recent answers are included