04-01-2009 08:31 PM
Take a look at the Custom Sub-Entity Sample on the ACT! Developer Network Downloads page.
In the CreateCustomSubEntity method, there is a parentEntities arguement. You can associate a sub-entity to the Contact, Group or Company Entity. You can associate it to more than one, for example:
ParentEntity.Contacts | ParentEntity.Groups | ParentEntity.Companies
This would associate your sub-entity to all three Entities.
So for associating your sub-entity to just Company, specify "ParentEntity.Companies" as your parentEntity on the method.
Hope this helps.
ACT! Development Team