function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
LWC DeveloperLWC Developer 

I have some urgent requirement in lightning Component. Can anyone help me to display all the standard objects in one picklist and when I select any one object, then all the records in that objects have to display using Lightning Component?

Scenario 1: I want to display all records.of selected objects from drop down list.
Scenario 2: If I open any account after above scenario then I would like to display all the files of that Account.

For Example:
If I select Account object from Drop down list of sObjects then It would be display all records of Account  object and their associated files after clicking on any Account record.
Is that possible by Lightning Component? Please let me know the solution of above scenarios.
I have some urgent need of this requirement.

Thanks in advance...
MagulanDuraipandianMagulanDuraipandian
It's not advised to show all the records for a single object in a coponent.
You can use the below link to get list of objects.
http://www.infallibletechie.com/2012/08/how-to-get-list-of-objects-used-in.html

Similarly you can use the MetaData to find the fields and show the data.