Jun 17, 2010 at 8:36 AM
Edited Jun 17, 2010 at 8:41 AM
Thanks for publishing your Managed Metadata web part, Brian. I found it to be a very useful example for showing how to access Managed Metadata columns via the object model.

How I use the fields in the columns will be different, so this doesn't concern me, but I noticed in the most recent uploaded source code, CurrDepth is never decremented when generating the output XML string.

P.S. Have you considered using conditions like .contains() or is instead of using try/catch blocks for control flow?
Jan 20, 2011 at 10:22 AM

Hi Kevin,

I noticed that CurrDepth  decrement issue as well. I added CurrDepth--; at the end of the GetTerms method.