# Is it possible to pass dynamic values to registryType?

**URL:** <https://discourse.nodered.org/t/is-it-possible-to-pass-dynamic-values-to-registrytype/1031>\
**Category:** General\
**Created:** [24 June 2018 04:55 UTC](https://discourse.nodered.org/t/is-it-possible-to-pass-dynamic-values-to-registrytype/1031 "2018-06-24T04:55:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgeena\_thomas](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/georgeena_thomas/32/1024_2.png) [@georgeena\_thomas](https://discourse.nodered.org/u/georgeena_thomas)\
**Post date:** [24 June 2018 04:55 UTC](https://discourse.nodered.org/t/is-it-possible-to-pass-dynamic-values-to-registrytype/1031/1 "2018-06-24T04:55:11Z")

</div>

I have a registryType function that creates a mongodb connection but I want the values it is using to register with to be dynamic. Is there a good way to do this?
