# Link to artifacts or reports

**URL:** https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403
**Category:** Discussion
**Created:** [September 9, 2015, 2:33am UTC](https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403 "2015-09-09T02:33:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![michael.jelich](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@michael.jelich](https://www.finalbuilder.com/forums/u/michael.jelich)
#### Post date: [September 9, 2015, 2:33am UTC](https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403/1 "2015-09-09T02:33:00Z")

</div>

Hi support team,  
  
I’d like to send an email after a successful build. This email should contain a link to a specific file which was registered as artifact (a ZIP file containing the new setup).  
  
The only way I found so far is using $Build.Id$: The emails contains a link to [http://MyContinuaCiServer/MyProject/ci/builds/artifacts/$Build.Id$](http://MyContinuaCiServer/MyProject/ci/builds/artifacts/%24Build.Id%24). This will provide a view to ALL artifacts of the current build.  
  
Is there a way to create a link directly to a SPECIFIC artifact?  
  
Best regards  
Michael

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [September 10, 2015, 8:47am UTC](https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403/2 "2015-09-10T08:47:03Z")

</div>

Hi Michael,  
  
There’s currently no way to do this as each artifact is access by a unique id. We will however look into whether we can expose the collection of artifacts to the notification template so you can loop through them. I’ve added this to our to-do list.

---

<div class="post-metadata">

### Author: ![michael.jelich](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@michael.jelich](https://www.finalbuilder.com/forums/u/michael.jelich)
#### Post date: [October 20, 2016, 1:28am UTC](https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403/3 "2016-10-20T01:28:33Z")

</div>

Hi Dave,

has this already been implemented. I didn't found anything regarding this so far...

&nbsp;Best regards

Michael

&nbsp;

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [October 24, 2016, 3:12am UTC](https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403/4 "2016-10-24T03:12:03Z")

</div>

Hi Micheal,  
  
This is still on our todo list. Some initial work that we have been doing to support collections in expressions need to be completed first.&nbsp;

---

<div class="post-metadata">

### Author: ![michael.jelich](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@michael.jelich](https://www.finalbuilder.com/forums/u/michael.jelich)
#### Post date: [July 12, 2018, 6:43am UTC](https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403/5 "2018-07-12T06:43:59Z")

</div>

Hi Dave,   
  
 has this already been implemented. I didn’t found anything regarding this so far…   
  
 Best regards   
  
 Michael

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [July 12, 2018, 7:55am UTC](https://www.finalbuilder.com/forums/t/link-to-artifacts-or-reports/5403/6 "2018-07-12T07:55:04Z")

</div>

Hi Michael,

Yes, artifacts and reports are accessible in completed build notification templates (Build Sucess, Build Failed, Build Fixed, and Build Broken)

E.g.

```
{% for artifact in Artifacts %}{% if artifact.FileName contains 'myArtfact' %}Artifact ' {{artifact.FileName}}'. View: {{artifact.ViewRawUrl}}. Download: {{artifact.DownloadUrl}}{% endif %}{% endfor %}
```

The list of properties available for Artifacts and Reports are shown at the bottom of the template editing page.
