Stop / Go live Lead Score Model behavior in Dynamics 365 Marketing


Recently we were writing a plugin on the Lead Score table to update the associated lead with Score and the Grade values.

The plugin was on Update of Lead Score (msdyncrm_leadscore_v2) to update lead when the Score Status = Up to date.

The interesting point we observed here was that when we stop the lead scoring model all the associated lead scoring records get deleted, which was kind of different than the usual behavior of related records, where we expect it to get deactivated/disabled.

On clicking the Stop button on the lead scoring model all the associated lead score records will get deleted.

All lead score records deleted :-

And now as soon as we Go live, the new lead score records get created back.

It starts the process of creating the records immediately.

Hope it helps..

 

Advertisements
Advertisement

How to – enable marketing interactions in lead and contact timeline – Dynamics 365 Marketing


To view marketing interactions, we need to add a custom connector to the timeline of the lead and the contact form. This step is only required if we are using custom forms and not the out-the-box marketing forms for lead and contact.

The OOB Form already has this connector defined.

Open the form for customization, select the timeline control, scroll down to Advanced >> Additional Settings >> Custom connectors, and click on Add connector.

Specify Constructor and Resource Path and save the record.

  • Constructor: msdynmkt_DynamicsMktTimelineInteractionAnalytics.TimelineInteractionAnalyticsResource
  • Resource path: msdynmkt_DynamicsMktTimelineInteractionAnalytics

Save the form and publish it.

We can see the marketing interactions being displayed in the timeline.

Hope it helps..

Advertisements

Use the Marketing only field to identify automatically generated marketing contact records – Dynamics 365 Marketing


The form-matching strategy defines what field(s) will be used to find the matching record.

Can be found at – Dynamics 365 Marketing >> Settings >> Lead Management >> Form Matching (Outbound)

We then associate the form-matching record with a marketing form.

So if a contact with the same email address is found, the record will be updated, if not then a new contact record will be created, on form submission.

Now to identify these auto-created contact records, we can make use of the out-of-the-box Marketing Only Boolean field. The system populates this field for the contact records created as part of marketing form submission.

We can find the field in the Contact form – Details tab >> Marketing Section.

Read more on marketing only flag

Hope it helps..

Advertisements

How to – Identify Dynamics 365 Marketing Application App and its corresponding environment


We can easily identify the Marketing App and the environment in which it has been provisioned.

Login to Power Platform Admin Center >> Resources >> Dynamics 365 Apps

https://admin.powerplatform.microsoft.com/

We can find the unique name of the environment/organization suffixed with the name of the app i.e. Dynamics 365 Marketing Application for the configured app.

Navigate to the environment’s Advanced Settings >> Customizations >> Developer Resources 

We can find the Unique Name of our organization there


Hope it helps..

 

Advertisements

Moving Marketing Email, Journey, Events, etc. between environments – Dynamics 365 Marketing


To move Marketing configurations/data from one environment to another we can make use of the Configuration Migration Tool.

Open the tool, and create the schema file. Connect to the source environment.

Select and add the real-time marketing email table – msdynmkt_email Soure email.

Next, we are going to select the real-time marketing Journey table – msdynmkt_journey

Source Journey.

Lastly events – msevtmgt_event

Source events.

Click on Save and Export

Save the schema file and click on yes.

Click on Export data to generate the data to be exported.

Next with the schema and data exported, select Import Data to start the import and select destination organization.

Select the data file exported earlier and start the import process.

The import process gets completed with a warning for the table Event for one of the records.

Let us now check the destination environment.

We can see 4 Email records created and 1 updated, all in Draft Status.

We can see all 4 journey records created.

And 2 event records were created.

In case we want to filter the records or want to make sure records are not updated in the destination, we can select Tools >> Configure Import Settings

And use Do not update existing records for all entities and specify Fetch XML for it for filtering.

Also, checkPrerequisites for the export/import process

Hope it helps..

Advertisements

Marketing Form and required (mandatory) fields in Lead and Contact – Dynamics 365 Marketing


Let us take one of the out-of-the-box marketing forms available in Dynamics 365 Marketing.

It has only an Email field marked as required and creates / updates both contacts and leads.

If we click on Check for errors we will get the below notifications.

  • To create a Contact, the Last Name (lastname) field should be included in your form and marked as required.
  • To create a Lead, the Last Name (lastname) field should be included in your form and marked as required.

Now let us host this form and try submitting it.

Click on Go Live, and create a new related marketing form page for it. Make sure you have the domain already authenticated.

Authenticate Domainhttps://nishantrana.me/2022/11/09/how-to-authenticate-domain-in-dynamics-365-marketing/

Embed Marketing Form on the external pagehttps://nishantrana.me/2022/11/10/how-to-embed-marketing-form-on-an-external-page/

Open the Form page and copy the script to host the form.

On the host page, let us submit the details.

Back in our Marketing form, we can see the submission.

And also, both the lead and contact records created.

Now let us try one more submission without specifying a value for the lastname field (which it was showing in the notification, as a required field to be added on the form, for both the lead and contact table).

We can see the submissions in the Marketing Form.

And both the lead and contact records were created.

So although it shows the notification for all the mandatory fields which are not added in the form and marked as required, it still allows the record to be created.

Hope it helps..

Advertisements
%d bloggers like this: