# collectionVariables (Current Value) do not appear in Documentation in URL path

**URL:** <https://community.postman.com/t/collectionvariables-current-value-do-not-appear-in-documentation-in-url-path/31696>\
**Category:** Help Hub\
**Tags:** documentation, variables, collections\
**Created:** [January 19, 2022, 2:26pm UTC](https://community.postman.com/t/collectionvariables-current-value-do-not-appear-in-documentation-in-url-path/31696 "2022-01-19T14:26:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ykril](https://avatars.discourse-cdn.com/v4/letter/y/c6cbf5/32.png) [@ykril](https://community.postman.com/u/ykril)\
**Post date:** [January 19, 2022, 2:26pm UTC](https://community.postman.com/t/collectionvariables-current-value-do-not-appear-in-documentation-in-url-path/31696/1 "2022-01-19T14:26:57Z")

</div>

_My question_: I use Collection Variables in URI. And I want that these variables will appear in the Documentation. All working with Initial Value, but not with Current Value. The main goal for me is to figure out how via scripts set a collectionVariable as Initial Value. Using environment variables isn’t the solution for me ([https://support.postman.com/hc/en-us/articles/4409005403031-How-to-persist-variable-values](https://support.postman.com/hc/en-us/articles/4409005403031-How-to-persist-variable-values)).  
This post particular describe my problem: [javascript - How to 'programmatically' set initial value of a collection variable in Postman? - Stack Overflow](https://stackoverflow.com/questions/67786501/how-to-programmatically-set-initial-value-of-a-collection-variable-in-postman)  
Is it possible to do something using only code in postman pre-scripts/tests?

_Details (like screenshots)_:

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/d/5/d5f63789a67bcacd87d88afd4763c4972ee0aa1c.png)
