# How to fetch Text properties values out of Disallowed expenses template

**URL:** <https://community.silverfin.com/t/how-to-fetch-text-properties-values-out-of-disallowed-expenses-template/2325>\
**Category:** Templates\
**Tags:** result\
**Created:** [July 29, 2022, 8:20am UTC](https://community.silverfin.com/t/how-to-fetch-text-properties-values-out-of-disallowed-expenses-template/2325 "2022-07-29T08:20:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikhil](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@Nikhil](https://community.silverfin.com/u/Nikhil)\
**Post date:** [July 29, 2022, 8:20am UTC](https://community.silverfin.com/t/how-to-fetch-text-properties-values-out-of-disallowed-expenses-template/2325/1 "2022-07-29T08:20:54Z")

</div>

Hi Team,

How to fetch the Keys, values & namespace from the Disallowed expenses template (handle name : 2018\_disallowed\_expenses).

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/d/d05fc6ab49f3500a7a444b05fdc39d3596f7a1c1.png)

![image](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/e/e44702615c48631a5a370ed635e7b3ea0a203c9c.png)

I tried the solution mentioned in the ticket : [Link](https://community.silverfin.com/t/how-to-get-text-properties-out-of-an-existing-template/2309) But, it is not displaying any values.

Can you help me, please?

Thanks in advance.

Kind regards,  
Nikhil

---

<div class="post-metadata">

**Author:** ![Jelena\_Sutova](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/jelena_sutova/32/599_2.png) [@Jelena\_Sutova](https://community.silverfin.com/u/Jelena_Sutova)\
**Post date:** [July 29, 2022, 2:19pm UTC](https://community.silverfin.com/t/how-to-fetch-text-properties-values-out-of-disallowed-expenses-template/2325/2 "2022-07-29T14:19:31Z")

</div>

@Nikhil

Details of “Non-deductible taxes” from Disallowed expenses template can be accessed:

```auto
Option 1:
{% stripnewlines %}
{% for item in period.reconciliations.2018_disallowed_expenses.custom.non_deduct_taxes %}
  {{ item.description }} {{ item.value | currency:2 }}{% newline %}
{% endfor %}
{% endstripnewlines %}

Option 2:
{% stripnewlines %}
{% for item in (1..5) %}
  {% capture key_value %}non_deduct_tax_{{ INT(item) }}{% endcapture %}
  {% if period.reconciliations.2018_disallowed_expenses.custom.non_deduct_taxes.[key_value] != blank %}
    {{ period.reconciliations.2018_disallowed_expenses.custom.non_deduct_taxes.[key_value].description }} {{ period.reconciliations.2018_disallowed_expenses.custom.non_deduct_taxes.[key_value].value | currency:2 }}{% newline %}
  {% endif %}
{% endfor %}
{% endstripnewlines %}

```

Please let me know if this solution works.

---

<div class="post-metadata">

**Author:** ![Nikhil](https://avatars.discourse-cdn.com/v4/letter/n/b782af/32.png) [@Nikhil](https://community.silverfin.com/u/Nikhil)\
**Post date:** [July 31, 2022, 11:36am UTC](https://community.silverfin.com/t/how-to-fetch-text-properties-values-out-of-disallowed-expenses-template/2325/3 "2022-07-31T11:36:43Z")

</div>

@Jelena_Sutova

Above solution works. Thanks a lot.
