# Show only file name with the link component instead of the whole url

**URL:** <https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021>\
**Category:** Ask for Help\
**Created:** [March 25, 2024, 1:47pm UTC](https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021 "2024-03-25T13:47:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giovanni\_Petrosino1](https://avatars.discourse-cdn.com/v4/letter/g/dc4da7/32.png) [@Giovanni\_Petrosino1](https://community.glideapps.com/u/Giovanni_Petrosino1)\
**Post date:** [March 25, 2024, 1:47pm UTC](https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021/1 "2024-03-25T13:47:02Z")

</div>

Hello. There is a section in my app where users can upload .pdf docs. Another section where other users can view the documents uploaded. I’m using a link component but it only shows the whole URL of the file making very difficult to understand what file is that. Is there a way to show only the file name, maybe with different component? Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Himaladin](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/himaladin/32/71023_2.png) [@Himaladin](https://community.glideapps.com/u/Himaladin)\
**Post date:** [March 25, 2024, 1:57pm UTC](https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021/2 "2024-03-25T13:57:58Z")

</div>

> [@Giovanni\_Petrosino1](#):
>
> I’m using a link component

Why don’t you ask your user to fill in the name, because Glide doesn’t have an option to create/record a file name?

 ![Screenshot 2024-03-25 at 20.57.08](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/6/8/68748ab0a852b741ebb20e2d12af7ef1e8f04bd7.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [March 25, 2024, 2:10pm UTC](https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021/3 "2024-03-25T14:10:06Z")

</div>

Do you have this option enabled?

 ![Screenshot_20240325-090734](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/7/1/716540c25679cf1f97fd2f821aa542faf7cd3abe.jpeg)

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 25, 2024, 3:08pm UTC](https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021/4 "2024-03-25T15:08:19Z")

</div>

That, plus a column to beautify the name would do (for the link component).

Unless it’s a multiple files column, in which case I’m not sure it works at all. I would resort to a JS column solution for multiple files, maybe.

---

<div class="post-metadata">

**Author:** ![moeedahmed](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/moeedahmed/32/86062_2.png) [@moeedahmed](https://community.glideapps.com/u/moeedahmed)\
**Post date:** [March 25, 2025, 9:54pm UTC](https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021/5 "2025-03-25T21:54:34Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/5/d5cbf6b6d9b06c3008cdd5520d5722a415ef78d8.jpeg)  
I have the same issue, where instead of showing the file name, it shows the whole link, as you can see in the documents field.

Is there a way to turn the link into a hyperlinked file name, which can open the file?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 26, 2025, 12:18am UTC](https://community.glideapps.com/t/show-only-file-name-with-the-link-component-instead-of-the-whole-url/72021/6 "2025-03-26T00:18:02Z")

</div>

Not with the fields component, you might have to try a custom component for that.
