編輯

共用方式為


Event management web application in outbound marketing overview

Note

Dynamics 365 Marketing and Dynamics 365 Customer Insights are now Customer Insights - Journeys and Customer Insights - Data. For more information, see Dynamics 365 Customer Insights FAQs

New Customer Insights - Journeys customers receive real-time journeys features only. For more information, see Default real-time journeys installation.

Note

Azure Active Directory is now Microsoft Entra ID. Learn more

Important

This article only applies to outbound marketing, which will be removed from the product on June 30, 2025. To avoid interruptions, transition to real-time journeys before this date. More information: Transition overview

The event management feature helps you to organize, manage, and process the events. When you install the event management solution, you get an event portal that gives the users a web application where they can get to know more about the event details. More information: Event Portal.

The event portal consists of two parts:

  1. Front end
  2. REST API backend

You can implement the front end using any of the available frameworks. The front end is a single-page application and is fully customizable. The backend and the customization of the backend depend on the hosting type.

You can host a custom event website in two ways:

  1. Self-hosted
  2. Power Apps portal hosted

Warning

Customizations to the sample Angular website are performed at your own risk. Microsoft Dynamics 365 Technical Support can't help you with issues or questions related to sample website customizations.

Prerequisites

You can build your front end or customize the provided demo event website.

Tip

The outbound marketing event website cannot be customized using Power Pages Studio.

Note

The provided demo event website is an Angular framework based website. However, since the backend is not dependent on the front end, you can use any framework of your choice.

To get started with customizing the demo event website, you need to follow these steps:

  1. Download the source code for the sample event website.

  2. Install Node.js between version 10.x and version 16.x. Deployment won't work with newer versions.

  3. Open Command Prompt or Windows PowerShell and run the command to check whether the installation was successful.

     node -v
    

    Note

    If you have a terminal or shell already open, restart it before typing in the command.

  4. Run the command to install the Angular CLI (command-line interface) required to build and run the Angular application. More information: Angular CLI.

    npm install -g @angular/cli
    
  5. Navigate into the directory where you have downloaded the source code and run the command to fetch all the necessary packages required to run the website.

    npm install
    

    Note

    You need to run the command in the same directory where the package.json file is located.

  6. See public API documentation to interact with the backend services.

  7. You must also have a Dynamics 365 Customer Insights - Journeys instance with Event Management and Portals solutions installed. To install, see Sign up for a free Dynamics 365 Customer Insights - Journeys trial.

Download sample event website

Note

Newer versions of the sample event website will be available once new features and bug fixes are released.

Select the version you would like to download from the table below.

Name Release Changes Uploaded
Sample Event Website 1.60.0 (May-release) - Performance improvements for event portal website.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.56.0 (December-release) - Fixed waitlisting issue.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.46.0 (September release) - Fix accessibility issues.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.34.0 (April release) - Minor improvements and bug fixes. Download
Sample Event Website 1.30.0 (December release) - Minor improvements and bug fixes. Download
Sample Event Website 1.28.0 (October release) - Added possibility to opt in for local date conversion.
- Added additional website language configurations.
Download
Sample Event Website 1.27.0 (September release) - Added possibility to configure the display of the dates.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.24.0 (June release) - Updated deployment script to allow single file deployment for Portals.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.23.0 (May release) - Fix accessibility issues.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.22.0 (April release) - Fix accessibility issues.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.21.0 (March release) - Added stop registrations for events.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.20.0 (February release) - Integrate marketing forms for event registrations.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.19.0 (December release) - Fix accessibility issues.
- Update website languages.
- Improve speaker page.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.18.0 (October release) - Minor improvements and bug fixes. Download
Sample Event Website 1.17.0 (September release) - Improve workflow for paid events.
- Fix compatibility issues for IE11.
- Improve the event details page.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.16.0 (August release) - Improve loading behavior of event page.
- Improve UI/UX of custom registration field of type boolean.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.15.0 (July release) - Add information to the session list view, if the session is full.
- Add validation to custom registration fields.
- Improve translations.
- Fixing missing font-awesome icons after deploying to Portals.
- Minor improvements and bug fixes.
Download
Sample Event Website 1.14.0 (June release) Upgrade to Angular 7, improve UI and UX of the checkout page, update and improve translations, improve DeployToD365Instance.ps1 script, improve custom registration field validation, other bug fixes Download
Sample Event Website 1.13.0 (April release) Waitlist functionality on session level, UI polishing, bug fixes Download
Sample Event Website 1.12.2 (March release) UI & UX improvements, bug fixes Download

Environment configuration parameters

The src\environments folder contains sample configuration files for different environments (self-hosted, portal-hosted, development). The configuration set up for the custom event website is made by creating an environment.ts file inside the \src\environments folder. You can find instructions on how to change the configuration in the related articles Environment configuration for self-hosted and Environment configuration for Portal hosted.

Here are some of the parameters that you need to understand before you start configuring your custom event website:

Parameter Description
production Enables or disables the production mode of the Angular application. More information: Angular Documentation.
buildVersion This field links to the version specified in the package.json file by default. There's no need to change this property. However, if you prefer not to expose the version of the application, you can set it to null.
apiEndpoint The URL that points to the event management API endpoint (which is used to retrieve information of events and to make registrations).
localizationEndpoint Points to the URL where the localization files are stored (by default they're stored in the root directory).
imagesEndpoint Specifies the base URL from where images are served. This configuration enables you to serve images from a different location, which might be required if you want to use a content delivery network or image-processing service.
useRestStack This setting specifies which API is used. If set to true, then the new event management public API is used. If set to false, then the deprecated event management Portal API is used. This API can only be used if you host the custom event website on Portals. To use the new event management public API, you need to register the web application.
emApplicationtoken This token authenticates your web application against the event management public API. You can retrieve the application token by registering a new web application in the Customer Insights - Journeys instance. This token isn't required if you're using the deprecated event management Portal API.
isAuthenticationEnabled This flag specifies whether the user authentication is supported or not (that is, the user can register or sign in). If set to false, then the application doesn't display a way to sign in or register.
useAadB2C Specifies whether you want to use Microsoft Entra ID identity management for authentication. If you want to use Power Apps portals identity management, this flag needs to be set to false. If Microsoft Entra ID is enabled, then you need to configure the aadB2CConfig variable.
aadB2CConfig Configuration object used by event management application when Microsoft Entra ID identity management is enabled.
useMockData This setting can be used to return mock objects instead of making real API calls.
dateSettings This setting can be used to configure how the dates will be formatted on the website. If convertToLocalDate flag is set to true, all dates are automatically converted to the end user's local time.
languageSettings This setting can be used to configure how languages will be loaded on the website. If forceSingleLanguage flag is set to true, the website will be loaded in the language specified in websiteLanguageLcid. The showLanguageDropdown flag allows to show or hide the language dropdown. By default, the language dropdown is visible and the website will use the end user's browser language.

Backend customization

You may run into a situation where you want to customize the backend of the event management application. Let's say a system customizer wants to add a new field to the existing event management entity and wants to see that field on the event website. For example, if the custom_new_field field is added to the evtmgmt_pass entity. The passes for the event can be retrieved using the API endpoint api/v2.0/events/{readableEventId}/passes, but the result doesn't contain the newly added field.

To expose the new field to be visible in the API, follow the steps below:

  1. Open your Customer Insights - Journeys instance.
  2. Open Advanced Find.
  3. Select the Website table configurations entity from the dropdown and select Results.
  4. Select New Website table configuration to create a new record.
  5. Enter the name of your choice in the Name field.
  6. Select the entity that you want an extra field to be visible in the Selected Entity field.
  7. Write a JSON array that contains the new custom field that should be visible through the API in the Selected fields. This exposes the new custom field through the API, and you can utilize it in the front end.