# How can I specify the field I wanna get back from the page?

**URL:** <https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914>\
**Category:** Questions\
**Tags:** v3\
**Created:** [October 30, 2020, 9:52pm UTC](https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914 "2020-10-30T21:52:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alain/32/10270_2.png) [@Alain](https://forum.getkirby.com/u/Alain)\
**Post date:** [October 30, 2020, 9:52pm UTC](https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914/1 "2020-10-30T21:52:01Z")

</div>

Hi  
In a blueprint I try to get the fieldname “description” of a list of pages.

I tried this, but it does not work:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/1/16ff6eb4e5a23d64b01ac9a0ed97ea053afd0d45.png)

When I remove the underlined part then I only get the default (title) fieldname.

This is my filestructure:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/a/ad12a3bfa060dda34fddf30aab0838841d3c9bf7.png)

How can I specify the field I wanna get back from the page?

Kind regards  
Alain

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 30, 2020, 11:42pm UTC](https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914/2 "2020-10-30T23:42:12Z")

</div>

Filtering doesn’t make sense if you want to get all description fields of the selected page sets as options, you have to use ` pluck('description')` instead of `filterBy()`

> **[Select](https://getkirby.com/docs/reference/panel/fields/select#dynamic-options__getting-options-from-all-siblings-or-the-index)**
>
> A simple selectbox field

---

<div class="post-metadata">

**Author:** ![Alain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alain/32/10270_2.png) [@Alain](https://forum.getkirby.com/u/Alain)\
**Post date:** [October 31, 2020, 3:09pm UTC](https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914/3 "2020-10-31T15:09:05Z")

</div>

Thanks for the quick answer.

`query: site.find('speisekarte').children.find('d_desserts').children.pluck('description')`

Does not work either.

I did also try this without success:

 ![image](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/8/890fdeed46686c34a088fa71a71a282f04e3e78f.png)

Does `page: page_name` search in all folders, subfolders and subsubfolders,… from the root (/content)?

---

<div class="post-metadata">

**Author:** ![Alain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alain/32/10270_2.png) [@Alain](https://forum.getkirby.com/u/Alain)\
**Post date:** [October 31, 2020, 3:48pm UTC](https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914/4 "2020-10-31T15:48:52Z")

</div>

Found a solution:

```
query:
  fetch: site.find('speisekarte').find('d_desserts').children
  value: '{{page.description}}'
  text: '{{page.description}}'

```

🤓

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 31, 2020, 4:18pm UTC](https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914/5 "2020-10-31T16:18:37Z")

</div>

I wonder if it makes sense to store the description. Why not store the page id and then get the description from the page object instead? The reason why this makes more sense is that the description is more likely to be modified later, so if the content in the field changes, your stored content will be outdated.

---

<div class="post-metadata">

**Author:** ![Alain](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/alain/32/10270_2.png) [@Alain](https://forum.getkirby.com/u/Alain)\
**Post date:** [October 31, 2020, 4:32pm UTC](https://forum.getkirby.com/t/how-can-i-specify-the-field-i-wanna-get-back-from-the-page/19914/6 "2020-10-31T16:32:01Z")

</div>

It’s just a test, there is no other sense behind it 🙂  
What is the id of the page?  
I can’t see any id in the folderstructure.  
Is it defined internally and accessible by` $page->id()`?

… I see. For example “speisekarte/d\_desserts/tiramisu” is the “id”, right?
