14 Mar’16

D365 GeneralTrack Event Participation

Introduction

In this blog, we are going to discuss how to create a ClickDimensions Event Participation record from WordPress plugin Gravity Forms.

Pre requisites

In order to create Event Participation record User must have

  1. Gravity Forms plugin
  2. ClickDimensions entities (Events and Event Participation)

Requirement

We had a client with requirement that whenever a user registers for an event, event participation record should be created linking event and contact. Event and Event Participation are ClickDimensions entities.

Solution to requirement

By following the below step we can track the Event Participation records.

Step 1: Create an option set field “Event” on Contact form in CRM. The field consists of list of different events that need to be displayed to the registration users.

 

Step 2: The option set values should be same as Event records created. The name should be same as we are going to retrieve the events record based on the name.

As shown here, the Event name and the Option set label are same i.e. “Conztruct Queenstown”
 
Step 3: On the registration form, same list of events should be present in the drop down list. The value and name of the option sets should be same as option set values in CRM.

 

Step 4: Write an asynchronous plugin which will get triggered when a contact is created or updated.

  1. When a contact is created from Gravity forms, asynchronous plugin triggers and checks if any event is registered. If registered event found in CRM, event participation record will be created.
  2. When contact is updated, asynchronous plugin triggers and checks whether new event is registered or not.
    1. If new event is registered, create a new event participation record.
    2. If event is not registered, update the existing event participation record.
  3. When existing contact is updated from CRM, asynchronous plugin triggers and it checks if the event field is empty or not.
    1. If event field is empty, the plugin stops and
    2. If event field is not empty it updates the event participation record with same contact and event.

Thus Event Participation record gets created with contact and Event field associated to each other and the registration count on the event gets increased by 1.

 

We hope this have given you a useful information on Tracking Event Participation record in CRM.

 

Written by

Krishna Bhanushali

Software Developer

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Reading more then 10K records in D3FOE OData API

    11 July’ 2018

    Introduction: We all know Dynamics 365 Finance and Operations has limitation of 10K records to be fetched at a time usi...

    Read more
  • Paging in D365 Customer Engagement v9.0

    10 July’ 2018

    Introduction: The Xrm.retrieveMultipleRecords method is used to retrieve a collection of records in Dynamics 365 Custom...

    Read more
  • Set up Dynamics 365 connection in Microsoft Social Engagement

    10 July’ 2018

    Introduction: This blog explains how to Set up Dynamics 365 connection in Microsoft Social Engagement. Steps to be follo...

    Read more
  • Voice of the Customer failed to install

    10 July’ 2018

    Introduction: Many people face issues in installing Voice of Customer solution on v9 environment and trying repeatedly ...

    Read more
  • Scribe Insight AX as a Web Service Find Block issue

    10 July’ 2018

    Introduction: If we need to look up for any value from AX then we do it by using a Find Block in Scribe Insight Eg: Basi...

    Read more