# Use parent record's record id in email

**URL:** <https://forums.knack.com/t/use-parent-records-record-id-in-email/10073>\
**Category:** Get Answers\
**Created:** [March 22, 2017, 8:00pm UTC](https://forums.knack.com/t/use-parent-records-record-id-in-email/10073 "2017-03-22T20:00:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![StevenBash72778](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@StevenBash72778](https://forums.knack.com/u/StevenBash72778)\
**Post date:** [March 22, 2017, 8:00pm UTC](https://forums.knack.com/t/use-parent-records-record-id-in-email/10073/1 "2017-03-22T20:00:39Z")

</div>

I have a record that has children. &nbsp;When viewing the child record, during an edit, I want to send an email and 'build' an URL address inside the email for the recipient to click to view the parent record on pages THEY are allowed to view. &nbsp;I cannot choose the "Parent Record ID" because that is a page only the ADMIN is allowed to view. &nbsp;The parent record id DOES show the pertinent information I need, but I only need the ID portion of it: &nbsp;&nbsp;

{PARENT RECORD ID} = https://.../57c5d5c78d709dd029e7499a/.../57c5d5c78d709dd029e7499a

I need the last bit so I can build the correct page with the aforementioned id only.

Anyone know how to do this?

---

<div class="post-metadata">

**Author:** ![Sunny\_Singla](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/sunny_singla/32/1007_2.png) [@Sunny\_Singla](https://forums.knack.com/u/Sunny_Singla)\
**Post date:** [April 1, 2017, 6:21pm UTC](https://forums.knack.com/t/use-parent-records-record-id-in-email/10073/2 "2017-04-01T18:21:19Z")

</div>

Hello Derek,

I have build similar functionality. &nbsp;Unfortunately knack doesn't provide this simple we need to insert Id also in child table while inserting records.

I'm a knack developer if you want to achieve this then i will do this.

you can also hire me on UpWork or email me at [ssingla1985@gmail.com](mailto:ssingla1985@gmail.com)

skype : sunny\_singla04

Thanks&nbsp;

Sunny Singla
