# How do I create dynamic pages using the Xano plugin?

**URL:** <https://community.weweb.io/t/how-do-i-create-dynamic-pages-using-the-xano-plugin/4120>\
**Category:** Ask us anything\
**Tags:** design, xano\
**Created:** [August 31, 2023, 12:40pm UTC](https://community.weweb.io/t/how-do-i-create-dynamic-pages-using-the-xano-plugin/4120 "2023-08-31T12:40:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lebom326](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@lebom326](https://community.weweb.io/u/lebom326)\
**Post date:** [August 31, 2023, 12:40pm UTC](https://community.weweb.io/t/how-do-i-create-dynamic-pages-using-the-xano-plugin/4120/1 "2023-08-31T12:40:30Z")

</div>

Any assistance on how to use the Xano plugin to create dynamic pages will be appreciated. I have a customers page with a table collection and I need a function were when I click on an individual customer, I get redirected to a “Customer details” page to view that single customer’s information.

I tried the following tutorials but failed (The page stays static):

[![](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/5/5ee6b5eba25f8d0929ac9ec290f07314cbc06915.jpeg "Dynamic collection pages") ](https://www.youtube.com/watch?v=mLM8EY0Ub5w)

Please assist, I am new to WeWeb!!!

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [September 1, 2023, 9:01am UTC](https://community.weweb.io/t/how-do-i-create-dynamic-pages-using-the-xano-plugin/4120/2 "2023-09-01T09:01:40Z")

</div>

Hi @lebom326 👋

To create a dynamic collection page, you will need:

- one page with your list of items (in your case a list of customers)
- one template page for an item detail

To link the two pages together, you have two options:

1. described [here in the video](https://youtu.be/mLM8EY0Ub5w?si=t2ieV3NOMKnmHktt&t=47), when the user clicks on an item, you trigger a workflow to update a variable of type object and change page to the template page

2. described [here in the video](https://youtu.be/mLM8EY0Ub5w?si=Wh3wEvZaRv7eGG3a&t=680), when the user clicks on an item, you trigger a workflow that fetches the Xano collection that returns a single item based on its id and change page to the template page

Option 2 requires that you have an endpoint in Xano that can return the single item and that you created a collection in WeWeb that gets the data from that endpoint. In the video, the `Tickets` collection is used on the page with all the tickets and the `Ticket` collection is used on the template page with the information from a single ticket

Does that help?

If not, can you share a short video or screenshots of what you tried already, what’s working and where you’re stuck?

---

<div class="post-metadata">

**Author:** ![lebom326](https://avatars.discourse-cdn.com/v4/letter/l/2bfe46/32.png) [@lebom326](https://community.weweb.io/u/lebom326)\
**Post date:** [September 12, 2023, 5:13pm UTC](https://community.weweb.io/t/how-do-i-create-dynamic-pages-using-the-xano-plugin/4120/3 "2023-09-12T17:13:20Z")

</div>

Thanks Joyce, option 1 worked for me; much appreciated.
