Aug 22 2016 01:48 PM
Hi,
I am looking for sample csom code which I can set default value of a taxonomy field which gets published from CT hub. I have managed to do this on a taxonomy field which is not linked with a content type published from CT hub. I cannot set the ddefault value at CT hub, since the defaut value is different at list level.
Thanks,
Kolitha
Aug 22 2016 10:25 PM
Hi Kolitha,
i think this code might help you: http://www.sharepointdoug.com/2014/01/programmatically-provisioning-term-sets.html
look for the anchorfield currently i use pnp to provision and set default metadata.
Kr,
Paul