Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

How can I show an Event (which is created in marketing app) and its details on a third party website

(0) ShareShare
ReportReport
Posted on by 105

I want to show some of the events and their details in a third party website. The events are currently created in marketing app.

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: How can I show an Event (which is created in marketing app) and its details on a third party website

    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

    pastedimage1609765378223v1.png

    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

    pastedimage1609765855175v2.png

    custom page

    pastedimage1609765875272v3.png

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,399 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans