# Keep it DRY with collection and folder elements

**URL:** <https://community.postman.com/t/keep-it-dry-with-collection-and-folder-elements/464>\
**Category:** Help Hub\
**Tags:** variables, collections, scripts\
**Created:** [December 13, 2017, 2:13am UTC](https://community.postman.com/t/keep-it-dry-with-collection-and-folder-elements/464 "2017-12-13T02:13:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jetison](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/jetison/32/12_2.png) [@jetison](https://community.postman.com/u/jetison)\
**Post date:** [December 13, 2017, 2:13am UTC](https://community.postman.com/t/keep-it-dry-with-collection-and-folder-elements/464/1 "2017-12-13T02:13:49Z")

</div>

- You can now add variables, authorization, pre-request and test scripts to a collection. This applies to all requests in the collection.
- You can now add authorization, pre-request and test scripts to a folder. This applies to all requests in the folder.

[http://blog.getpostman.com/2017/12/13/keep-it-dry-with-collection-and-folder-elements/](http://blog.getpostman.com/2017/12/13/keep-it-dry-with-collection-and-folder-elements/)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 11, 2024, 4:07pm UTC](https://community.postman.com/t/keep-it-dry-with-collection-and-folder-elements/464/2 "2024-12-11T16:07:08Z")

</div>

Closed on December 11, 2024, 4:07pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
