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

    • 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.

            [CONFSERVER-23644] Allow creation of Global Templates in Confluence 4.0 using XHTML instead of Wiki Markup

            Sen made changes -
            Workflow Original: JAC Suggestion Workflow 4 [ 3568688 ] New: JAC Suggestion Workflow 3 [ 4333067 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow 2 [ 3181975 ] New: JAC Suggestion Workflow 4 [ 3568688 ]
            Status Original: RESOLVED [ 5 ] New: Closed [ 6 ]
            Katherine Yabut made changes -
            Workflow Original: JAC Suggestion Workflow [ 3027911 ] New: JAC Suggestion Workflow 2 [ 3181975 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing v4 [ 2536115 ] New: JAC Suggestion Workflow [ 3027911 ]
            Rachel Lin (Inactive) made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 2299611 ] New: Confluence Workflow - Public Facing v4 [ 2536115 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 - TEMP [ 2195941 ] New: Confluence Workflow - Public Facing v3 [ 2299611 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v3 [ 1927130 ] New: Confluence Workflow - Public Facing v3 - TEMP [ 2195941 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing v2 [ 1752134 ] New: Confluence Workflow - Public Facing v3 [ 1927130 ]
            jonah (Inactive) made changes -
            Description Original: h3.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.


            h3.Temporary Workaround:

            Run this query in Confluence's Database:
            {code}
            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));
            {code}
            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.

            New: {panel:bgColor=#e7f4fa}
              *NOTE:* This suggestion is for *Confluence Server*. Using *Confluence Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/CONFCLOUD-23644].
              {panel}

            h3.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.


            h3.Temporary Workaround:

            Run this query in Confluence's Database:
            {code}
            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));
            {code}
            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.

            jonah (Inactive) made changes -
            Link New: This issue relates to CONFCLOUD-23644 [ CONFCLOUD-23644 ]

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

                Created:
                Updated:
                Resolved: