How to create links to specific static pages without using a list collection?

Hello, I am having some difficulty creating links to pages that are static collection pages.

I explain to you :
I created a static collection page which is therefore based on a static collection. And this static collection (collectStaticA) contains an array of slugs (slug-1, slug-2, etc…)
So I now have access to several pages: /slug-1, /slug-2, etc…

I would like to make links to these pages (/slug-1, /slug-2, etc…) without using a list on this collection (collectStaticA) and without using external links (which would cause me to lose my app state).

Do you have any solutions ? Thank you so much :slight_smile:

Go to settings of your element → Link → Page and you should be able to set it up there.

When I try your solution, I don’t have the option to choose a specific page (slug) from the static collection page.
I can just choose which static page collection, but not the particular slug.

Hmm then you might want to use the URL instead. And paste in the URL directly, at least as a hot fix. @Joyce might be able to unveil how to do this.

Yes that’s what I did, but if I use an url, I lose the state of the application ( according to this post link-type- url-appear-to-clear- variables ), and I need it to do an animation according to certain criteria, and it would be really ugly to keep everything in local storage.

I’m using the page-id inside a global workflow for the form builder that requires dynamic switching of pages based on a user’s drag and drop actions.

Give the page-id a shot in a workflow.

That’s a good idea :smiley:

Can you explain to me, where do you find the page id ?
And where do you put this page id in the workflow? In what type of action in the workflow?

Thanks

Sure thing! Let me put a loom together for you.