I want to show some of the events and their details in a third party website. The events are currently created in marketing app.
I want to show some of the events and their details in a third party website. The events are currently created in marketing app.
Hi Tez,
Here is a sample to expose event data to external website and framework it used:
JQuery BulmaCSS MomentJS
1. If necessary, add a website entity configuration record in advanced settings to expose the custom field.
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/customize-events-api-response
2. Still in advanced settings, register a web application for domain of your third party website:
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/register-web-application-events-api
3. Create a web page in the external website and put following code into it:
Event
Replace following parameters with your owns:
* apiEndpoint
* token
Please refer to this article for details about using Event API:
https://docs.microsoft.com/en-us/dynamics365/marketing/developer/using-events-api
Test
portal page
custom page
In addition, please also manually adjust parameter in Moment zone function to timezone of your own, e.g: 800 means UTC 8.
List of available APIs of Event management:
https://go.microsoft.com/fwlink/?linkid=2042224
Regards,
Clofly
André Arnaud de Cal...
292,516
Super User 2025 Season 1
Martin Dráb
231,399
Most Valuable Professional
nmaenpaa
101,156