# Add custom comment to POSTMAN menus?

**URL:** <https://community.postman.com/t/add-custom-comment-to-postman-menus/40342>\
**Category:** Help Hub\
**Created:** [October 22, 2022, 8:51am UTC](https://community.postman.com/t/add-custom-comment-to-postman-menus/40342 "2022-10-22T08:51:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![w4dd325](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/w4dd325/32/12436_2.png) [@w4dd325](https://community.postman.com/u/w4dd325)\
**Post date:** [October 24, 2022, 11:13am UTC](https://community.postman.com/t/add-custom-comment-to-postman-menus/40342/2 "2022-10-24T11:13:41Z")

</div>

Hi @papadeltasierra

Not 100% sure I follow what you are asking for, but this may be of interest to you;

> [@How to reuse function in 2022?](https://community.postman.com/t/how-to-reuse-function-in-2022/39077/2):
>
> @idpbee you could do the following: In the Collection level pre-request script, declare an object without using the var, let or const keywords. The object is then attached to the global sandbox and is available in child context of that collection. In the collection pre-request script: utils = { getEnv(v) { return pm.environment.get(v); } } Now within any of the children of that collection, you could simply do the following: utils.getEnv('name');

It allows you to add custom code at the collection level which can be called inside your pre-req and test scripts.

---

_[View the full topic](https://community.postman.com/t/add-custom-comment-to-postman-menus/40342)._
