Uploaded image for project: 'Confluence Server'
  1. Confluence Server
  2. CONFSERVER-23644

Allow creation of Global Templates in Confluence 4.0 using XHTML instead of Wiki Markup

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Resolved
    • Resolution: Duplicate
    • Fix Version/s: 4.3
    • Component/s: None
    • Labels:
      None
    • Feedback Policy:
      We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Description

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      Problem Statement

      Unable to create template from existing pages in Confluence 4.0, since pages are stored in XHTML instead of Wiki Markup, and Global Templates can only be created using Wiki Markup.

      Temporary Workaround:

      Run this query in Confluence's Database:

      SELECT * FROM BODYCONTENT WHERE CONTENTID IN (SELECT CONTENTID FROM `content` WHERE contentID IN (SELECT CONTENTID FROM bodycontent WHERE bodytypeid = '0') AND PREVVER = (SELECT contentid from content WHERE title = '<Replace with the page's title here>' AND PREVVER IS NULL));
      

      This query will only return results if there are any older versions of the page, and if the older version exists prior to the upgrade.

      The query essentially returns Wiki Markup of older versions of the page, which can be used to create the template.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barconati Bill Arconati
                Reporter:
                fsim Foo Sim
                Participants:
                Last Touched By:
                Katherine Yabut
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Last commented:
                  7 years, 40 weeks, 4 days ago