# Issue exports - part of text missing

**URL:** <https://community.silverfin.com/t/issue-exports-part-of-text-missing/2381>\
**Category:** Exports\
**Created:** [December 27, 2022, 10:35am UTC](https://community.silverfin.com/t/issue-exports-part-of-text-missing/2381 "2022-12-27T10:35:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lieels01](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@lieels01](https://community.silverfin.com/u/lieels01)\
**Post date:** [December 27, 2022, 10:35am UTC](https://community.silverfin.com/t/issue-exports-part-of-text-missing/2381/1 "2022-12-27T10:35:14Z")

</div>

We have a strange error in Silverfin as in the regular view and code everything seems fine, but when we export the document, a part of the text goes missing. This specific part is triggered by a boolean at the beginning of the document (see pictures). Does someone have any idea how this can happen?

 ![normal view](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/0/082c65746071d1be72e50c32c82618f18a8d7905.png)

 ![export](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/c/c6b76f54689a172ca232224daffcb329617f4a22.png)

![code boolean](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/9/99e13fb67579fd61f314867d8d5229507d84a4f6.png)

 ![code text](https://canada1.discourse-cdn.com/flex030/uploads/getsilverfin/original/2X/f/f9204a88e9984e349300f665ac94774aa8caebf3.png)

---

<div class="post-metadata">

**Author:** ![Kimberly\_Vlietinck](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/kimberly_vlietinck/32/1496_2.png) [@Kimberly\_Vlietinck](https://community.silverfin.com/u/Kimberly_Vlietinck)\
**Post date:** [January 2, 2023, 8:14am UTC](https://community.silverfin.com/t/issue-exports-part-of-text-missing/2381/2 "2023-01-02T08:14:36Z")

</div>

Hi @lieels01,

The issue here is that the `assign:custom_article_7229` is inside an {% ic %} tag. This means that this piece of code will not be executed in non-input mode. There are two ways of solving this in your case.

The first option is to directly access the value that is stored in the database in your if-statement: `{% if period.custom.article.7229 == true %}`.

The second option is to assign the local variable custom\_article\_7229 separately outside of the {% ic %} tag:

```auto
{% assign custom_article_7229 = period.custom.article.7229 %}

```

Feel free to reach out if you have any additional questions.

Kind regards,  
Kimberly
