Skip to main content
Paul Fox (CloudAnswers) ha fatto una domanda in CMTD

@Denny Chandra

I see there have been a few posts in the past about showing all tasks or events when using the related list for tasks or events. I just tried to use this for a project and ran into this same issue.  

 

With the dynamic related lists standard component, I imagine this component is getting less use. But there's still one area where dynamic related lists don't work - activities.  

 

So I tried to create a related list with this but realized that archived activities are not displaying. Tasks and events over a year old don't show up unless the query specifies "ALL ROWS." The query for this component does not include this by default.  

 

Since ALL ROWS also shows deleted records, to get this to work like the other activity related lists, you would need to add IsDeleted = False to the WHERE clause and ALL ROWS to the end of the query. This could either be done automatically for related lists on Tasks and Events or have a component property that users could check a box to "Display Archived Tasks or Events."  

 

If the code is somewhere online, happy to open a pull request with this change. Otherwise I'll probably just create a custom component for this scenario. 

3 risposte
  1. 17 giu 2025, 01:41

    Hi Paul,

    I think you can probably log a case with salesforce.

    They might have some other suggestion along with changing auto archival time period.

    Thanks

0/9000