Hi cdtj ,
If only for the copy function, why to not add the attributes that you would like to be remove from the copy to the exception list of the copy_from_chg() function?
Seems to be more logic vs. to have to clean the attributes after been populated.
This way you also impact only the copy and can still keep your templates working as before.
Of course may you want to have this effect on templates too you will have to use your way.
CA have it on the detail_cr/in/pr/chg:
function copy_from_chg()
{
if ("$args.KEEP.MAKE_COPY" == "1")
{
var exceptions = new Array();
exceptions[0] = "SET.affected_contact";
exceptions[0] = "SET.requestor";
exceptions[0] = "SET.<YourExcludedField>";
detailCopyEditForm(exceptions);
}
}
My 2 cents.
/J