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

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

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • 4.3
    • None
    • None
    • 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.

      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.

            barconati BillA
            fsim Foo Sim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: