Friday, October 15, 2010

Issue with GetWssIdOfTerm() method in sharepoint

I am sure that most sharepoint developers know about the GetWssIdOfTerm() method.
I recently used that method and for some reason it was always returning a null value.
After hours of struggling and screaming, I noticed that the wssId of a term stays null until it has been used at least once, so until you use your term at least once that method will always return a null value.
If I had known that before it would have saved me quite a few hours of screaming.

No comments:

Post a Comment