In itemupdating speed dating madrid com
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.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.These content pages can’t directly add a function to the body’s onload event.I’m taking the code approach here as it is the only way to ensure the field will work across multiple environments.I’ve based the code on Wictor’s excellent example with a couple of minor updates.
The reason is that field default values can only take static values or simple formulae based on the current user or today’s date.
If that meets your needs, then I’d definitely recommend sticking with that method.
With this information we can use the following steps to deploy managed metadata fields that avoid these issues.
I’ve also created an example project that I’ve included at the end of the article if you want to see this working for yourself.