When the auto-generated record name field (such as the Name field) is removed from a page layout and a new record is saved, the success toast message displays the record ID instead of the record name.
This behavior is expected and is specific to Lightning Web Components (LWC).
Note: This behavior differs from Aura, the older Salesforce Lightning component framework used prior to Lightning Web Components. In Aura, the record name appeared in the success toast message regardless of whether the Name field was present on the layout. In LWC, the success message relies on the record name field being present on the layout to display it correctly.
To display the record name in the record creation success message, add the auto-generated Name field back to the relevant page layout.
Once the Name field is present on the layout, Salesforce uses it to populate the success toast message displayed after record creation.
000389059

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.