# Change page dynamic by array

**URL:** <https://community.weweb.io/t/change-page-dynamic-by-array/1337>\
**Category:** How do I?\
**Created:** [October 22, 2022, 3:33am UTC](https://community.weweb.io/t/change-page-dynamic-by-array/1337 "2022-10-22T03:33:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![George](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/george/32/1661_2.png) [@George](https://community.weweb.io/u/George)\
**Post date:** [October 22, 2022, 3:33am UTC](https://community.weweb.io/t/change-page-dynamic-by-array/1337/1 "2022-10-22T03:33:41Z")

</div>

Hello community!

I made an array for the main menu. This array contains page names and links to them. How to make a formula for the page change workflow so that when clicking on a list item, the user goes to a unique page address inside Weweb?

---

<div class="post-metadata">

**Author:** ![peteletkemansst](https://avatars.discourse-cdn.com/v4/letter/p/dc4da7/32.png) [@peteletkemansst](https://community.weweb.io/u/peteletkemansst)\
**Post date:** [October 22, 2022, 10:12pm UTC](https://community.weweb.io/t/change-page-dynamic-by-array/1337/2 "2022-10-22T22:12:40Z")

</div>

I think that you should be able to add an OnClick WorkFlow to the list/container and use the Change Page action. With Change Page you can add parameters, and open in the current or new tab.  
When binding to the list you should get ‘item’ which is the currently clicked item.  
Please also change the cursor so that your uses know that they can click on the elements.

---

<div class="post-metadata">

**Author:** ![George](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/george/32/1661_2.png) [@George](https://community.weweb.io/u/George)\
**Post date:** [October 23, 2022, 10:10am UTC](https://community.weweb.io/t/change-page-dynamic-by-array/1337/3 "2022-10-23T10:10:02Z")

</div>

Thank you! I will try
