Answers.Body: <p>Craft has the ability to dynamically add subfolder paths to Assets when you are creating the Asset field in the control panel. </p>
  
  <p>Tags like {slug} and {author.username} are some of the available options for creating the directories.</p>
  
  <p>I know it has been brought up before and they have acknowledged the possibility. So who knows, maybe we will see it in 2.2? </p>
  
  <p>For now, if organization is a concern I recommend using subfolders to keep it clean.</p>
  
  <p><img src="https://i.sstatic.net/4DyEe.png" alt="asset field options"></p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-15T08:49:15.107Z
Answers.Text: Yes, I've set dynamic folder locations which is really useful. It's probably just the OCD side in me, but my files (images) will come from a wide range of sources, from different users etc, so I'd rather the files have consistent naming.
Answers.UserDisplayName: shorn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-15T09:03:02.333Z
Answers.Text: Agreed, I am the same way and was one who asked this very question. I don't know what the have planned for 2.2 but I have a "feeling" a lot of great things for assets will be coming out with it ;)
Answers.UserDisplayName: Jason McCallister
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-15T09:05:06.243Z
Answers.Text: Here's hoping! I'd love to (for example) rename the files with the kind of flexibility there is in setting upload location. Fingers crossed. :)
Answers.UserDisplayName: shorn
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-15T09:06:35.100Z
Answers.Text: These guys always have a few tricks up their sleeves... I'm sure it will be another great release - on both developer and feature fronts.
Answers.UserDisplayName: Jason McCallister
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-07-15T08:40:45.883Z
Answers.LastActivityDate: 2014-07-15T08:40:45.883Z
Answers.UserDisplayName: Jason McCallister
Body: <p>Is there any way to rename files upon there upload to an assets field? </p>
  
  <p>I know I can hit the options of the file and rename manually, but was wondering if there was a way to do this automatically? i.e. renamed based on the entry ID.</p>
  
Tags: <assets>
Title: Rename asset file upon upload?
ThreadText: # Rename asset file upon upload?
  
  (Asked by: username_0 on 2014-07-15)
  
  Is there any way to rename files upon there upload to an assets field?
  
  I know I can hit the options of the file and rename manually, but was wondering if there was a way to do this automatically? i.e. renamed based on the entry ID.
  
  **Tags:** assets
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2014-07-15. Score: 1
  
  Craft has the ability to dynamically add subfolder paths to Assets when you are creating the Asset field in the control panel.
  
  Tags like {slug} and {author.username} are some of the available options for creating the directories.
  
  I know it has been brought up before and they have acknowledged the possibility. So who knows, maybe we will see it in 2.2?
  
  For now, if organization is a concern I recommend using subfolders to keep it clean.
  
  ![asset field options](https://i.sstatic.net/4DyEe.png)
  
  > **Comments:**
  > **username_0**: Yes, I've set dynamic folder locations which is really useful. It's probably just the OCD side in me, but my files (images) will come from a wide range of sources, from different users etc, so I'd rather the files have consistent naming.  
  > **username_1**: Agreed, I am the same way and was one who asked this very question. I don't know what the have planned for 2.2 but I have a "feeling" a lot of great things for assets will be coming out with it ;)  
  > **username_0**: Here's hoping! I'd love to (for example) rename the files with the kind of flexibility there is in setting upload location. Fingers crossed. :)  
  > **username_1**: These guys always have a few tricks up their sleeves... I'm sure it will be another great release - on both developer and feature fronts.  
  
  ---
  
  