# Use buttonLink droplet with file

**URL:** <https://community.bluespice.com/t/use-buttonlink-droplet-with-file/194>\
**Category:** Discussion/Misc\
**Created:** [September 6, 2024, 11:45am UTC](https://community.bluespice.com/t/use-buttonlink-droplet-with-file/194 "2024-09-06T11:45:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fschaeffer](https://dub1.discourse-cdn.com/flex017/user_avatar/community.bluespice.com/fschaeffer/32/122_2.png) [@Fschaeffer](https://community.bluespice.com/u/Fschaeffer)\
**Post date:** [September 6, 2024, 11:45am UTC](https://community.bluespice.com/t/use-buttonlink-droplet-with-file/194/1 "2024-09-06T11:45:12Z")

</div>

Hello,

I would like to use the content droplet “ButtonLink” and it is working as expected when using an internal page name as target and also when using a fully qualified external link to a file.

But if the target is a file-namespace the rendered icon contain either the source code or the button is not displayed but replaced by the default file-icon.

Sources I tried:

{{ButtonLink|external=no|target=[[Datei:HR:arbeitszeitrichtlinien.pdf]]|label=Arbeitszeitrichtlinie 2005|format=red}}

{{ButtonLink|external=no|target=[:Datei:HR:arbeitszeitrichtlinien.pdf]|label=Arbeitszeitrichtlinie 2005|format=red}}

Is it possible to use a file link in the button-link-droplet? What would be the syntax? And bonus question: I would like to directly open the file without the File-Page, is that possible at all?

Kind regards  
Florian

---

<div class="post-metadata">

**Author:** ![rvogel](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@rvogel](https://community.bluespice.com/u/rvogel)\
**Post date:** [September 6, 2024, 1:55pm UTC](https://community.bluespice.com/t/use-buttonlink-droplet-with-file/194/2 "2024-09-06T13:55:26Z")

</div>

Hello and welcome to the BlueSpice Community forums!

Have you tried

```auto
{{ButtonLink|external=no|target=[[:Datei:HR:arbeitszeitrichtlinien.pdf]]|label=Arbeitszeitrichtlinie 2005|format=red}}

```

Double brackets?

---

<div class="post-metadata">

**Author:** ![Fschaeffer](https://dub1.discourse-cdn.com/flex017/user_avatar/community.bluespice.com/fschaeffer/32/122_2.png) [@Fschaeffer](https://community.bluespice.com/u/Fschaeffer)\
**Post date:** [September 9, 2024, 4:33am UTC](https://community.bluespice.com/t/use-buttonlink-droplet-with-file/194/3 "2024-09-09T04:33:34Z")

</div>

I aso tried doube brackets but to no avail.

BUT: answering my second question, when using Media: instead of File: I can directly access the download without having to to use the File-page. A small tweak lead me to the final solution, there should be no brackets at all:

`{{ButtonLink|external=no|target=:Media:HR:arbeitszeitrichtlinien.pdf|label=Arbeitszeitrichtlinie 2005|format=red}}`

This one works and looks as expected.
