Reputation: 10026
I have inherited some JScript written for CRM 4.
I am trying to remove the IE-specific and deprecated bits.
I have encountered this:
document.FilterLookup = function (source, target) {
if (IsNull(source) || IsNull(target)) { return; }
var name = IsNull(source.getValue()) ? '' : source.getValue()[0].name;
target.additionalparams = 'search=' + name;
}
Custom Code Validation Tool complains about ".additionalparams".
I've googled a lot but can't even work out what .additionalparams is doing let alone what I could replace it with.
I hope that you do.
Upvotes: 1
Views: 1243
Reputation: 624
additionalparams is not supported in CRM 2011. Check here for more info: http://advantageworks.blogspot.ca/2008/02/pseudo-filtered-lookup-dialog-in.html
I suggest you re-write the code using the new 2011 custom filtered lookup feature.
Check here for information on how to implement filtered lookups in CRM 2011
Upvotes: 1