Question:
Hi, I’ve created a dynamic Team(All) page connected to a CMS database containing the names, addresses and other information of a list of people. Each person has a Team(Name) page whose dynamic address is “…/team/{Name}”.
I’ve connected this same dataset to a Google map and I’d like to insert the url of each page “…/team/{Name}” into each pin. This way I can see where the person is and read the corresponding information page. I’ve seen that the Google Map module doesn’t offer a connection to dynamic “/team/{Name}” url. So I manually entered the url of each “mysite/team/name_i” page in a new url-type column. Do you know if there are more intelligent solutions?
Product:
Wix editor
What are you trying to achieve:
I’d like to click on a pin and read the “team/{Name}” page
What have you already tried:
I manually entered the url of each “mysite/team/name_i” page in the CMS connected to Google Map
There most definitely is a way to do this programmatically with Velo.
You can create a hook so that when the item is added or updated, it can automatically insert the appropriate URL value into the manual URL column that you created.
If Wix could just program the “link connects to” setting to connect to a native dynamic page via the same dataset settings then you wouldn’t have to code a hybrid solution like this.
Hi there, I am actually having the exact same issue. Perhaps I’m a bit more novice regarding code/Velo. I did read the referenced articles from Codequeen, but am not sure where to put this code and how a separate column within the CMS collection would get auto-populated with the URL