This article presents possible use cases and corresponding sample flows that you can support. It provides a useful starting point as you plan your implementation.
A rich content editor can let users add a link to one of the site's pages, such as the home page or an about page. Store the page's path as the link target, so the link keeps working if the site's domain changes.
To let users link to a static page:
pagingMetadata.hasNext is true, call it again with paging.cursor set to pagingMetadata.cursors.next.title of each page. When the user picks one, store its path as the link target.url of the page.published is false, tell users that the links don't work for visitors until the site is published.A site with a collection, such as a list of team members in a Wix Data collection, has a dynamic page that generates one item page for each item. Users can link to a single item page.
To let users link to an item page:
hasItemPages is true. If published is false, item pages aren't available yet, so don't show them.path as prefix and its id as pageId. While pagingMetadata.hasNext is true, call it again with paging.cursor set to pagingMetadata.cursors.next.title of each item page. When the user picks one, store its path as the link target.Last updated: 3 November 2026