Answers.Body: <p>Have you tried using <code>{owner.owner.slug}</code>? If you've got Matrix > Super Table > Asset, and you're trying to get an attribute on the Entry/Element, you'll need to go two level out from the Super Table field.</p>
  
  <pre><code>Entry
    Matrix
      Super Table
        Asset Field
  </code></pre>
  
  <p>The owner of the Super Table field is the Matrix field. The owner of the Matrix field is the Entry.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-15T17:42:29.580Z
Answers.Text: Thank you! It also works if you have a Matrix field within a Super Table field. This should be on the Craft CMS Documentation page, currently they only show: {owner.id} and they dont explain it as well as you just did. Thanks!
Answers.UserDisplayName: mateostabio
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-17T05:20:05.643Z
Answers.LastActivityDate: 2017-08-17T05:20:05.643Z
Answers.UserDisplayName: crawf
Body: <p>I'm trying to set dynamic upload locations for my asset fields that are in a Super Table field within a Matrix field. So it's Matrix > Super Table > Asset field. I'm getting the following error when I save an entry, though. <code>Could not resolve the subpath “{owner.section.handle}/{owner.slug}”.</code>
  Omitting the <code>owner</code> part doesn't work either. </p>
  
  <p>Any ideas? Thanks!</p>
  
Tags: <assets><matrix><plugin-supertable>
Title: Dynamic upload location for Super Table within a Matrix field?
ThreadText: # Dynamic upload location for Super Table within a Matrix field?
  
  (Asked by: username_0 on 2017-08-15)
  
  I'm trying to set dynamic upload locations for my asset fields that are in a Super Table field within a Matrix field. So it's Matrix > Super Table > Asset field. I'm getting the following error when I save an entry, though. `Could not resolve the subpath “{owner.section.handle}/{owner.slug}”.`
  Omitting the `owner` part doesn't work either.
  
  Any ideas? Thanks!
  
  **Tags:** assets, matrix, plugin-supertable
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-08-17. Score: 5
  
  Have you tried using `{owner.owner.slug}`? If you've got Matrix > Super Table > Asset, and you're trying to get an attribute on the Entry/Element, you'll need to go two level out from the Super Table field.
  
  ```
  Entry
    Matrix
      Super Table
        Asset Field
  
  ```
  
  The owner of the Super Table field is the Matrix field. The owner of the Matrix field is the Entry.
  
  > **Comments:**
  > **username_2**: Thank you! It also works if you have a Matrix field within a Super Table field. This should be on the Craft CMS Documentation page, currently they only show: {owner.id} and they dont explain it as well as you just did. Thanks!  
  
  ---
  
  