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!
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
Hi
Yes this can be done.
Please have a look at this previous post.
community.dynamics.com/.../add-content-to-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
Thanks but does anyone else here have some suggestions at all please?
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.
André Arnaud de Cal...
291,971
Super User 2025 Season 1
Martin Dráb
230,846
Most Valuable Professional
nmaenpaa
101,156