The {create-page} macro asks the user for the name of the page and then creates it based on a template...
The macro creates a link which, when clicked, asks the user for the title of the new page:
The new page is then created, based on the template specified, completely bypassing the usual "Add page" screen.
This is especially useful when working with Scaffold Templates because the user is taken directly to the editable view of the page - they can immediately fill in the fields provided by the template.
Parameters:
The parameters for create-link are as shown below
{create-page:parent=pagename|boilerplate=myboilerplate|template=mytemplate|prefix=before|postfix=after|addspace=false|space=myspacekey|prompt=Please enter the new page name}link text{create-page}
Parameter
Required
Default
Notes
parent
@self
By default, the created page will use the current page as it's parent. However, you can specify a parent page as follows:
@self - the default setting which will create pages as children of the page containing the macro
@parent - will create new pages that are siblings to the page which contins the macro (ie: will have the same parent as the current page)
page title - the new pages will be attached to the page whose title matches the one supplied
space
current space
By default, the new page will be created in the current space unless you specify an alternative space with this parameter.
boilerplate
The name to be used in the boilerplate macro injected into the new page.
template
The name of the template whose contents will be copied to the new page.
prefix
A prefix to be applied to the page title given by the user.
postfix
The suffix to be applied to the name given by the user.
addspace
true
By default, spaces are inserted between the user specified page title and any pre-defined prefix or postfix unless you set this parameter to false.
prompt
'Please enter the new page name'
This parameter allows you to customise the prompt shown to the user when adding the new page.
Examples:
Basic Use
To create a blank page attached to the current page, but named by the use at runtime:
{create-page}Click here to create a page{create-page}
Which looks something like this if the user has the required privileges to create a page:
And if the user does not have sufficient privileges to create the page, they will see this:
Setting the parent page
You do not nessecarily need to use the current page as the parent page to the link, you can also use the @parent macro parameter which will use the current page's parent to contain the newly generated pages:
The {create-page} macro becomes very powerful when used in conjunction with confluence templates or scaffolding boilerplates, since it allows you to create a simple link that can be clicked to create a page within a specific location, using a specific template or boilerplate.
In fact the original purpose behind create-page was to enable creation of pages that contain boilerplates which point to templates that contain scaffolds.
When the boilerplate parameter is used, the page that is generated will contain a {boilerplate:whatever} macro which will dynamically include the given template page. Meaning that if you update the template then the pages that use the template are also updated. This is at it's most useful when the template being included contains a scaffold that contains the data to be displayed to the browsing user.
Alternativley you may wish to simply copy the contents of a template to the newly created page and then edit the contents in the normal way. This can be achieved using the template parameter.
It is possible that you may wish to formalise the names that are generated by the {create-page} macro, this may be achieved by using the prefix and postfix parameters to surround the name given by the user with something that helps to categorise the page.
Which will add ' (Project Brief)' to the end of the name given by the user.
Future versions of this plugin may add features that will allow you to use tokens in the prefix and suffix which will allow you to insert the current date/time into the page name, or the name of the user that created the page. Donations welcome.
There may be times when you wish the prefix/postfix to be attached directly to the name given by the user, such that there is no space between it and the pre/post-fix.
By setting the addspace parameter to 'false' the spaces are removed:
Will result in pages named like 'my page.user' and 'test.user'
Setting the text of the request for the page name
The name that the user gives in response to the prompt can be heavily influenced by the phrasing of the question that requests it. A user will most likely feel more comfortable when entering the name of a new project when confronted with a prompt that states 'Please enter the name of the new project' rather than the default 'Please enter the new page name'.
You can set the prompt text using the 'prompt' parameter:
{create-page:prompt=Incorpore por favor el nuevo nombre de la página}Chasque Aquí{create-page}
Frequently Asked Questions:
Q
How do I hide the link when the user can't add a page?
A
Use either the show-to macro or the hide-from macro depending on your preference. These macros allow you to show or hide content based on the privileges the user has.
Ah, to be honest we didn't fully test it with normal templates as we developed i...
Ah, to be honest we didn't fully test it with normal templates as we developed it in a rush for a project that was using [Scaffold templates]. We'll take a look at it in the next few days to find out why it isn't working. Apologies for any inconvenience caused.
Well, we have version 1.1 (dated 7/16/06) installed, but {create-page} is still ...
Well, we have version 1.1 (dated 7/16/06) installed, but {create-page} is still copying the template code into a new page instead of creating a new page based on the template and allowing you to execute the template code (specify variables, etc.).
I tried this both in a Builder space and in a Default space, just to see if there was a Builder problem. Same result.
This is still the case, the template code gets copied directly into the page.
O...
This is still the case, the template code gets copied directly into the page.
On a side note: is Adaptavist still actively updating, improving, and fixing macros? I haven't seen much activity (I'll be honest I am not sure of the best way to go about looking for activity) but several projects I see havent had updates since 2006. How can we help prioritize ?
You can sometimes get around issues like this by using User Macros. It's more aw...
You can sometimes get around issues like this by using User Macros. It's more awkward, but it works. I believe this is a bug in core Confluence (but I could be wrong).
We tried that in the initial version but ran in to some problems. There are quit...
We tried that in the initial version but ran in to some problems. There are quite a few limitations with the JS dialog box that pops up which are currently preventing us from making it more flexible
Having the same problem as above (the template itself gets copied into the new p...
Having the same problem as above (the template itself gets copied into the new page, rather than the user being taken to the template form, filling out the template fields, and then creating the actual page). This is with version 1.2 of the plug-in.
I have a suggestion. Modified the prefix an postfix to be able to use the curren...
I have a suggestion. Modified the prefix an postfix to be able to use the current page name
page-info: Unrecognised display type3 [tinyurl]
. I have proejcts with sub projects and being able to autmatically have the project page name (current page) be the prefix of the sub-project page name (chid page) would be very valuable and help to maintain our naming conventions.
Thnak you,
Ken J
Hello,
Is there a way, it's not obvious to me at least, to have the page create...
Hello,
Is there a way, it's not obvious to me at least, to have the page created in the user's space?
For example, there is a Space called Distribution. User A goes to that space, clicks the link for a page, and then that page is added in his own space. User B clicks link for a page, and it's added to her own space.
After using Create Page macro link and creating a page,can it be possible to dis...
After using Create Page macro link and creating a page,can it be possible to disable the link once if it has been clicked.
My reqquirement is that i am having a table and in the one column i an using create page macro for each and evrey row so after clicking on the create page link of a row and creating a page i want that create page link of that particular row to be disabled.
On the "Configure" tab in the repo, select "All Versions" (it's possible this pl...
On the "Configure" tab in the repo, select "All Versions" (it's possible this plugin is still marked as pre-release state for your version of Confluence).
Yep, that was it:
Latest Version: 1.2 - Beta
License: Open Source (BSD)
A macr...
Yep, that was it:
Latest Version: 1.2 - Beta
License: Open Source (BSD)
A macro which allows you to create a predefined link to create a page which is named by the user at runtime, which is pre/postfixed with predefined parameters also optionally generated based on a macro, or containing a boilerplate.
Page titles cannot contain : @ / \ | ^ # ; [ ] { } or start with .. $ or ~.
If ...
Page titles cannot contain : @ / \ | ^ # ; [ ] { } or start with .. $ or ~.
If the page name entered by the user at the prompt contains one of these characters, the create-page macro silently ignores the request. How can the user be informed of the error?
Maybe I'm dumb, but the "template" option isn't working for me.
The text in the...
Maybe I'm dumb, but the "template" option isn't working for me.
The text in the page (with set brackets replaced with parentheses) is:
(create-page:template=DHCP|prompt=Enter Name of Service)Add New Service(create-page)
It makes a link called "Add New Service", and when clicked, it prompts with "Enter Name of Service".
It then makes a new page, but the page is empty.
"DHCP" is just the name of a page in the same space. I thought it would just copy the content of that page, and use it as the initial contents for the newly created page.
I've tried a couple of different ones, same effect. Are the templates not simply existing pages?
If so, how do I go about creating one...
Templates are a specific feature of Confluence - there are Global Templates (whi...
Templates are a specific feature of Confluence - there are Global Templates (which can be accessed in Admin Console) and Space Templates (Browse Space > Templates) - for more information on templates, please see the Atlassian Confluence User Guide on http://confluence.atlassian.com (their site is down at the moment so I can't post you a direct URL to the relevant page).
Hi,
I have a scaffold template, and I would like to go directly to the edit ver...
Hi,
I have a scaffold template, and I would like to go directly to the edit version of the template when I create a new page.
() = {}
This code brings me to the edit tab without the template.
(create-page:boilerplate=Add Document|target=edit}Add Document{create-page).
This code (create-page:template=Add Document|target=edit) Add Document{create-page) brings me to edit tab with the template wiki text. I am trying to bypass this page and go directly to the input areas of the scaffold template. Is there a way to do this?
In the overview it says "the user is taken directly to the editable view of the ...
In the overview it says "the user is taken directly to the editable view of the page - they can immediately fill in the fields provided by the template."
However, this does not seem to be specifically true. The user is taken to the wiki markup version of the scaffold template, not the editable fields of the template. The user needs to hit Save before they see the fields.
Am I not understanding how this macro works? I am using Confluence 2.3.3. I wnat to link directly to the scaffolds template so the users never see any wiki markup.
I'm using Confluence 2.4.5 with Scaffolding Plugin 2.3-dr4 and Create-Page Plugi...
I'm using Confluence 2.4.5 with Scaffolding Plugin 2.3-dr4 and Create-Page Plugin 1.2 and struggling with the same issue. Did anyone get it run directly to the scaffold editable fields?
Else the statement "This is especially useful when working with [Scaffold Templates]" is not comprehensible. Is this a bug with the latest Confluence and Scaffolding versions?
I find the same issue. Using "target=edit" brings one to the edit panel of a bla...
I find the same issue. Using "target=edit" brings one to the edit panel of a blank page, rather than the editable fields of the template specified with either the "template" or "boilerplate" option.
I am using Confluence 2.5.1 and the latest version of the create-page macro.
Fixing this would make the macro do what it promises!
I find the same issue. Using "target=edit" brings one to the edit panel of a bla...
I find the same issue. Using "target=edit" brings one to the edit panel of a blank page, rather than the editable fields of the template specified with either the "template" or "boilerplate" option.
I am using Confluence 2.5.1 and the latest version of the create-page macro.
Fixing this would make the macro do what it promises!
I am having the same problem above.
Using "target=edit" brings one to the edit...
I am having the same problem above.
Using "target=edit" brings one to the edit panel of the page, rather than the editable fields of the template. I am trying to bypass this edit page as to stop user confusion.
Did anyone get it run directly to the scaffold editable fields?
Hi
my issue is im trying to get the page name in the textbox of html(not our r...
Hi
my issue is im trying to get the page name in the textbox of html(not our regular prompt) and i want that page name id to be passed in our create page macro where in the title.
is it possible
Hi Jose
If you make your page a template, you can have default labels in your te...
Hi Jose
If you make your page a template, you can have default labels in your template so everytime a new page is created (using the template - which could just be a blank page), the labels would be added automatically. Here is an example of a my wiki markup:
{card:label=A}{create-page:template=MYTEMPLATE|prompt=Please enter a Title for your page\|target=edit}click here to add a new page {create-page}
Then, when you create a template, make sure to fill in the label field with your desired labels.
I am using this macro in a template. Is there a way to specify the space as a us...
I am using this macro in a template. Is there a way to specify the space as a users homepage (I want the placeholder for any user, not a specific user. I have tried space=~user, space=~username, neither seem to work.
Thanks
Can we get the target=edit parameter added to the parameters tab of this page an...
Can we get the target=edit parameter added to the parameters tab of this page and the instructions for use to appear in the notation guide /renderer/notationhelp.action?section=all of the wiki it's installed on?
The target=edit was the main functionality I was after and was disappointed until I found the switch in the comments of this page (which I think only a subset of people would do)
Hello, I would give the opportunity to create a link that allows me to create a ...
Hello, I would give the opportunity to create a link that allows me to create a new page from a template.
The template contains information of an asset or a "table"
TITLE
Description
TITLE1
Description
TITLE2
Description
TITLE3
Description
Title4
Description
The column TITLE is STATIC but i would rather take the other columns from an excel sheet and create an end to the static page.
Would it be possible to use create-page macro to have dynamic prefix of formatte...
Would it be possible to use create-page macro to have dynamic prefix of formatted current date injected (e.g. yyyymm). So user enters title ("Test") of the page and the end result looks like - 200912 Test. Any hints on possible ways to address are appreciated.
Thx.
I found quite a disturbing bug with this macro.
When using create page with boi...
I found quite a disturbing bug with this macro.
When using create page with boilerplate and the target page is a sub page to a page with view restrictions, the inherited restrictions isn't inherited by the newly created page.
Comments (51)
Apr 24, 2006
Anonymous says:
USing the template doesn't seem to work. It creates the page with the template ...USing the template doesn't seem to work.
It creates the page with the template vairables.. but there is not way to edit them, so your page just displays the form elements as is.
Apr 24, 2006
Guy Fraser says:
Ah, to be honest we didn't fully test it with normal templates as we developed i...Ah, to be honest we didn't fully test it with normal templates as we developed it in a rush for a project that was using [Scaffold templates]. We'll take a look at it in the next few days to find out why it isn't working. Apologies for any inconvenience caused.
May 02, 2006
Anonymous says:
Did you get a chance to look at this? I am really keen to have bug fixed! Thank...Did you get a chance to look at this? I am really keen to have bug fixed!
Thanks
Kelsey
Jul 25, 2006
Anonymous says:
Any progress on this issue? Any workaround if this can't or won't be fixed? Th...Any progress on this issue?
Any workaround if this can't or won't be fixed?
Thanks,
Charlie
ETR Associates
Jul 25, 2006
Guy Fraser says:
There is a new version in the Confluence Plugin Repository that should resolve t...There is a new version in the Confluence Plugin Repository that should resolve this
Jul 25, 2006
Anonymous says:
Excellent. I will alert our systems guys. Thx, Charlie ETRExcellent. I will alert our systems guys.
Thx,
Charlie
ETR
Jul 25, 2006
Anonymous says:
Well, we have version 1.1 (dated 7/16/06) installed, but {create-page} is still ...Well, we have version 1.1 (dated 7/16/06) installed, but {create-page} is still copying the template code into a new page instead of creating a new page based on the template and allowing you to execute the template code (specify variables, etc.).
I tried this both in a Builder space and in a Default space, just to see if there was a Builder problem. Same result.
Thanks for anything you can do.
Charlie
ETR
Mar 02, 2008
Peter Reiser says:
yepp I have the same problemyepp I have the same problem
Mar 16, 2010
David Hergert says:
This is still the case, the template code gets copied directly into the page. O...This is still the case, the template code gets copied directly into the page.
On a side note: is Adaptavist still actively updating, improving, and fixing macros? I haven't seen much activity (I'll be honest I am not sure of the best way to go about looking for activity) but several projects I see havent had updates since 2006. How can we help prioritize ?
May 02, 2006
Anonymous says:
Is it possible to make page links that are images, or marked up text? At the mom...Is it possible to make page links that are images, or marked up text? At the moment if I do
{create-page}_emphasized text_{create-page}It comes out as
Dec 05, 2006
Anonymous says:
Definitely think being able to use an icon for a create-page button would be a g...Definitely think being able to use an icon for a create-page button would be a good thing.
Jan 07, 2008
Simon Wheatley says:
You can sometimes get around issues like this by using User Macros. It's more aw...You can sometimes get around issues like this by using User Macros. It's more awkward, but it works. I believe this is a bug in core Confluence (but I could be wrong).
Jul 25, 2006
Anonymous says:
It would also be good if there were a way of customizing the text on the js page...It would also be good if there were a way of customizing the text on the js page-naming popup.
Thx for your consideration.
Charlie
ETR
Jul 25, 2006
Guy Fraser says:
We tried that in the initial version but ran in to some problems. There are quit...We tried that in the initial version but ran in to some problems. There are quite a few limitations with the JS dialog box that pops up which are currently preventing us from making it more flexible
Jul 25, 2006
Anonymous says:
Thanks for thinking of it, tho! Charlie ETRThanks for thinking of it, tho!
Charlie
ETR
Aug 11, 2006
Anonymous says:
Having the same problem as above (the template itself gets copied into the new p...Having the same problem as above (the template itself gets copied into the new page, rather than the user being taken to the template form, filling out the template fields, and then creating the actual page). This is with version 1.2 of the plug-in.
Aug 23, 2006
Anonymous says:
Works if you use target=edit. Takes you to editable template first.Works if you use target=edit. Takes you to editable template first.
Oct 13, 2006
Anonymous says:
It would be cool it this could also set labels for the new page. -seamonkIt would be cool it this could also set labels for the new page.
-seamonk
Nov 03, 2006
Anonymous says:
I have a suggestion. Modified the prefix an postfix to be able to use the curren...I have a suggestion. Modified the prefix an postfix to be able to use the current page name
. I have proejcts with sub projects and being able to autmatically have the project page name (current page) be the prefix of the sub-project page name (chid page) would be very valuable and help to maintain our naming conventions.
Thnak you,
Ken J
Nov 08, 2006
Anonymous says:
Hello, Is there a way, it's not obvious to me at least, to have the page create...Hello,
Is there a way, it's not obvious to me at least, to have the page created in the user's space?
For example, there is a Space called Distribution. User A goes to that space, clicks the link for a page, and then that page is added in his own space. User B clicks link for a page, and it's added to her own space.
Thanks,
Phil
Nov 15, 2006
Anonymous says:
After using Create Page macro link and creating a page,can it be possible to dis...After using Create Page macro link and creating a page,can it be possible to disable the link once if it has been clicked.
My reqquirement is that i am having a table and in the one column i an using create page macro for each and evrey row so after clicking on the create page link of a row and creating a page i want that create page link of that particular row to be disabled.
Can it be possible
Dec 05, 2006
Anonymous says:
I'm not seeing this macro in the Repository. Is it still available?I'm not seeing this macro in the Repository. Is it still available?
Dec 05, 2006
Guy Fraser says:
On the "Configure" tab in the repo, select "All Versions" (it's possible this pl...On the "Configure" tab in the repo, select "All Versions" (it's possible this plugin is still marked as pre-release state for your version of Confluence).
Dec 06, 2006
Anonymous says:
Yep, that was it: Latest Version: 1.2 - Beta License: Open Source (BSD) A macr...Yep, that was it:
Latest Version: 1.2 - Beta
License: Open Source (BSD)
A macro which allows you to create a predefined link to create a page which is named by the user at runtime, which is pre/postfixed with predefined parameters also optionally generated based on a macro, or containing a boilerplate.
We're on 2.2.2.
Thanks!
Dec 12, 2006
Anonymous says:
what i would really like to be able to do is something similar to the prefix of ...what i would really like to be able to do is something similar to the prefix of .user but for when you define the parent
{create-page:parent=pagetitle.Index}new page{create-page}if that was done on a page named Family, pages would be created under the parent FamilyIndex
Jan 21, 2007
Anonymous says:
Page titles cannot contain : @ / \ | ^ # ; [ ] { } or start with .. $ or ~. If ...Page titles cannot contain : @ / \ | ^ # ; [ ] { } or start with .. $ or ~.
If the page name entered by the user at the prompt contains one of these characters, the create-page macro silently ignores the request. How can the user be informed of the error?
Jan 24, 2007
Anonymous says:
Maybe I'm dumb, but the "template" option isn't working for me. The text in the...Maybe I'm dumb, but the "template" option isn't working for me.
The text in the page (with set brackets replaced with parentheses) is:
(create-page:template=DHCP|prompt=Enter Name of Service)Add New Service(create-page)
It makes a link called "Add New Service", and when clicked, it prompts with "Enter Name of Service".
It then makes a new page, but the page is empty.
"DHCP" is just the name of a page in the same space. I thought it would just copy the content of that page, and use it as the initial contents for the newly created page.
I've tried a couple of different ones, same effect. Are the templates not simply existing pages?
If so, how do I go about creating one...
I'm using version 1.2.
cheers
andy
Jan 24, 2007
Guy Fraser says:
Templates are a specific feature of Confluence - there are Global Templates (whi...Templates are a specific feature of Confluence - there are Global Templates (which can be accessed in Admin Console) and Space Templates (Browse Space > Templates) - for more information on templates, please see the Atlassian Confluence User Guide on http://confluence.atlassian.com (their site is down at the moment so I can't post you a direct URL to the relevant page).
Jan 25, 2007
Anonymous says:
Thank you! That was exactly my problem. I didn't realise that Confluence had a ...Thank you! That was exactly my problem.
I didn't realise that Confluence had a concept of a special "Template" - I assumed that just any page could act as a template.
I like to think I'm not more stupid than average, so I'd suggest that the doco for this macro be amended to mention that Templates exist etc.
Thanks again for the rapid response.
cheers
andy
Mar 23, 2007
Anonymous says:
Hi, I have a scaffold template, and I would like to go directly to the edit ver...Hi,
I have a scaffold template, and I would like to go directly to the edit version of the template when I create a new page.
() = {}
This code brings me to the edit tab without the template.
(create-page:boilerplate=Add Document|target=edit}Add Document{create-page).
This code (create-page:template=Add Document|target=edit) Add Document{create-page) brings me to edit tab with the template wiki text. I am trying to bypass this page and go directly to the input areas of the scaffold template. Is there a way to do this?
Thanks!
Mar 26, 2007
Anonymous says:
In the overview it says "the user is taken directly to the editable view of the ...In the overview it says "the user is taken directly to the editable view of the page - they can immediately fill in the fields provided by the template."
However, this does not seem to be specifically true. The user is taken to the wiki markup version of the scaffold template, not the editable fields of the template. The user needs to hit Save before they see the fields.
Am I not understanding how this macro works? I am using Confluence 2.3.3. I wnat to link directly to the scaffolds template so the users never see any wiki markup.
Apr 27, 2007
Bernd Lindner says:
I'm using Confluence 2.4.5 with Scaffolding Plugin 2.3-dr4 and Create-Page Plugi...I'm using Confluence 2.4.5 with Scaffolding Plugin 2.3-dr4 and Create-Page Plugin 1.2 and struggling with the same issue. Did anyone get it run directly to the scaffold editable fields?
Else the statement "This is especially useful when working with [Scaffold Templates]" is not comprehensible. Is this a bug with the latest Confluence and Scaffolding versions?
Jun 05, 2007
Vijay Iyer says:
I find the same issue. Using "target=edit" brings one to the edit panel of a bla...I find the same issue. Using "target=edit" brings one to the edit panel of a blank page, rather than the editable fields of the template specified with either the "template" or "boilerplate" option.
I am using Confluence 2.5.1 and the latest version of the create-page macro.
Fixing this would make the macro do what it promises!
Jun 05, 2007
Vijay Iyer says:
I find the same issue. Using "target=edit" brings one to the edit panel of a bla...I find the same issue. Using "target=edit" brings one to the edit panel of a blank page, rather than the editable fields of the template specified with either the "template" or "boilerplate" option.
I am using Confluence 2.5.1 and the latest version of the create-page macro.
Fixing this would make the macro do what it promises!
May 08, 2008
Mark Doty says:
Hi all This is what I put in: {create-page:template=Lessons Learned|target=edit...Hi all
This is what I put in:
{create-page:template=Lessons Learned|target=edit}Click here to add a new page {create-page}.
This opens a new template in edit mode. It was opening a page in wiki editor but I selected "Rich Text" and now it opens in Rich Editor. So, it works.
Mar 03, 2011
Jessica White says:
I am having the same problem above. Using "target=edit" brings one to the edit...I am having the same problem above.
Using "target=edit" brings one to the edit panel of the page, rather than the editable fields of the template. I am trying to bypass this edit page as to stop user confusion.
Did anyone get it run directly to the scaffold editable fields?
Aug 08, 2007
Patricia Montag says:
installed version of Create Page Macro: 1.2 Confluence 2.5.3 There is a problem...installed version of Create Page Macro: 1.2 Confluence 2.5.3
There is a problem using templates with variables. There is no way to edit them, so your page just displays the form elements.
Is this resolved in version 1.2.1?
thx
Oct 11, 2007
Dhivya Manoharan says:
Hi my issue is im trying to get the page name in the textbox of html(not our r...Hi
my issue is im trying to get the page name in the textbox of html(not our regular prompt) and i want that page name id to be passed in our create page macro where in the title.
is it possible
With Regards,
Dhivya.M
Mar 05, 2008
Jose Biton says:
Someone mentioned this earlier, but is there a way to add Labels to the created ...Someone mentioned this earlier, but is there a way to add Labels to the created page?
Ideally the new page can inherit one of the Labels of the parent.
Also, does anyone know if there is a create-news macro? I'd need it to be like the create-page plus an add/inherit Labels feature
Nov 27, 2008
Mark Doty says:
Hi Jose If you make your page a template, you can have default labels in your te...Hi Jose
If you make your page a template, you can have default labels in your template so everytime a new page is created (using the template - which could just be a blank page), the labels would be added automatically. Here is an example of a my wiki markup:
{card:label=A}{create-page:template=MYTEMPLATE|prompt=Please enter a Title for your page\|target=edit}click here to add a new page {create-page}Then, when you create a template, make sure to fill in the label field with your desired labels.
May 07, 2008
Julie Silvestri says:
I downloaded the plugin lately, and noticed that the documentation lists simply ...I downloaded the plugin lately, and noticed that the documentation lists simply "sp" as the example of the macro instead of {create-page...
This should be a quick fix to the help .vm file. I fixed it on my local machine, and can post it here if that helps.
Julie
May 07, 2008
Guy Fraser says:
Hi, Could you post it to a ticket in https://tracker.adaptavist.comHi,
Could you post it to a ticket in https://tracker.adaptavist.com
May 15, 2008
Jon Want says:
Is there any way of creating the page from a template using the live-template ma...Is there any way of creating the page from a template using the live-template markup rather than copying the entire markup from the template.
Jan 12, 2009
John Bowersox says:
I would also be interested in this feature. It would add some great value to the...I would also be interested in this feature. It would add some great value to the usefulness of this plugin.
Jul 08, 2008
Rachel Ganz says:
Using Confluence 2.6.2 When I use create-page with target=edit, I get taken to a...Using Confluence 2.6.2 When I use create-page with target=edit, I get taken to a blank page rather than the one set up with the template.
If you use a duplicate name for the new page, nothing happens at all (as far as I can tell) and you get no message.
If I use form fields in the template, nothing happens
The labels are also lost.
Will this work with a different version of confluence, or is it just dud.
Mar 19, 2009
Maggie Soffer says:
I am using this macro in a template. Is there a way to specify the space as a us...I am using this macro in a template. Is there a way to specify the space as a users homepage (I want the placeholder for any user, not a specific user. I have tried space=~user, space=~username, neither seem to work.
Thanks
Jun 22, 2009
Jason Glynn says:
Can we get the target=edit parameter added to the parameters tab of this page an...Can we get the target=edit parameter added to the parameters tab of this page and the instructions for use to appear in the notation guide /renderer/notationhelp.action?section=all of the wiki it's installed on?
The target=edit was the main functionality I was after and was disappointed until I found the switch in the comments of this page
(which I think only a subset of people would do)
Jul 29, 2009
Alberto says:
Hi, i have a problem. I would like to create a new page from a link. I would l...Hi,
i have a problem. I would like to create a new page from a link.
I would like to compile a excel containing the information to be included in the page.
I used the macro "excel" but in the search the result is the name of and not the content of the page.
How I can create pages and taken from the external source without having to edit content?
the aim is to enable users to load the asset. For users, it is easier to write an excel markup instead of code.
Thanks
Jul 29, 2009
Alberto says:
Hello, I would give the opportunity to create a link that allows me to create a ...Hello, I would give the opportunity to create a link that allows me to create a new page from a template.
The template contains information of an asset or a "table"
The column TITLE is STATIC but i would rather take the other columns from an excel sheet and create an end to the static page.
Is possible?
Dec 04, 2009
Dima Stelmakh says:
Would it be possible to use create-page macro to have dynamic prefix of formatte...Would it be possible to use create-page macro to have dynamic prefix of formatted current date injected (e.g. yyyymm). So user enters title ("Test") of the page and the end result looks like - 200912 Test. Any hints on possible ways to address are appreciated.
Thx.
Jun 29, 2010
Goran Tornqvist says:
I found quite a disturbing bug with this macro. When using create page with boi...I found quite a disturbing bug with this macro.
When using create page with boilerplate and the target page is a sub page to a page with view restrictions, the inherited restrictions isn't inherited by the newly created page.
Created this ticket: https://tracker.adaptavist.com/browse/GSUP-992