# Dheeraj Sudan and Meenu Hinduja-How do I set a default value with query parameters in production?

**URL:** <https://community.weweb.io/t/dheeraj-sudan-and-meenu-hinduja-how-do-i-set-a-default-value-with-query-parameters-in-production/20788>\
**Category:** Ask us anything\
**Created:** [February 14, 2026, 10:07am UTC](https://community.weweb.io/t/dheeraj-sudan-and-meenu-hinduja-how-do-i-set-a-default-value-with-query-parameters-in-production/20788 "2026-02-14T10:07:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhindujadheerajsudan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/mhindujadheerajsudan/32/15899_2.png) [@mhindujadheerajsudan](https://community.weweb.io/u/mhindujadheerajsudan)\
**Post date:** [February 14, 2026, 10:07am UTC](https://community.weweb.io/t/dheeraj-sudan-and-meenu-hinduja-how-do-i-set-a-default-value-with-query-parameters-in-production/20788/1 "2026-02-14T10:07:22Z")

</div>

Hi Everyone, I’m Meenu Hinduja and my husband Dheeraj Sudan, _run a business_. I’m trying to set a default value using query parameters in production, but I’m running into some issues. In preview mode, everything works as expected, but once I publish, the default value doesn’t seem to apply correctly. Has anyone successfully implemented this?

Regards

Dheeraj Sudan and Meenu Hinduja

---

<div class="post-metadata">

**Author:** ![jptrinh](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/jptrinh/32/1493_2.png) [@jptrinh](https://community.weweb.io/u/jptrinh)\
**Post date:** [February 16, 2026, 4:43am UTC](https://community.weweb.io/t/dheeraj-sudan-and-meenu-hinduja-how-do-i-set-a-default-value-with-query-parameters-in-production/20788/2 "2026-02-16T04:43:07Z")

</div>

Hey @mhindujadheerajsudan 👋

In the editor, the default value is used to make development easier when navigating between pages.

In prod, what can work do is to have a workflow (on page load (before collection load) if you are using the query param to fetch a collection). In that workflow, you can have an action “change variable value) targeting the query parameter. Your query parameter needs to be created as a variable before that, in the data panel.

That should do the trick, if not, let us know! 🙂

---

<div class="post-metadata">

**Author:** ![mhindujadheerajsudan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/mhindujadheerajsudan/32/15899_2.png) [@mhindujadheerajsudan](https://community.weweb.io/u/mhindujadheerajsudan)\
**Post date:** [February 16, 2026, 5:13am UTC](https://community.weweb.io/t/dheeraj-sudan-and-meenu-hinduja-how-do-i-set-a-default-value-with-query-parameters-in-production/20788/3 "2026-02-16T05:13:32Z")

</div>

Thank you for the guidance! I’ll create the query parameter as a variable in the data panel and set up the page load workflow to change its value before the collection loads. Appreciate the help!
