Skip to main content

Notifications

Announcements

No record found.

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

Add new web page on events portal

Posted on by 187

Hi,

We downloaded the sample code for the events portal from here: https://docs.microsoft.com/en-us/dynamics365/marketing/developer/event-management-web-application#download-sample-event-website since we had to do some changes in the API requests.

We now need to add a new page on the portal. We copied the home component and renamed everything. We also added the component to appModule.ts and added the route on routes.ts. After uploading it using the powershell script, the page is still not found on the portal. 

Can someone help us please?

Thanks

  • kelly1 Profile Picture
    kelly1 187 on at
    RE: Add new web page on events portal

    Yes creating the web page solved the issue. Thanks again for your help.

  • cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Add new web page on events portal

    Hi Kelly,

    It seems that you have solved issue successfully by adding a web page and web template record?

    If so, it's glad that your problem has been solved.

    Please feel free to ask any other question if you had any problems, I'll try my best to give an idea.

    Regards,

    Clofly

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,198 on at
    RE: Add new web page on events portal

    Hi kelly,

    I only have trial environment thus I couldn't test with Event Portal for you.

    However, as event website is still built on Portal(I have Custom Portal), so you could try to add a new page like what we do in normal portal.

    In Portal Management app:

    1. Add a web page record.(set a Partial URL for page)

    2. Create a page template:

    pastedimage1585902334394v1.png

    3. Add your custom HTML and javascript code to a web template:

    pastedimage1585902618141v2.png

    pastedimage1585902674597v3.png

    In addition, from code of deployment script,

    it seems that the script would only update/upload following files:

     * font libraries

     * translations files

     * necessary javascript files for main function

     * global style.css

    In my opinion, operation that editing component files such as appModule.ts or routes.ts would be more related to self-hosted deployment.

    In a word, you could try to do it within Portal App.

    You could also take article below as reference:

    https://pkoval.com/2019/04/07/extending-dynamics-marketing-event-management-portals/

    Regards,

    Clofly

  • kelly1 Profile Picture
    kelly1 187 on at
    RE: Add new web page on events portal

    Managed to solve the issue- needed to create the web page on the portals app as well

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans