<p>Currently, the "file kinds" list is <a href="https://github.com/pixelandtonic/Craft-Release/blob/master/app/helpers/IOHelper.php#L1907-L1932" rel="nofollow noreferrer">hard-coded</a> and doesn't expose itself to a config setting or plugins.</p>

<p>You can definitely make a <a href="https://github.com/craftcms/cms/issues" rel="nofollow noreferrer">feature request</a> to open it up, though!</p>

CC BY-SA 3.0
2017-03-19T18:36:10.487Z
Thanks, I have updated my question. Perhaps this is more a feature request?
Alexander Holsgrove
CC BY-SA 3.0
2017-03-19T18:45:02.800Z
Updated my answer.
Brad Bell
CC BY-SA 3.0
2017-03-30T15:23:47.367Z
Sorry for the delay. I've raised a request here: https://github.com/craftcms/cms/issues/1584
Alexander Holsgrove
CC BY-SA 3.0
2017-02-17T17:13:18.493Z
2017-03-19T18:44:55.303Z
2017-03-19T18:44:55.303Z
Brad Bell
<p>I have updated my <code>craft/config/general.php</code> file to allow some new file types to be uploaded to my site.</p>

<pre><code>'extraAllowedFileExtensions' =&gt; 'bim, dwg, rvt'
</code></pre>

<p>When I output these file assets in the template, I would like to be able to use the {{ asset.kind }} property to output "PDF" or whatever name for my additional types.</p>

<p>Currently I see <code>unknown</code> for each of my new types.</p>

<p>I've had a look in the <a href="https://craftcms.com/classreference/helpers/IOHelper#getFileKinds-detail" rel="nofollow noreferrer">documentation</a> for the IOHelper Class but could not see a way to add additional definitions.</p>

<assets>
Create new Asset Kinds
# Create new Asset Kinds

(Asked by: username_0 on 2017-02-17)

I have updated my craft/config/general.php file to allow some new file types to be uploaded to my site.
'extraAllowedFileExtensions' => 'bim, dwg, rvt'

When I output these file assets in the template, I would like to be able to use the {{ asset.kind }} property to output "PDF" or whatever name for my additional types.
Currently I see unknown for each of my new types.
I've had a look in the documentation for the IOHelper Class but could not see a way to add additional definitions.

**Tags:** assets


---

## 1 answers

### Answer by username_1 on 2017-02-17. Score: 2

Currently, the "file kinds" list is [hard-coded](https://github.com/pixelandtonic/Craft-Release/blob/master/app/helpers/IOHelper.php#L1907-L1932) and doesn't expose itself to a config setting or plugins.

You can definitely make a [feature request](https://github.com/craftcms/cms/issues) to open it up, though!

> **Comments:**
> **username_0**: Thanks, I have updated my question. Perhaps this is more a feature request?  
> **username_1**: Updated my answer.  
> **username_0**: Sorry for the delay. I've raised a request here: https://github.com/craftcms/cms/issues/1584  

---

