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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How do I create separa...
Power Apps
Unanswered

How do I create separate timelines for each tab in my model driven app?

(0) ShareShare
ReportReport
Posted on by 29

I currently have a model-driven app with multiple tabs. In each tab, I have added a timeline. However, I want the data for each timeline to be specific for that tab. For example, if the user posted a note in the timeline for Tab 2, then I would like that note to only be present in Tab 2's timeline, not any other timeline. Similarly, if the user uploads an attachment in Tab 3's timeline, then the user should only see that attachment in Tab 3's timeline.

 

Is there a way to do this? Thanks

Categories:
I have the same question (0)
  • MissingLink Profile Picture
    236 on at

    Hi @smital 

    Without knowing how your data is structured, it's difficult to give you a 'perfect' answer, but I would think that you could put a filter on the data that is linked to the tab which you select.

     

    There are 2 ways that I can think of.

    Either the gallery filter is linked directly to some value that is on the TAB or

    on the Tabs 'OnSelect' event, Set(VarYourTimeLine, YourTimeLine) - and gallery filter includes VarYourTimeline in it accordingly. 

     

    I hope that points you in the right direction.

     

  • smital Profile Picture
    29 on at

    Hi @MissingLink , thanks for taking the time to reply and help me out. Much appreciated!

     

    While I was trying to implement your solution, I thought to play around with the timeline a bit more. Turns out, the timelines do show separate notes, except for the first one!

     

    Here is tab one:

    smital_1-1704336936526.png

    As you can see, I have added two notes. The first one at the bottom is the first note I created in this record.

     

    Here is the second tab:

    smital_2-1704336969215.png

    As you can now see, the first note which I posted in the previous tab, is present there. However, the second one above is not the same (it is a new one I created on this tab). This new note for this cannot be seen on the previous, and vice-versa.

     

    Of course, now the ideal scenario is if there is a way to create a default first note when creating a record, so the notes the user posts are individual to each tab? However, if this is not possible, I could just explain this to the user when briefing them on how to use the application. 

     

    Thanks for all the help once again!

     

  • MissingLink Profile Picture
    236 on at

    Using a DateTime can be tricky if your TimeLine is going to allow for multiple notes on the same day. This is because you would need to know an exact Start/End millisecond for each note.

    Instead of using time, could you put a counter on each NOTE.

    Then in the Gallery Items = Filter(TableName, NoteCount=TabSelected.Number)

  • smital Profile Picture
    29 on at

    Yes this would be a great idea! Do you mind showing how we do this though? I am quite new to model-driven apps and I am still learning the features. I am not sure where to access gallery items (is it on the form?)

  • MissingLink Profile Picture
    236 on at

    Hmmm - Giving you accurate directions could be tricky without more info.

     

    Are you able to edit the underlying tables in your Dataverse. If not, then this solution won't work for you.

     

    The idea is as follows.

    Add a Number type field to the Notes list and call it something like NoteNumber.

     

    Then on the form where the note is added, you will need to add the NoteNumber Field.

    Then set the default value to be one more than the count of the number of Notes that are linked to the selected Trial.

     

    So something like :

    CountRows(Filter(Trial, ID=NameOfTheTrialForm.ID))+1

     

     

  • smital Profile Picture
    29 on at

    Yes, I can edit the underlying table. As per the feedback from the users, they actually prefer a date-time stamp as multiple people will be using it and a date-time stamp will be helpful for them for reference.


    But thanks for all the help - I am sure your solutions will definitely be helpful to anyone who reads this thread!

  • MissingLink Profile Picture
    236 on at

    You can keep the DateTime on the form for the users to see.

    Set the NoteNumber.Visible = false on the form.

    That way, users will see the last edited date/time and you will be able to manage the linked note.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard