# An Export DATA file

**URL:** <https://community.silverfin.com/t/an-export-data-file/251>\
**Category:** Templates\
**Tags:** export, comments, input\_comment\
**Created:** [May 12, 2017, 12:45pm UTC](https://community.silverfin.com/t/an-export-data-file/251 "2017-05-12T12:45:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GMOONS](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@GMOONS](https://community.silverfin.com/u/GMOONS)\
**Post date:** [May 12, 2017, 12:45pm UTC](https://community.silverfin.com/t/an-export-data-file/251/1 "2017-05-12T12:45:25Z")

</div>

Dear all,

I’m making an export data file, in order to download the interesting data into an XML.

However I receive the error: ERROR 404, something went wrong. as soon as I try to download my data.

Therefore I was wondering if it is possible to use { % if % }{% else %}{% endif %} as well as {% for %} statements in these export files?

Can someone clarify this?

Kind regards,

Glenn

---

<div class="post-metadata">

**Author:** ![michail](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michail/32/8_2.png) [@michail](https://community.silverfin.com/u/michail)\
**Post date:** [May 12, 2017, 12:56pm UTC](https://community.silverfin.com/t/an-export-data-file/251/2 "2017-05-12T12:56:28Z")

</div>

Hello Glenn,

Most of the times you get an error because you missed something. Maybe an {% if %} or a {% for%} that was never closed? Or you missed an {% end comment %} (if you have comments too) or something similar… You can investigate your code further and let me know if you found something. If not, you can paste your code here and I can give it a fast look.

Regards,  
Mike

---

<div class="post-metadata">

**Author:** ![GMOONS](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@GMOONS](https://community.silverfin.com/u/GMOONS)\
**Post date:** [May 12, 2017, 1:02pm UTC](https://community.silverfin.com/t/an-export-data-file/251/3 "2017-05-12T13:02:47Z")

</div>

Hi Mike,

Thanks for the advice! I just removed my {% ic %} {% nic %} tags, now it seems to work.

How can I write down comments without using the above tags and without having them in my export file?

Thanks a lot!  
KR

Glenn

---

<div class="post-metadata">

**Author:** ![michail](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michail/32/8_2.png) [@michail](https://community.silverfin.com/u/michail)\
**Post date:** [May 12, 2017, 1:13pm UTC](https://community.silverfin.com/t/an-export-data-file/251/4 "2017-05-12T13:13:45Z")

</div>

Hello Glenn,

If you just need comments for yourself which can be viewed only in your code you can do something like that for example:

```auto
{% comment %} This is just a fori, in order to input the names. {% end comment %}
{% fori name in custom.name %}
{% input name.naam %}
{% endfori %}

```

Does this answer to your question?

Regards,  
Mike

---

<div class="post-metadata">

**Author:** ![GMOONS](https://avatars.discourse-cdn.com/v4/letter/g/ce7236/32.png) [@GMOONS](https://community.silverfin.com/u/GMOONS)\
**Post date:** [May 12, 2017, 1:15pm UTC](https://community.silverfin.com/t/an-export-data-file/251/5 "2017-05-12T13:15:05Z")

</div>

Dear Mike,

Indeed, that solves my question!

Thanks a lot!

Kr

Glenn

---

<div class="post-metadata">

**Author:** ![michail](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michail/32/8_2.png) [@michail](https://community.silverfin.com/u/michail)\
**Post date:** [May 12, 2017, 1:16pm UTC](https://community.silverfin.com/t/an-export-data-file/251/6 "2017-05-12T13:16:36Z")

</div>

Glad that I helped! If you have more questions, don’t hesitate to post them 😃

---

<div class="post-metadata">

**Author:** ![michail](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/michail/32/8_2.png) [@michail](https://community.silverfin.com/u/michail)\
**Post date:** [May 12, 2017, 1:16pm UTC](https://community.silverfin.com/t/an-export-data-file/251/7 "2017-05-12T13:16:45Z")

</div>

Closed on May 12, 2017, 1:16pm UTC


