We can’t use dynamic preview URLs with search params in the URL, even though in the docs for dynamic preview URLs it shows examples that have search parameters in the preview URL.
In the editor the parameters are used, but once clicked on “View Live Page” under the eye icon they are stripped out completely.
We tried to use the URL hash, but if it’s behind a search param it would also be stripped out (like ?name=${content.name}#${content.id}
). Also on field changes it hangs up the editor when there is only a hash and no search param.
This seems like a bug because in the docs there are examples with exactly this.
Detailed steps to reproduce the bug
- Create a page or section model
- use dynamic URL with search parameters like
?id=${content.id
- publish
- Click on eye icon on top right and then on “View Live Page”