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
PeacePeace 

Fetch system fields data of recently inserted records


Hi,

I am new to apex, Please help in following scenario.

I select an object name from Picklist and this object name gets stored in a variable.

and then dynamically records are inserted into this object.

After the insertion / updation of these records, i want to fetch value from 'Created By' and 'Last Modified By' system fields of these records and display it on VisualForce page dynamically.