I really like the Create from Template macro, but it has its limitations. Here is what I want to do:
When the user clicks the button, a new page is created using a defined template and it is created under a specific parent page in, perhaps, another space.
For the macro itself, the user would have to specify the following parameters:
- Space - The space where the template will be created (it would be nice to know how to create an autopopulating field as the user types space names)
- Parent Page - The page within the space where all new content created from the template will be placed under
- Template - The template to be used, of course
- Button Text - The text on the button
Essentially it's nearly identical to the Create from Template macro, but it would allow a user to specify the parent page within a space under which the content is added.
I have tried, albeit unsuccessfully, to accomplish this. The best solution I have right now (as a band-aid until we have something more stable) is to create a new page using the template under the parent page. I then use that link as the place the button directs the user. It works, but it's sloppy and not easy for other users to make use of.
Has anyone created a macro like this? I can do most of the above, but I can't get the space to populate on its own or figure out how to specify the parent page. Any and all help is much appreciated!