# ThisDocument.Url()

**URL:** <https://connect.superhuman.com/t/thisdocument-url/58515>\
**Category:** Ask the Community\
**Created:** [October 29, 2025, 7:29pm UTC](https://connect.superhuman.com/t/thisdocument-url/58515 "2025-10-29T19:29:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Roech\_Roehrich](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/brian_roech_roehrich/32/37345_2.png) [@Brian\_Roech\_Roehrich](https://connect.superhuman.com/u/Brian_Roech_Roehrich)\
**Post date:** [October 29, 2025, 7:29pm UTC](https://connect.superhuman.com/t/thisdocument-url/58515/1 "2025-10-29T19:29:51Z")

</div>

I needed the url of the current document and found the ThisDocument.Url() formula which works great. I noticed thought that it says this is a deprecated formula. Is there a different formula i should be using for this?

---

<div class="post-metadata">

**Author:** ![Pablo\_DV](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/pablo_dv/32/49028_2.png) [@Pablo\_DV](https://connect.superhuman.com/u/Pablo_DV)\
**Post date:** [October 29, 2025, 9:00pm UTC](https://connect.superhuman.com/t/thisdocument-url/58515/2 "2025-10-29T21:00:17Z")

</div>

You can also use `ThisDocument.ObjectLink()`. Don’t know if there’s any difference between the two, though.

---

<div class="post-metadata">

**Author:** ![Max\_OBrien](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/max_obrien/32/49285_2.png) [@Max\_OBrien](https://connect.superhuman.com/u/Max_OBrien)\
**Post date:** [October 30, 2025, 12:05pm UTC](https://connect.superhuman.com/t/thisdocument-url/58515/3 "2025-10-30T12:05:10Z")

</div>

Since there is not an equivelent for “this page”  
(there is no thisPage in the formula language)  
you can get the URL of any given page in your document  
with

`ObjectLink( MyPage )`

where `MyPage` is either the name of a **formula** or a **table** that appears on that page.

So we often place a dummy formula at the end of a page

- that just returns a single space (so that it is invisible) `" "`
- give the formula a **name** that looks like the page name eg. `MyPage`
- then use the formula `ObjectLink( MyPage )` to get the page URL
- you can then format the resulting URL as a Text, Card, or Button
- you can use that formula anywhere in your document

You can also use the same formula inside a button that will switch the user to a given page

`OpenWindow( ObjectLink( MyPage ) )`

Max
