# Parsing query in blueprint for field plugin

**URL:** <https://forum.getkirby.com/t/parsing-query-in-blueprint-for-field-plugin/31250>\
**Category:** Questions\
**Tags:** v4\
**Created:** [March 27, 2024, 12:43pm UTC](https://forum.getkirby.com/t/parsing-query-in-blueprint-for-field-plugin/31250 "2024-03-27T12:43:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobystokes](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/tobystokes/32/745_2.png) [@tobystokes](https://forum.getkirby.com/u/tobystokes)\
**Post date:** [March 27, 2024, 12:43pm UTC](https://forum.getkirby.com/t/parsing-query-in-blueprint-for-field-plugin/31250/1 "2024-03-27T12:43:20Z")

</div>

I have a small field plugin, for which i’d like to store some options in an .env file (rather than keep directly in a git-commited blueprint.)

```auto
    fields:
      myCustomFieldInstance:
        label: This gets parsed: {{ kirby.option('api_key') }}
        type: myCustomField
        help: "This also gets parsed: {{ kirby.option('api_key') }}"
        anyCustomProperty: {{ kirby.option('api_key') }} - doesn't get parsed :(

```

Using the query language to access site data seems to only work in the standard/default fields. Is there a way to persuade the plugin to parse extra properties for queries?

(Or alternatively, is there a ‘better’ way to achieve this? Use plugin options rather than add in blueprint?)

---

<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:** [March 27, 2024, 12:56pm UTC](https://forum.getkirby.com/t/parsing-query-in-blueprint-for-field-plugin/31250/2 "2024-03-27T12:56:49Z")

</div>

> [@tobystokes](#):
>
> . Is there a way to persuade the plugin to parse extra properties for queries?

If you want to use query language in your custom props, the custom props need to support this, see [Dynamic default number field - #2 by texnixe](https://forum.getkirby.com/t/dynamic-default-number-field/30562/2)
