web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Event Session Track URL

(0) ShareShare
ReportReport
Posted on by 90

Hello All,

We have a requirement that we will send our users URL similar to below URL with /event/session-tracks/ in the URL

https://xyz.microsoftcrmportals.com/event/session-tracks?id=Event_A

But when i click this URL it is redirecting to /events/sessions/

https://xyz.microsoftcrmportals.com/event/sessions?id=Event_A

Do we need to change in the route.ts ??

{
        path: "event",
        component: EventComponent,
        children: [
            {
                path: "",
                redirectTo: EventDetailSections.Sessions,
                pathMatch: "prefix"
            },
            {
                path: EventDetailSections.Sessions,
                component: SessionsComponent
            },
            {
                path: EventDetailSections.SessionTracks,
                component: SessiontracksComponent
            },
            {
                path: EventDetailSections.Speakers,
                component: SpeakersComponent
            },
            {
                path: EventDetailSections.PassInformation,
                component: PassesComponent
            }
        ]
    }

Kind Regards,

Abhilash.

I have the same question (0)
  • Verified answer
    Abhilash_Reddy Profile Picture
    90 on at

    Changes in the Route.ts and event component changeRoute() function i achieved the desired result.

    Comment the Else part and add it in the if part at the end and also remove the default route withing child elements of the "/event".

    public chooseRoute () {

           if (!this.showSessions) {

               if (this.showSessionTracks) {

                   console.log("Event Component.ts showSessionTracks: " + this.showSessionTracks);

                   this.router.navigate(["event/session-tracks"], { queryParams: { id: this.readableEventId } });

               } else if (this.showSpeakers) {

                   console.log("Event Component.ts showSpeakers: " + this.showSpeakers);

                   this.router.navigate(["event/speakers"], { queryParams: { id: this.readableEventId } });

               } else if (this.showPasses) {

                   console.log("Event Component.ts showPasses: " + this.showPasses);

                   this.router.navigate(["event/pass-information"], { queryParams: { id: this.readableEventId } });

               }

           } else {

               console.log("Event Component.ts showsession: " + this.showPasses);

               this.router.navigate(["event/sessions"], { queryParams: { id: this.readableEventId} });

           }

    Kind Regards

    Abhilash.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 168 Super User 2026 Season 1

#2
NeerajPawar Profile Picture

NeerajPawar 65

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 51 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans