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

Displaying Sessions List

(0) ShareShare
ReportReport
Posted on by 90

Hello All,

We have a requirement in which our client expects to display a session list as mentioned below

The List should display all events per day in two different lists

pastedimage1607946829775v1.png

But what i achieved is below list all sessions are displayed only in one column

pastedimage1607946913644v2.png

Could any one please help us on how to achieve desired output.

Regards

Abhilash

I have the same question (0)
  • Verified answer
    cloflyMao Profile Picture
    25,210 on at

    Hi Abhilash,

    By default, sample event website has implemented a drop down list to aggregate sessions by their date and show sessions dynamically by date based on the selected option.

    Therefore, you could just add some simple customization to make use of the existing code to extend functionality.

    1. In sessions.component.html, insert the container containing custom contents after drop down list container.

    Day {{index}}

    q1.JPG

    As you can see, we will create a variable "index" in corresponding ts file to get index of the selected option and render it as number of day, and bind a custom function to OnChange event of the drop down list.

    (In addition, there is a Boolean variable "showIndex" to control display of custom content.(By default, the variable is set to false.)

    (change)='setDayIndex()'

    2. In the ts, declare two custom variables.

    index: number;
    showIndex: boolean = false;
     

    At bottom of source code, add the custom function to assign index of the selected option to custom variable.

    public setDayIndex():void {
        this.showIndex = true;
        this.index = this.dateKeys.findIndex(item => item === this.selectedDateKey)   1;
    }

    Test

    2021.gif

    Regards,

    Clofly

  • Abhilash_Reddy Profile Picture
    90 on at

    Thank you Clofly for your inputs. it is really helpful for us.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
11manish Profile Picture

11manish 165

#2
ManoVerse Profile Picture

ManoVerse 156 Super User 2026 Season 1

#3
Zhilan Profile Picture

Zhilan 49

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans