Auto-associate new entity on save
Important: Dynamics Channel Integration Framework does not send the necessary events to InteractionSync when a new entity is created and saved causing the activity created to not be automatically associated.
InteractionSync provides a workaround which issues the necessary event when the Entity form is saved. This workaround requires hooking an event on all entity forms that require association.
-
Open the desired entity form to monitor for new entity saved.
-
On the form, if the “Created On” field is not present on the form, add it to the form. The field does not though need to be visible.
-
Open entity form properties.
-
Add Form Library:
isgc_entityforms
-
Add new Event handler for Created On with the Event OnChange.
-
Set the following parameters:
FIeld Name Value Library isgc_entityforms Function associateActivityOnNewEntitySave Pass execution context enabled (True)