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

record id help

I have a record whose id (let's say "" ) needs to be extracted and stored in a field of the same record everytime a new record is created and the same should happen if an old record is edited and saved.

How do I go about doing that.

Pls help.


Shiva Ramesh @ xcdhrShiva Ramesh @ xcdhr

Could you explain more

Shiva Ramesh @ xcdhrShiva Ramesh @ xcdhr

If you want to store the recordID in same record. You can use formula field to store recordId in a same record. while creating and editing a record formula field will execute everytime.


can u give me an idea how the formula field would look like. probably an example here would be helpful.

Shiva Ramesh @ xcdhrShiva Ramesh @ xcdhr

Go to object -> Click New under custom field -> select Formula -> Enter Field Label and select Text in Formula Return Type -> Click Insert Field button -> select Record ID in available field list and click Insert button -> and then save formula field