# Passing variables to the report location

**URL:** https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993
**Category:** Discussion
**Created:** [June 18, 2013, 8:02am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993 "2013-06-18T08:02:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![ranch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ranch](https://www.finalbuilder.com/forums/u/ranch)
#### Post date: [June 18, 2013, 8:02am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993/1 "2013-06-18T08:02:11Z")

</div>

Hi,

How can I pass variables to the report location in the configuration wizard? For example, one of the variables that are entered by the user are project name, how can this variable be a part of the repot location? Something like this: c:\Logs\ **%ProjectName%** \log.html

Cheers.

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [June 19, 2013, 2:41am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993/2 "2013-06-19T02:41:00Z")

</div>

Hi,   
  
 I have added further query support for reports so you can now specify properties from the project, configuration and build. These changes will be included in our next build which should be released this afternoon. I will let you know when that build is live.

---

<div class="post-metadata">

### Author: ![ranch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ranch](https://www.finalbuilder.com/forums/u/ranch)
#### Post date: [June 19, 2013, 11:36am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993/3 "2013-06-19T11:36:55Z")

</div>

Thanks for the update.  
Maybe I’m missing something here, but I still can’t pass parameter to the report location path in the configuration wizard. In the attached example %ProjectName% is a parameter that is being inserted by the user from the UI before starting the build. In the report tab I get this message: "The report ‘Log Build’ could not be found at the following location: ‘c:\FB **\** build.log.html’."  
Cheers.

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [June 20, 2013, 2:33am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993/4 "2013-06-20T02:33:31Z")

</div>

Hi,

You are correct that the variable name was not being set correctly on the reports page. It was actually always using the default value when evaluating the variable. I have released a hotfix that remedies this. Now it will use the variable value that was set at either the beginning of the build or during the build process.

This hotfix release is version 1.0.0.2213 and it is only available from the links below:

64-bit:

[http://downloads.finalbuilder.com/d…0.2213.exe](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_x64_1.0.0.2213.exe)

32-bit:

[http://downloads.finalbuilder.com/d…0.2213.exe](http://downloads.finalbuilder.com/downloads/continua/1.0/ContinuaCI.Server.Setup_1.0.0.2213.exe)

Note that if you are trying to access the Continua project name, you can use the following expression: $Project.Name$

---

<div class="post-metadata">

### Author: ![ranch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ranch](https://www.finalbuilder.com/forums/u/ranch)
#### Post date: [June 20, 2013, 1:05am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993/5 "2013-06-20T01:05:55Z")

</div>

Thank you, works great.

---

<div class="post-metadata">

### Author: ![ranch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ranch](https://www.finalbuilder.com/forums/u/ranch)
#### Post date: [June 27, 2013, 10:21am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993/6 "2013-06-27T10:21:32Z")

</div>

Hi,

Is it possible to pass these variables also to the notification template?

Cheers.

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [June 28, 2013, 3:34am UTC](https://www.finalbuilder.com/forums/t/passing-variables-to-the-report-location/4993/7 "2013-06-28T03:34:13Z")

</div>

Not at the moment but I will look into implementing this. If it is trivial to implement then I will put it in otherwise it may have to be added to our development pipeline
