---
title: "Custom Fields - Getting Values"
canonical: "https://support.appfire.com/space/PSCONF/15305578/Custom%20Fields%20-%20Getting%20Values"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> ### Example 1A - By name
> 
> ```
> string color = Color;
> ```
> 
> ### Example 1B - By name with spaces
> 
> ```
> string color = #{Product Color};
> ```
> 
> ### Example 2 - By id
> 
> ```
> string color = customfield_12345;
> ```
> 
> ### Example 3 - By alias
> 
> ```
> string color = productColor;
> ```