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
manishamanisha 

Hyperlink - URL

Hi,

I have a custom object named "Inventory" and then I have a custom field name "Invoice" which is a URL field.

What I want to do is post a link in that field that will go to the document that is attached to the inventory record.

I don't want my end users to see the link I want them to see just the name of the file. How can I do this?

 

Thank you for your help.

 

Manisha

Best Answer chosen by Admin (Salesforce Developers) 
Shashikant SharmaShashikant Sharma

Just Create a formula(Text) field where return type is text. In the formula user this

 

HYPERLINK('/'+Id, Name)

 Add this field on Layout, this will solve your issue.

All Answers

Shashikant SharmaShashikant Sharma

Just Create a formula(Text) field where return type is text. In the formula user this

 

HYPERLINK('/'+Id, Name)

 Add this field on Layout, this will solve your issue.

This was selected as the best answer
manishamanisha

Hi Shashikant,

 

Thank you for your help. This solution solves my problem.

 

Thank you agian.

Manisha