Is it possible to link the URL field in the dataset to a Page without using the actual URL?
Hey, Can you explain a little bit more about your scenario and what you are trying to achieve?
I have a URL field in a dataset and the field is suppose to be linked to Wix Pages that I have created. Currently, I have to use the actual URL (http://xxxxxxx) of the page for this to work. I would like to link the page just like how I would do it from a text or button site element.
Hi, unfortunately is it not possible.
There’s no actual meaning for saving a 'URL type in the database for that matter.
When you set a link on a button, behind the scenes it does render the full URL for the page.
Liran.
Maybe I should rephrase the question. I am using the new Repeater now and the button and images are linked to Wix Pages using the dataset URL field. But the URL field only allows actual URL and it will open a new window when the button or images are clicked. The URL field in the dataset should have the feature for linking to the Wix Pages, just like how you would do it on a Text, Image or Button site elements.
I see…
So unfortunately this can’t be done (yet ).
We really want to make the most of the product and use cases…
Please submit a feature request here .
Liran.
Hi
i would like to add a URL to my database - when members log in, they can click on their profile and view their furniture catalog
i created a column “catalog” in database and added in the URL.
i need help with a code - I’m thinking of using this but it doesn’t work.
Button 2 here is “My Profile”
export function button2_onclick() {
wixLocation.to(/Clients/Update/${wixUsers.currentUser.catalog}
);
}
Hi, I have the same problem as horngwey. Since he poster his request in december 2017, now in 2019 is it possible to find a way around that? I don’t mind linking a URL. I only mind that it opens in a new window…
Have you been able to find a way around that after all?
I have the same issue.
2 Years later, could you find a way around this? I’ve been searching everywhere but can’t find a way to link dataset contents directly to pages. It’s no problem creating text and linking them, but I want to create a list where I can just add random names anytime and let it automatically sort alphabetically. Those names should then link to pages on my site once you click/choose them.
Hi, could you find a way around this?
So, it’s now 2019, going on 2020. I have a database with a “Link” field of URL type, and a Title field of Text type. On my page, I have a list of text objects. I want each to be linked to the appropriate URL, so once clicked it goes to the link for the specific item.
I don’t want to go in and edit each item to be linked to the url through that button, but rather have them linked like an image could be to a url.
Is this possible? This is the only forum post I’ve found dealing with something of this sort.
Thank you
Hi!
You should set the field type as URL, and the values should be the page names prefixed with “/”.
/myPage
@adi4co Thank you for your help. This solve the issue of having the links opening in new window.
I am having the same issue, has there been any way to work around this?