I'd like to create a data viewer page that can displays all of the data in any type you choose

I’d like to create a data viewer page that can displays all of the data in any type you choose.
Then, I’m looking for the way to meet the following demands.
Could you give me any advice?

  1. How to create a repeating group where users can switch the type of data source searched for.

  2. How to display the entire fields automatically in a selected type in a repeating group.