# \#methods

**URL:** https://community.silverfin.com/tag/methods/411.md

[Latest](https://community.silverfin.com/latest.md) · [Categories](https://community.silverfin.com/categories.md) · [Tags](https://community.silverfin.com/tags.md)

---

## [CASE: use persisted to hide parts of a loop](https://community.silverfin.com/t/case-use-persisted-to-hide-parts-of-a-loop/1413)

<div class="topic-metadata">

**Author:** [@sven](https://community.silverfin.com/u/sven)\
**Replies:** 0\
**Last updated:** [February 28, 2019, 8:48am UTC](https://community.silverfin.com/t/case-use-persisted-to-hide-parts-of-a-loop/1413 "2019-02-28T08:48:32Z")

</div>

There might be some cases into where your fori-loop creates a whole range of inputs that need to be done, like below: If you are like me, you’ll find the extra loop with all of its fields a little bit too much. I wan…

---

## [CASE: check if an attachment (or attachments) are added](https://community.silverfin.com/t/case-check-if-an-attachment-or-attachments-are-added/1225)

<div class="topic-metadata">

**Author:** [@sven](https://community.silverfin.com/u/sven)\
**Replies:** 0\
**Last updated:** [October 1, 2018, 12:34pm UTC](https://community.silverfin.com/t/case-check-if-an-attachment-or-attachments-are-added/1225 "2018-10-01T12:34:12Z")

</div>

If you want to check whether or not documents (attachments) have been added to a database variable, you can by using the document method: {% if custom.attachements.things.document == blank %} {% ic %} {::infotext …

---

## [CASE: display reconciliation of previous period](https://community.silverfin.com/t/case-display-reconciliation-of-previous-period/1197)

<div class="topic-metadata">

**Author:** [@sven](https://community.silverfin.com/u/sven)\
**Replies:** 0\
**Last updated:** [September 17, 2018, 11:40am UTC](https://community.silverfin.com/t/case-display-reconciliation-of-previous-period/1197 "2018-09-17T11:40:12Z")

</div>

Let’s take this case: and say we want an option to display the same reconciliation from the previous year as well. If you create your details into a custom collection, you can call upon these details by this code: …

---

## [CASE: display values of accounts in ones, thousands or millions](https://community.silverfin.com/t/case-display-values-of-accounts-in-ones-thousands-or-millions/1090)

<div class="topic-metadata">

**Author:** [@sven](https://community.silverfin.com/u/sven)\
**Replies:** 0\
**Last updated:** [August 7, 2018, 9:38am UTC](https://community.silverfin.com/t/case-display-values-of-accounts-in-ones-thousands-or-millions/1090 "2018-08-07T09:38:02Z")

</div>

If we create an account-drop ( a collection that gathers all my selected accounts in it ), like this f.i. : {% assign accounts = #61 %} we now have an option to display any value, rounded as ones, thousands or million…

---

## [CASE: create account collection with only starred accounts possible](https://community.silverfin.com/t/case-create-account-collection-with-only-starred-accounts-possible/1234)

<div class="topic-metadata">

**Author:** [@sven](https://community.silverfin.com/u/sven)\
**Replies:** 1\
**Last updated:** [October 8, 2018, 8:53pm UTC](https://community.silverfin.com/t/case-create-account-collection-with-only-starred-accounts-possible/1234 "2018-10-08T20:53:13Z")

</div>

Let’s examine the code of a reconciliation template, which let you select a range of accounts that have certain details in it: {% input custom.accounts.numbers\_42 as:account\_collection range:"4,17" accounts\_var:accounts…

---

## [Export: some lines do not get exported](https://community.silverfin.com/t/export-some-lines-do-not-get-exported/1065)

<div class="topic-metadata">

**Author:** [@fbeirens](https://community.silverfin.com/u/fbeirens)\
**Replies:** 4\
**Last updated:** [September 10, 2018, 2:35pm UTC](https://community.silverfin.com/t/export-some-lines-do-not-get-exported/1065 "2018-09-10T14:35:31Z")

</div>

I adapted the template ‘beroepskosten’ somewhat and in the export, a number of detail lines do not get exported. this is the code that I added. It looks fine on screen, but disappears when exported: {% for account in s…
