---
title: "How to link to a run page with parameters set"
canonical: "https://support.appfire.com/space/SUPPORT/89138571/How%20to%20link%20to%20a%20run%20page%20with%20parameters%20set"
format: markdown
---
### Summary

When the button is pressed on a page using the [Run macro](https://appfire.atlassian.net/wiki/spaces/RUN/pages/73074547), the current setting of the parameters are converted to request parameters on the url. This drives the rendering of the page with the correct replacement parameters. The **url** can be used in a number of ways like providing links on other pages to pre-fill parameters. By careful construction of the url, you can get many different behaviors depending on your use case. 

1. Pre-fill one or more parameters
2. Run the action (like pressing the run button on the screen) with the parameters specified or defaulted
3. Export (like pressing the export button on the screen with the parameters specified or defaulted

### Examples

> Macro (table-plus)
> 
> The easiest thing to do is go to the page, press the button, and then copy the url. The following explains a simple example with single **year** parameter.
> 
> | **Replace** | **Id** | **Request prefix** | **Request parameter** | **Action request** | **Export request** | **Url** |
> | --- | --- | --- | --- | --- | --- | --- |
> | year:2013 | 1 | default | run_1_year=2013 | run_1=run | run_1=export | http://myexample.com/display/examples/test?run_1_year=2012&run_1=run |
> | year:2013 | 1 | blank | year=2013 | run_1=run | run_1=export | http://myexample.com/display/examples/test?year=2012&run_1=export |