Create new page from a get

Hello,

I have found information that you can create a new page by adding a button with a form.

I would like to create something like that with an <a href> and pass a variable

We have custom classes and I want to create a simple function linking a doc.id to a classID. For every page of a class we generate an ID.

This ID I want to pass to the template of Class2. Class2 then consists of a selection of document’s in a space as a field and the ClassID witch I want to pass.

I would expect something like <a href="<link to template>?parent=$doc.fullName&ClassID=$myClassID">link</a>

Anyone a suggestion?

With regards
Jurjen

Not sure if it helps but you could check https://www.xwiki.org/xwiki/bin/view/FAQ/How%20can%20I%20create%20a%20new%20page%20based%20on%20a%20form

@vmassol, indeed something like that. But then with a get instead of a post.

I saw my post was not preformattted. I corrected that.