Using Field and Filter Values in Action Names
In addition to using field, parameter, and filter values in URLs, you can use this information as variables in the action names. The name of the action displays on the context menu when an action is launched using the menu. Using field and filter variables in the name is useful in making the action specific to the selected mark. In a view showing real estate information, you could name a URL action that points at satellite images from an online mapping service, “Show satellite image of <Address>”. When you right-click (control-click on Mac) a specific mark, the <Address> tag is replaced with the location value associated with that mark.
In the Add Action dialog box, begin typing the name for the action.
Place the cursor where you want to insert the field or filter value.
Click the arrow to the right of the text box and select the field or filter you want to add as a variable. The field or filter name is added between angle brackets.
Here's a finished example for an action run from a tooltip menu: