Is it possible to connect a specific dynamic link inside another dynamic page?
For example I have dynamic pages that has different clothes. A hat, a dress, pants and a sweater. They are all displayed on their own dynamic page and on each page there is a button that needs to be linked to a specific item that is also displayed dynamically. For example the dynamic page shows the red hat and a button that links specifically to the dress.
I have tried to add the dynamic link in the database but that doesn’t work. It should also open in the same window.
If I’m correctly understanding you, this should work. When you say it doesn’t work, can you describe what’s going wrong?
Meanwhile, let me describe how it should work.
To make it work, you need to use a Reference field or a Multi-Reference field. That enables you to connect a record in one collection to one or more records in another collection. It sounds like you may be connecting records within a single collection, but that should work exactly the same way.
Here are two examples:
This artwork page is a dynamic page. The artist’s name is a link to the artist profile. That link is based on a Reference field that connects a single artwork record to a single artist record.
The author profile is a dynamic page. At the bottom of the page, you’ll see a list of pieces written by this person. Each piece is connected via a multi-reference field that connects each author record to one or more story records. In this case, we’ve used a repeater to allow us to show information and buttons for each related record.