# {% include "shared/be\_general\_data" %}

**URL:** https://community.silverfin.com/t/include-shared-be-general-data/2132
**Category:** Templates
**Tags:** currency, currencies
**Created:** [July 28, 2021, 5:33pm UTC](https://community.silverfin.com/t/include-shared-be-general-data/2132 "2021-07-28T17:33:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Henri-Louis](https://avatars.discourse-cdn.com/v4/letter/h/e68b1a/32.png) [@Henri-Louis](https://community.silverfin.com/u/Henri-Louis)
#### Post date: [July 28, 2021, 5:33pm UTC](https://community.silverfin.com/t/include-shared-be-general-data/2132/1 "2021-07-28T17:33:16Z")

</div>

Hi,

I’m trying to create a new template in which the user can select a certain curreny.  
Looking at the template ‘Cash’, the options are huge but when I copy the code, I don’t get any choices.  
I also get an error which is referring to ‘{% include “shared/be\_general\_data” %}’.

How do I access the general data?  
What data does it hold? I suppose I need to access this data in order to select a currency?

Thank you in advance.

---

<div class="post-metadata">

### Author: ![pgallagher](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/pgallagher/32/1576_2.png) [@pgallagher](https://community.silverfin.com/u/pgallagher)
#### Post date: [July 28, 2021, 6:11pm UTC](https://community.silverfin.com/t/include-shared-be-general-data/2132/2 "2021-07-28T18:11:05Z")

</div>

What we do sometimes is create a template that is a Questionnaire. And ask (with a dropdown option) what the currency is. I have included a snippit of our code below:

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

---

<div class="post-metadata">

### Author: ![borjaGonzalez](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.silverfin.com/borjagonzalez/32/825_2.png) [@borjaGonzalez](https://community.silverfin.com/u/borjaGonzalez)
#### Post date: [July 29, 2021, 7:49am UTC](https://community.silverfin.com/t/include-shared-be-general-data/2132/3 "2021-07-29T07:49:05Z")

</div>

> [@Henri-Louis](#):
>
> be\_general\_data

Morning Henri-Louis,

Since be\_general\_data is a shared part from Silverfin, you can’t see the code directly in your environment. You can copy the following code in order to create that dropdown:

```auto
{% assign currency_codes = currency_codes | default:false %}

{% if currency_codes %}
  {% assign currency_codes_array = "AED|AFN|ALL|AMD|ANG|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BGN|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HRK|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLL|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VES|VND|VUV|WST|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWL" | split:"|" | sort %}
{% endif %}

```

I hope that helps,

Best,  
Borja

---

<div class="post-metadata">

### Author: ![Henri-Louis](https://avatars.discourse-cdn.com/v4/letter/h/e68b1a/32.png) [@Henri-Louis](https://community.silverfin.com/u/Henri-Louis)
#### Post date: [August 2, 2021, 6:37pm UTC](https://community.silverfin.com/t/include-shared-be-general-data/2132/4 "2021-08-02T18:37:54Z")

</div>

@pgallagher @borjaGonzalez

Thank you both for the quick reponses!
