Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Field group
contentAdfStringified{"version":1,"type":"doc","version":1,"content":[{"type":"heading","attrs":{"level":2},"content":[{"texttype":"Scenariotext","typetext":"textScenario"}]},{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"6mhjsxmqir","extensionKey":"paragraph","name":"Scenario","isRequired":false,"atlassian-macro-output-type":"BLOCK"},"layout":"default","localId":"b021ab11-776f-4de1-866b-26ccfd93d355"}},{"type":"heading","attrs":{"level":2},"content":[{"texttype":"Resulttext","typetext":"textResult"}]},{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"lmodh37axg","extensionKey":"paragraph","name":"wikiResult","isRequired":false,"atlassian-macro-output-type":"BLOCK"},"layout":"default","localId":"63121d81-a864-438d-b19b-82cfb69597fd"}},{"type":"heading","attrs":{"level":2},"content":[{"texttype":"Recipetext","typetext":"textRecipe"}]},{"type":"table","attrs":{"isNumberColumnEnabled":false,"layout":"default","localId":"f3f5af5e-be7f-4fd8-87b8-20680c823c36"},"content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1,"colwidth":[61.41114]},"content":[{"type":"paragraph","content":[{"texttype":"Appstext","typetext":"textApps"}]}]},{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1,"colwidth":[306.9566]},"content":[{"type":"paragraph","content":[{"type":"hardBreak"}]},{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"a33tie45b4","extensionKey":"short-text","name":"Plugins","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"BLOCK"}}}]},{"typelocalId":"fce96805-a0a8-444f-a498-a32fb61466db"}}]},{"type":"paragraph","content":[{"type":"hardBreak"}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1,"colwidth":[61.41114]},"content":[{"type":"paragraph","content":[{"texttype":"Platformtext","typetext":"textPlatform"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[306.9566]},"content":[{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"gqb3r97ye6","extensionKey":"paragraph","name":"Platform","isRequired":false,"atlassian-macro-output-type":"INLINE"},"layout":"default"}}]}]},{"typelocalId":"623de1e0-287f-45fc-b78f-c15d9b2a2d24"}}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1,"colwidth":[61.41114]},"content":[{"type":"paragraph","content":[{"texttype":"Leveltext","typetext":"textLevel"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[306.9566]},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"igv13eankb","extensionKey":"short-text","name":"Level","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"}}}]},"localId":"b899a6b4-045d-4054-84f2-cb38fcd6f5bd"}}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1,"colwidth":[61.41114]},"content":[{"type":"paragraph","content":[{"texttype":"Estimated timetext","typetext":"textEstimated time"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[306.9566]},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"xzf1n83g9s","extensionKey":"short-text","name":"Estimated time","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"}}}]}]}]},{"typelocalId":"9c7a3254-3deb-4f41-a667-a84f66a2be7b"}}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colspan":1,"rowspan":1,"colwidth":[61.41114]},"content":[{"type":"paragraph","content":[{"texttype":"Macrostext","typetext":"textMacros"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[306.9566]},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"e96sb0kvfj","extensionKey":"short-text","name":"Macros","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"}}},"localId":"83e8e810-fee5-47df-94de-ec88016e8f1c"}}]}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"texttype":"Storage formattext","typetext":"textStorage format"}]},{"type":"paragraph","content":[{"type":"text","text":"You can copy and paste this code into the a "},{"type":"text"},{"text":"Confluence Source Editor","type":"text","marks":[{"type":"link","attrs":{"href":"https:/wiki/spaces/GENSUPP/pages/928481393"}}marketplace.atlassian.com/apps/1215664/source-editor-for-confluence?tab=overview&hosting=datacenter"}}]},{"texttype":":text","typetext":"text:"}]},{"type":"codeBlock","attrs":{},"content":[{"type":"text","text":"<h2>\n <ac:structured-macro ac:macro-id=\"bbed47c1-f02b-4531-8944-7a4ab9ff0fb2\" ac:name=\"toggle-cloak\" ac:schema-version=\"1\"/>Contact details</h2>\n<ac:structured-macro ac:macro-id=\"cd833aa7-56ff-46b3-883d-996b6fa8ee0a\" ac:name=\"cloak\" ac:schema-version=\"1\">\n <ac:rich-text-body>\n <ac:structured-macro ac:macro-id=\"921c1933-a9bb-4cf9-b7ce-8eae3a51b415\" ac:name=\"table-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">contacts</ac:parameter>\n <ac:rich-text-body>\n <table class=\"wrapped\">\n <colgroup> <col/> <col style=\"width: 96.0px;\"/> <col style=\"width: 29.0px;\"/> <col style=\"width: 29.0px;\"/> <col style=\"width: 29.0px;\"/> </colgroup>\n <tbody>\n <tr>\n <th colspan=\"1\">Job Title</th>\n <th>First Name</th>\n <th>Last Name</th>\n <th>Email</th>\n <th>Tel Number</th>\n </tr>\n <tr>\n <td colspan=\"1\">\n <div class=\"content-wrapper\">\n <ac:structured-macro ac:macro-id=\"299f572c-2c1e-4fcb-a721-c4aa449c0072\" ac:name=\"text-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">JobTitle</ac:parameter>\n <ac:parameter ac:name=\"type\">line</ac:parameter>\n <ac:parameter ac:name=\"content\">text</ac:parameter>\n <ac:parameter ac:name=\"atlassian-macro-output-type\">INLINE</ac:parameter>\n <ac:rich-text-body>\n <p>\n <br/>\n </p>\n </ac:rich-text-body>\n </ac:structured-macro>\n </div>\n </td>\n <td>\n <div class=\"content-wrapper\">\n <ac:structured-macro ac:macro-id=\"a7cc0683-ac16-4a28-83f9-304324f60e5c\" ac:name=\"text-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">FirstName</ac:parameter>\n <ac:parameter ac:name=\"type\">line</ac:parameter>\n <ac:parameter ac:name=\"content\">text</ac:parameter>\n <ac:parameter ac:name=\"atlassian-macro-output-type\">INLINE</ac:parameter>\n <ac:rich-text-body>\n <p>\n <br/>\n </p>\n </ac:rich-text-body>\n </ac:structured-macro>\n </div>\n </td>\n <td>\n <div class=\"content-wrapper\">\n <ac:structured-macro ac:macro-id=\"32413a25-dadb-49f1-a0fa-31bca073e3c3\" ac:name=\"text-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">LastName</ac:parameter>\n <ac:parameter ac:name=\"type\">line</ac:parameter>\n <ac:parameter ac:name=\"content\">text</ac:parameter>\n <ac:parameter ac:name=\"atlassian-macro-output-type\">INLINE</ac:parameter>\n <ac:rich-text-body>\n <p>\n <br/>\n </p>\n </ac:rich-text-body>\n </ac:structured-macro>\n </div>\n </td>\n <td>\n <div class=\"content-wrapper\">\n <ac:structured-macro ac:macro-id=\"345e7950-ef89-4722-a27e-62a759be7dc0\" ac:name=\"text-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">Email</ac:parameter>\n <ac:parameter ac:name=\"type\">line</ac:parameter>\n <ac:parameter ac:name=\"content\">text</ac:parameter>\n <ac:parameter ac:name=\"atlassian-macro-output-type\">INLINE</ac:parameter>\n <ac:rich-text-body>\n <p>\n <br/>\n </p>\n </ac:rich-text-body>\n </ac:structured-macro>\n </div>\n </td>\n <td>\n <div class=\"content-wrapper\">\n <ac:structured-macro ac:macro-id=\"d032452d-91c5-4bf0-8aab-1ad02a268dd4\" ac:name=\"number-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">Phone</ac:parameter>\n <ac:parameter ac:name=\"atlassian-macro-output-type\">INLINE</ac:parameter>\n </ac:structured-macro>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </ac:rich-text-body>\n </ac:structured-macro>\n </ac:rich-text-body>\n</ac:structured-macro>","type":"text"}]},{"type":"heading","attrs":{"level":2},"content":[{"texttype":"Macro structuretext","typetext":"textMacro structure"}]},{"type":"paragraph","content":[{"type":"text","text":"You can recreate the example in the editor view:"}]},{"type":"text"}]},{"type":"extension"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"vuqu2mve0h","extensionKey":"paragraph","name":"Image","isRequired":false,"atlassian-macro-output-type":"INLINE"},"layout":"default","localId":"612fa84e-fb4a-4d77-ab6b-68adf9fcde30"}},{"type":"heading","attrs":{"level":2},"content":[{"texttype":"Stepstext","typetext":"textSteps"}]},{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"qzyge2cspk","extensionKey":"paragraph","name":"Steps","isRequired":false,"atlassian-macro-output-type":"BLOCK"},"layout":"default","localId":"fbbccb0d-ae97-44d6-bb2b-30c8cd989c7b"}},{"type":"paragraph","content":[{"type":"hardBreak"}]},{"type":"paragraph","content":[{"type":"hardBreak"}]}]}
fieldGroupNamemigrated
fieldGroupIdbld4v3wl4m
excerptScenario We want to create a dynamic table of contact details on a Confluence page while also making it collapsible to to initially hide it from the reader. This is done by combining Scaffolding macros with the Cloak and Toggle Cloak macros from  Composition Tabs for Confluence Server and Data Center . Result Recipe Apps Scaffolding, Composition Tabs for Confluence Platform Server, Data Center Level Easy Estimated time 10 minutes ⏱ Macros Number Data, Table Data, Text Data Storage Result Recipe Apps Platform Level Estimated time Macros Storage format You can copy and paste this code into the a Confluence Source Editor : <h2> <ac:structured-macro ac:macro-id="bbed47c1-f02b-4531-8944-7a4ab9ff0fb2" ac:name="toggle-cloak" ac:schema-version="1"/>Contact details</h2> <ac:structured-macro ac:macro-id="cd833aa7-56ff-46b3-883d-996b6fa8ee0a" ac:name="cloak" ac:schema-version="1"> <ac:rich-text-body> <ac:structured-macro ac:macro-id="921c1933-a9bb-4cf9-b7ce-8eae3a51b415" ac:name="table-data" ac:schema-version="1"> <ac:parameter ac:name="name">contacts</ac:parameter> <ac:rich-text-body> <table class="wrapped"> <colgroup> <col/> <col style="width: 96.0px;"/> <col style="width: 29.0px;"/> <col style="width: 29.0px;"/> <col style="width: 29.0px;"/> </colgroup> <tbody> <tr> <th colspan="1">Job Title</th> <th>First Name</th> <th>Last Name</th> <th>Email</th> <th>Tel Number</th> </tr> <tr> <td colspan="1"> <div class="content-wrapper"> <ac:structured-macro ac:macro-id="299f572c-2c1e-4fcb-a721-c4aa449c0072" ac:name="text-data" ac:schema-version="1"> <ac:parameter ac:name="name">JobTitle</ac:parameter> <ac:parameter ac:name="type">line</ac:parameter> <ac:parameter ac:name="content">text</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <p> <br/> </p> </ac:rich-text-body> </ac:structured-macro> </div> </td> <td> <div class="content-wrapper"> <ac:structured-macro ac:macro-id="a7cc0683-ac16-4a28-83f9-304324f60e5c" ac:name="text-data" ac:schema-version="1"> <ac:parameter ac:name="name">FirstName</ac:parameter> <ac:parameter ac:name="type">line</ac:parameter> <ac:parameter ac:name="content">text</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <p> <br/> </p> </ac:rich-text-body> </ac:structured-macro> </div> </td> <td> <div class="content-wrapper"> <ac:structured-macro ac:macro-id="32413a25-dadb-49f1-a0fa-31bca073e3c3" ac:name="text-data" ac:schema-version="1"> <ac:parameter ac:name="name">LastName</ac:parameter> <ac:parameter ac:name="type">line</ac:parameter> <ac:parameter ac:name="content">text</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <p> <br/> </p> </ac:rich-text-body> </ac:structured-macro> </div> </td> <td> <div class="content-wrapper"> <ac:structured-macro ac:macro-id="345e7950-ef89-4722-a27e-62a759be7dc0" ac:name="text-data" ac:schema-version="1"> <ac:parameter ac:name="name">Email</ac:parameter> <ac:parameter ac:name="type">line</ac:parameter> <ac:parameter ac:name="content">text</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <p> <br/> </p> </ac:rich-text-body> </ac:structured-macro> </div> </td> <td> <div class="content-wrapper"> <ac:structured-macro ac:macro-id="d032452d-91c5-4bf0-8aab-1ad02a268dd4" ac:name="number-data" ac:schema-version="1"> <ac:parameter ac:name="name">Phone</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> </ac:structured-macro> </div> </td> </tr> </tbody> </table> </ac:rich-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro> Macro structure You can recreate the example in the editor view: Steps On a draft page create a Toggle Cloak macro Immediately after the Toggle Cloak macro type in " Contact Details " add a Cloak macro Within the Cloak macro create a Table Data macro enter " contacts " in the Name field Within the Table Data macro create a table as below. fill in the table cells with relevant Text Data and Number Data macros For more information, refer to Creating a Dynamic Table .-text-body> </ac:structured-macro> Macro structure You can recreate the example in the editor view: Steps
propertyKeys["net.customware.confluence.plugin.scaffolding__bld4v3wl4m__data_0_cxop9i49tv"]