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
Bendix5Bendix5 

Naming a record using a trigger or Apex

When creating a new child record, I would like the record name to be created from the names of one or more related lists using a formula - rather than the default free form entry or a sequential number.

 

Is such a thing possible?

 

If not, is it possible to show the formula name in related lists as a clickable link?

 

Thanks all!

 

B5

SurekaSureka

Hi,

 

It is not possible to avoid Default free form entry or Sequential Number because the "Name" when creating new child record.

 

But there is a workaround. You can write a trigger in the backend, to overwrite the value in the Name feild and replace it with your value.

 

To answer you second question, No.

 

Thanks