Setting Title Field for Linked Field Values By Coding

https://frappeframework.com/docs/user/en/basics/doctypes/form_&_view_settings

I’m already working with documents, but when I set a value by coding to a linked field, the text in the section is displayed the value, but it does not show in the title field in the setup.

I’m not sure what methods are available for assigning values to a control and correctly setting both the value and title.

Do you want to add the customized title and show it as a link field?