# Retrieve URL for an item page using a Yes-Code Column

**URL:** <https://community.glideapps.com/t/retrieve-url-for-an-item-page-using-a-yes-code-column/31553>\
**Category:** Ask for Help\
**Created:** [September 8, 2021, 8:47pm UTC](https://community.glideapps.com/t/retrieve-url-for-an-item-page-using-a-yes-code-column/31553 "2021-09-08T20:47:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iftach](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/iftach/32/29848_2.png) [@Iftach](https://community.glideapps.com/u/Iftach)\
**Post date:** [September 8, 2021, 8:47pm UTC](https://community.glideapps.com/t/retrieve-url-for-an-item-page-using-a-yes-code-column/31553/1 "2021-09-08T20:47:30Z")

</div>

Hey, any way to retrieve the URL for an item details page using a Yes-Code Column?

---

<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:** [September 8, 2021, 11:55pm UTC](https://community.glideapps.com/t/retrieve-url-for-an-item-page-using-a-yes-code-column/31553/2 "2021-09-08T23:55:44Z")

</div>

I remembered about this:

```auto
window.location.href

```

> <https://stackoverflow.com/questions/1034621/get-the-current-url-with-javascript>

But I believe when executed it might return the Replit link you’re using, not the URL we request from.
