Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Section
Column
Note

Make sure that you have read and understood the

the following sections:
Tip

View the video Create/Update Confluence Pages for more information, if you are using Confluence v4.0 - 4.2. The way of adding and parsing templates has changed in v4.3 and v5.1. Refer to this documentation for information about templates in these versions.

Column
width240px

On This Page:

Table of Contents
maxLevel4
 

 

Confluence Page HierarchyImage Removed

...

section Using frevvoresolve macro.

Confluence Page HierarchyImage Added

Using frevvo for Confluence, you can create forms/workflows that store the form data in a Confluence page. The Confluence page can also be updated (edited) using the same form/workflow. Consider the page hierarchy in the Figure above. We are creating an internal Client Management application with a Confluence page for each client. In the example, above we have a page for Ford, GM and Toyota. Each page stores information about the client such as Address, Phone Number, Contact Information etc. The goal is to be able to create these pages in a structured manner using a form or workflow and edit these pages using the same form/workflow rather than allow free-form editing of the Confluence page by users.

...

  • Save the Confluence Template.
  • On the Client Information Page, click on the Edit button.
  • Click the Image Added Edit Form/flow Properties wizard in the designer toolbar.
  • Select Click on Form Action then click on  and select the Create/Update a Confluence page wizardform action.

    Image Added

  • Type a name for the results page in the Results Page field and the name of the Client Information template in the Template field. Make sure that you enter the Template name exactly including spaces.
  • Click Finish to exit the wizard and save your changes.
  • Click Finish For the Result Page, we are using a template {ClientName}. This is a field in the form. For example, if the field in the form contained Toyota, the generated result page in Confluence will be named Toyota. The Parent and Display pages are optional. Use control templates from your form by selecting them from the dropdowns. Click the Image Added to see the control list.

    Image Added

  • Click Submit to save the changes and exit the Form Properties wizard.
  • Click Submit to save the changes to the Client Information Form and exit the designer.
  • Enter data into the Client Information form and click Submit.
  • The result page displays a table with the entered client information displayed in the first row of the table.
  • Access the Client Information Page again. Enter information for a different client.
  • The result page displays a table with the Client information from both submissions in the first and second row of the table.

...

Tip

If you make changes to a template, existing result pages will not reflect the changes. This is as-designed. Merge to page only uses the template the first time. In subsequent merges, the macros from the result page are used and not the template. A new version of the template requires a new result page to reflect the updates to the template.

Create a form

...

to

...

Create/Update Confluence Page Wizard

...

Image Removed

...

the

...

template

...

.

...

...

Warning

The "Save" property on the Form Properties Settings tab must be checked for Create/Update to work.

...

Fill out the form and Submit it. The result page is shown below.



 

Info

Time and Date/Time controls are displayed in UTC when used on a result page in Confluence. See the image below:

...

When you edit a form/flow for which form action is setup as create/update, the message shown in the image will display as a warning in the designer.


Moving Pages created by

...

frevvo/Confluence to a new space

Let's say you had a form in a Confluence space called Space1. When the form is submitted, result pages were created as a result of the form action for the form. The result pages were child pages of the form page and displayed information entered in the form. Also on the page was an edit link to each form so that a user could go back and edit the information if something changed. You move the form and it's child pages to Confluence Space 2. In the second space, you click the edit button on one of the result pages, edit the information and then click the finish button. The following error displays:

...

2. Create the parent page manually in the new space with the same name as the old space before moving the child pages. Move the child pages under this parent page.

 

...