locked
Assign Owning Entity to Another Entity RRS feed

  • Question

  • I have searched and can only find examples on how to assign an entity from one user to another. My situation is a little different. I have custom entities attached to a contact and there are cases where I would like to reassign one entity on a contact to another. Here is the code I have tried to put togeather:

    'The Entity I want to assign the child entity to
    Dim oAssignTarget As New TargetOwnedDynamic
    'The Guid of the entity that I want to assign the entity child to
    oAssignTarget.EntityId = idEntityBeingAssigned
    'The name of the entity I want to assign the child entity to 
    oAssignTarget.EntityName = strEntityName
    
    
    I can not figure out how to actualy set the entity I want to reassign.
    Monday, November 15, 2010 8:52 PM

Answers

All replies