+ Start a Discussion
KMK91KMK91 

How to adjust the standard opportunity name in when cloning the record

Hi Team,

I have opportunity Name(Standard) length 100 when cloning the opportunity like

Ex : opportunity Name :  Abcd...(length 100) after we are adding "opptycopy" if exceeds the length more than 100 char getting error like string too long .
how Left post fix oppty clone like (abcd...92 char..then opptycopy)

Thanks
KMK
AnudeepAnudeep (Salesforce Developers) 
As per the documentation, the Maximum length for the Opportunity 'Name' field is 120. Unsure where the 100 limit is coming from. I recommend raising a support case with the config team

There isn't any way to limit the number of characters programmatically others than using a validation rule 

(https://help.salesforce.com/articleView?id=000341515&type=1&mode=1