You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Target Parameters allow you to make an Target behave as a function of specific values when you call it.

The scope of an Target parameter is confined to the actions within the Target. Target Parameters can be modified from script in the same manner as FinalBuilder variables.

Target Parameters can be accessed anywhere that FinalBuilder variables can be used. Target Parameters take precedence over variables in higher namespaces of the same name. The syntax to access an Target Parameter outside of script is the same as for a variable, ie %ParameterName%.

Target Parameters are available on any Target except Default.

To view or modify Target Parameters you can either:

  1. Right-click on the Target tab and select "Target Configuration...", or
  2. Select the "Target Parameters..." menu item from the Project menu.

In the above example, the variables %SOURCEPATH% and %BUILDNUM% are available to any actions in the Target with these parameters.

To run an Target, use a "Run Target" action (available in the "Flow Control" action types category). The Run Target action's property page allows you to specify the value of each Target parameter:

  • No labels