Forum Discussion
Pulling Managed metadata from a list field
It looks like your oListItem.get_item('RAG') is failing. Is your RAG field a list column or a site column?
If you are using list columns check the internal names (list settings -> column -> check url)
- Steve CanvinJan 25, 2017Copper Contributor
I have made a new discovery. The script that pulls the information is stored at site collection level. If the script is used at the 1st level subsite it works perfectly. If the same script is used at 2nd level subsite its works for all values of the list except any that are managed metadata.
It would appear that accessing managed metadata from a sub subsite isnt working with my code - any idea what this would be or how to rectify it?
- Steve CanvinJan 19, 2017Copper Contributor
yes that is the line thats failing. The name is correct - as i say, exactly the same code to the same managed metadata on another list works perfectly