In itemupdating dating service for truck drivers
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.
get Tag From Identifier And Title The most important part of our solution is the “get Tag From Identifier” function.
This function finds the HTML element rendered by a given Share Point Form Field control.
The reason is that Lookup Form Fields are rendered with different HTML when the target list contains more than 20 items.
The first part of this two part series discussed some of the problems with provisioning Share Point 2010 managed metadata fields.
I’m taking the code approach here as it is the only way to ensure the field will work across multiple environments.