You can put a line in the onLoad event for the form such as:
crmForm.all.regardingobjectid.setAttribute("lookuptypes", "4,3,112");
This basically restricts the types available to the lookup, and in this
example would allow your faxes to be regarding Leads, Opportunities or
Cases (incidents).
The first number, 4 is for Leads, so that would be the default. the
order of the others is irrelevant, as soon as the user hits the dropdown
they get them in standard order (numerical by typecode, I think, but it
might be alphabetical).
Full list of typecode numbers here:
http://technet.microsoft.com/en-us/library/aa682922.aspx
You can't use this to ADD types to the built-in relationships, you can
only limit the built-in list to different entity types.
Hope this helps
Adam
Post by BKIs it possible to programmatically block Accounts and Contacts from
being selected as the regarding on the FAX entity?