Answers.Body: <p><code>owner</code> is the element which contains your Matrix field.</p>
  
  <p>For example, if you attach a Matrix field to a Section, the <code>owner</code> would be <strong>the specific Entry in that Section</strong>.</p>
  
  <ul>
  <li><code>{owner.slug}</code> - The slug of your entry.</li>
  <li><code>{owner.author.username}</code> - The username of the person who created the entry.</li>
  </ul>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-17T20:19:04.453Z
Answers.LastActivityDate: 2016-03-17T20:19:04.453Z
Answers.UserDisplayName: Lindsey D
Body: <p>In the Dashboard, while editing the settings of a Matrix Block — the instructions for setting Upload Location for an Assets field says <code>Note that the subfolder path can contain variables like {owner.slug} or {owner.author.username}.</code></p>
  
  <p>To what does <code>owner</code> refer? </p>
  
  <p>Ideally I want to store these assets in Site Assets/pages/{slug of the page this block is on}  — is <code>owner</code> the page name or the username or what?</p>
  
Tags: <templating><assets><matrix><dashboard>
Title: Limiting the Upload Location for assets in a Matrix Block
ThreadText: # Limiting the Upload Location for assets in a Matrix Block
  
  (Asked by: username_0 on 2016-03-17)
  
  In the Dashboard, while editing the settings of a Matrix Block — the instructions for setting Upload Location for an Assets field says `Note that the subfolder path can contain variables like {owner.slug} or {owner.author.username}.`
  
  To what does `owner` refer?
  
  Ideally I want to store these assets in Site Assets/pages/{slug of the page this block is on} — is `owner` the page name or the username or what?
  
  **Tags:** templating, assets, matrix, dashboard
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-03-17. Score: 6 | Accepted answer
  
  `owner` is the element which contains your Matrix field.
  
  For example, if you attach a Matrix field to a Section, the `owner` would be **the specific Entry in that Section**.
  
  * `{owner.slug}` - The slug of your entry.
  * `{owner.author.username}` - The username of the person who created the entry.
  
  
  ---
  
  