We are currently performing maintenance on Appian Community. As a result, discussions posts and replies are temporarily unavailable. We appreciate your patience.
How I remove filter, refresh and download buttons from Record
Discussion posts and replies are publicly visible
You can use a gridField(), and pass the record type as the data and in that same grid's configurations, you'll have this option. For this, you will have to map that interface as the site page instead of record type.
https://docs.appian.com/suite/help/23.1/Paging_Grid_Component.html#parameters