Fired event itemupdating dating someone with poor communication skills
This is due to the fact that Share Point automatically wires some extra bits (shown below) when the field is added.
At least in my testing when we create a list definition this isn’t all wired up correctly and the following steps were required.
I’ve also added in some additional error handling so we get informative messages if the metadata service and/or term set does not exist.
Below is a full example of the script we use to set the default value of a Lookup field based on an ID stored in the querystring.
You’ll notice that setting a Lookup field is a bit more complicated than some other field types.
_sp Body On Load Function Names In most cases Share Point pages are based on a master page that contains the “body” element.