Link to second dynamic page

Hello,

I have an issue with my database references on a dynamic page on salutetovienna.com
I have created database “cast” which is dedicated to current and past cast members, and from it, created both a single item page and a multi-item page. /artists & /artists/[Simplename]/[Type] here is an example of the individual artist page (an orchestra or dance company is considered a single artist): https://www.salutetovienna.com/artists/Strauss-Symphony-of-America/Orchestra

I have also created databased “2019” that details each of our performances in the coming season. 6 cast members are associated with each performance: salutetovienna.com/2019/boston (Scroll down for “Featuring the Strauss Symphony of America” to see the cast database referenced on the single “2019” pages.

***What I am unable to do is link to each of the 6 cast member single pages from the performance page. When I look at the list of options, I see this near the top:


I can link the Orchestra on each performance page to a button on my performance page by selecting Cast (Simplename, Type), but no other cast member.

I have removed all dynamic connections and re-linked them all to troubleshoot.

Any ideas?

Many thanks for your help, Stephanie

Hi S tephaniew ,

From what i understand, you need to get the cast id then query it to get the simple name and title then => add it to the link - wixLocation.to(link).

See this reference about wixLocation .
And this for the query

Hope this helps you,
GoodLuck.

Mustafa