Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

Dynamics Marketing Portal - How to display custom field from Event on Event Registration Confirmation page

(0) ShareShare
ReportReport
Posted on by 5

Hi all,

We have a requirement to have multiple custom fields on the Event table, to be shown on the Marketing Portal's Event Page and child pages e.g. Confirmation, Payment etc.  This is to allow the CRM users to create an Event with custom messages in various places.

For example: a custom "Thank you for registering" message could be entered on the Event Information page, which we can then pull through on all Event Registration Confirmation pages that are presented on the portal.

So far, a custom field e.g. "abc_custom_reg_msg" has been added to Events, a new website table configuration has been made, and we can access and display the custom field on the Event page

- API Response: {"customFields":{"abc_custom_reg_msg":"Thanks for joining us!"}

- Code used successfully on Event Page: {{ this.event.customFields.abc_custom_reg_msg }}

 

Our question is, how do we then access this custom field on the Event Confirmation page? (confirmation.component.html) When we add the same code used on the Event page to the Confirmation page it fails the compile on the DeployToDynamics365Instance.ps1

Do we need to add something else to the confirmation.component.ts to give some context?

Thanks in advance for any help on this one!

  • CNL Profile Picture
    CNL 5 on at
    RE: Dynamics Marketing Portal - How to display custom field from Event on Event Registration Confirmation page

    Hi Magnus,

    Thank you very much for sending through the post link. I added all of Clofly's code from your post and have then attempted all of the below also.

    On TS I have added:

    temp = this.route.snapshot.queryParams['id'];

    temp2 = this.route.snapshot.queryParams['description'];

    temp3 = this.route.snapshot.queryParams['customFields.abc_custom_reg_msg'];

    On HTML I have added:

    Message: {{ temp }}

    Message: {{ temp2 }}

    Message: {{ temp3 }}

    It seems the only value that successfully returns and displays on the Event Confirmation Page is the 'id' / 'temp'

    Do you mind pointing out what I am missing to get to the custom field?

    Thanks very much

  • Moximox Profile Picture
    Moximox 2 on at
    RE: Dynamics Marketing Portal - How to display custom field from Event on Event Registration Confirmation page

    Hi

    Yes this can be done.

    Please have a look at this previous post.

    community.dynamics.com/.../add-content-to-event-registration-confirmation-page

  • Suggested answer
    Moximox Profile Picture
    Moximox 2 on at
    RE: Dynamics Marketing Portal - How to display custom field from Event on Event Registration Confirmation page

    Hi

    Yes this can be done.

    Please have a look at this previous post.

    community.dynamics.com/.../add-content-to-event-registration-confirmation-page

  • CNL Profile Picture
    CNL 5 on at
    RE: Dynamics Marketing Portal - How to display custom field from Event on Event Registration Confirmation page

    Thanks but does anyone else here have some suggestions at all please?

  • Nya Profile Picture
    Nya 29,058 on at
    RE: Dynamics Marketing Portal - How to display custom field from Event on Event Registration Confirmation page

    Hi,

    To provide you with more professional and detailed assistance, Microsoft Partners are highly recommended following the below URL. 

    It will take you to the best match, qualified and responsive providers of Dynamics nearby. 

    appsource.microsoft.com/.../partner-dir 

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…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,971 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,846 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans