contentAdfStringified | {"version":1,"type":"doc","content":[{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"Scenario"}]},{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"wh7szm2zut","extensionKey":"paragraph","name":"Scenario","isRequired":false,"atlassian-macro-output-type":"BLOCK"},"layout":"default","localId":"dc8d9524-558d-4f30-8021-373d481df6c1"}},{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"Recipe"}]},{"type":"heading","attrs":{"level":3},"content":[{"type":"text","text":"Ingredients"}]},{"type":"table","attrs":{"isNumberColumnEnabled":false,"layout":"default","localId":"549421e2-3a77-4047-9bfd-91d8a9500be8"},"content":[{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colwidth":[114]},"content":[{"type":"paragraph","content":[{"type":"text","text":"Apps"}]}]},{"type":"tableHeader","attrs":{"colwidth":[566]},"content":[{"type":"paragraph","content":[{"type":"hardBreak"}]},{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"0vygaiixat","extensionKey":"short-text","name":"Plugins","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"BLOCK"},"localId":"c69920db-a9d6-43e5-9c83-15be35e05b3c"}}]},{"type":"paragraph","content":[{"type":"hardBreak"}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colwidth":[114]},"content":[{"type":"paragraph","content":[{"type":"text","text":"Platform"}]}]},{"type":"tableCell","attrs":{"colwidth":[566]},"content":[{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"7auq1plapm","extensionKey":"paragraph","name":"Platform","isRequired":false,"atlassian-macro-output-type":"INLINE"},"layout":"default","localId":"e79b84a7-a172-40ee-968d-6e3f5d747bb2"}}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colwidth":[114]},"content":[{"type":"paragraph","content":[{"type":"text","text":"Level"}]}]},{"type":"tableCell","attrs":{"colwidth":[566]},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"gkhrshy0e3","extensionKey":"short-text","name":"Level","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"},"localId":"7f78e38d-bc7e-468a-ab87-ec00403174d6"}}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colwidth":[114]},"content":[{"type":"paragraph","content":[{"type":"text","text":"Estimated time"}]}]},{"type":"tableCell","attrs":{"colwidth":[566]},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"0ug7lrj6rg","extensionKey":"short-text","name":"Estimated time","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"},"localId":"caae1bb5-5838-44bd-a403-bdafe8659356"}}]}]}]},{"type":"tableRow","content":[{"type":"tableHeader","attrs":{"colwidth":[114]},"content":[{"type":"paragraph","content":[{"type":"text","text":"Macros"}]}]},{"type":"tableCell","attrs":{"colwidth":[566]},"content":[{"type":"paragraph","content":[{"type":"inlineExtension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"short-text","parameters":{"id":"cxbwpqznqx","extensionKey":"short-text","name":"Macros","placeholder":"","isRequired":false,"type":"line","atlassian-macro-output-type":"INLINE"},"localId":"e75edf41-fe5b-4488-a503-1295e5147134"}}]}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"Storage format"}]},{"type":"paragraph","content":[{"type":"text","text":"You can copy and paste this code into a "},{"type":"text","text":"Confluence Source Editor","marks":[{"type":"link","attrs":{"href":"https://marketplace.atlassian.com/apps/1215664/source-editor-for-confluence?tab=overview&hosting=datacenter"}}]},{"type":"text","text":":"}]},{"type":"codeBlock","attrs":{},"content":[{"type":"text","text":"<ac:structured-macro ac:macro-id=\"b12ad767-7a48-4236-9994-3b8b9b117036\" ac:name=\"table-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">ActionTable</ac:parameter>\n <ac:rich-text-body>\n <table class=\"wrapped relative-table\" style=\"width: 65.5054%;\">\n <colgroup> <col style=\"width: 30.4538%;\"/> <col style=\"width: 69.5462%;\"/> </colgroup>\n <tbody>\n <tr>\n <th>Action</th>\n <th>Workflow</th>\n </tr>\n <tr>\n <td>\n <div class=\"content-wrapper\">\n <ac:structured-macro ac:macro-id=\"fad3c9ce-ad8f-409a-93de-dea0ba453ba5\" ac:name=\"text-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">ActionName</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=\"c0857c54-f537-4920-b237-e67cc45d83a4\" ac:name=\"table-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">Steps</ac:parameter>\n <ac:rich-text-body>\n <table class=\"wrapped\">\n <tbody>\n <tr>\n <th>Steps</th>\n <th>Status</th>\n </tr>\n <tr>\n <td>\n <div class=\"content-wrapper\">\n <ac:structured-macro ac:macro-id=\"607ae4c7-851a-44e7-b62a-019610470b07\" ac:name=\"text-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">Step</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=\"7cae4209-d44b-4c64-b553-e228d0da03a3\" ac:name=\"list-data\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"name\">Status</ac:parameter>\n <ac:parameter ac:name=\"atlassian-macro-output-type\">INLINE</ac:parameter>\n <ac:rich-text-body>\n <ac:structured-macro ac:macro-id=\"a9698492-54a9-42e6-aa48-b9a33e340b53\" ac:name=\"list-option\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"value\">Successful </ac:parameter>\n <ac:rich-text-body>\n <p>\n <ac:structured-macro ac:macro-id=\"6f2e538f-63c2-4863-92cf-f7ad4c807322\" ac:name=\"status\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"colour\">Green</ac:parameter>\n <ac:parameter ac:name=\"title\">Successful </ac:parameter>\n </ac:structured-macro>\n </p>\n </ac:rich-text-body>\n </ac:structured-macro>\n <ac:structured-macro ac:macro-id=\"e5a337d7-530f-481a-abf0-ec251488c870\" ac:name=\"list-option\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"value\">Not Successful </ac:parameter>\n <ac:rich-text-body>\n <p>\n <ac:structured-macro ac:macro-id=\"c9a73785-c874-4cb2-a723-1699b26f27e1\" ac:name=\"status\" ac:schema-version=\"1\">\n <ac:parameter ac:name=\"colour\">Red</ac:parameter>\n <ac:parameter ac:name=\"title\">UNSuccessful</ac:parameter>\n <ac:parameter ac:name=\"\"/>\n </ac:structured-macro>\n </p>\n </ac:rich-text-body>\n </ac:structured-macro>\n </ac:rich-text-body>\n </ac:structured-macro>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </ac:rich-text-body>\n </ac:structured-macro>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </ac:rich-text-body>\n</ac:structured-macro>"}]},{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"Macro structure"}]},{"type":"paragraph","content":[{"type":"text","text":"You can recreate the example in the editor view:"}]},{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"6zfrhdzzvp","extensionKey":"paragraph","name":"Image","isRequired":false,"atlassian-macro-output-type":"INLINE"},"layout":"default","localId":"dc67dff1-43f5-4fac-aba0-0e9c1c1efe58"}},{"type":"heading","attrs":{"level":2},"content":[{"type":"text","text":"Steps"}]},{"type":"extension","attrs":{"extensionType":"com.atlassian.confluence.macro.core","extensionKey":"paragraph","parameters":{"id":"x1tdpcbzum","extensionKey":"paragraph","name":"Steps","isRequired":false,"atlassian-macro-output-type":"BLOCK"},"layout":"default","localId":"4cfcd316-3fca-4512-918e-7ca3bc98fffe"}}]} |
---|
fieldGroupName | migrated |
---|
fieldGroupId | o37shtl6gj |
---|
excerpt | Scenario We want a method of listing down action items, its workflow, and the individual steps that are needed to complete the workflow. We also want to track whether each individual step was carried out successfully. Result Recipe Ingredients Apps Scaffolding Platform Server, Data Center Level Easy Estimated time 10 minutes ⏱ Macros List Data, List Option, Table Data, Text Data Storage format You can copy and paste this code into a Confluence Source Editor : <ac:structured-macro ac:macro-id="b12ad767-7a48-4236-9994-3b8b9b117036" ac:name="table-data" ac:schema-version="1"> <ac:parameter ac:name="name">ActionTable</ac:parameter> <ac:rich-text-body> <table class="wrapped relative-table" style="width: 65.5054%;"> <colgroup> <col style="width: 30.4538%;"/> <col style="width: 69.5462%;"/> </colgroup> <tbody> <tr> <th>Action</th> <th>Workflow</th> </tr> <tr> <td> <div class="content-wrapper"> <ac:structured-macro ac:macro-id="fad3c9ce-ad8f-409a-93de-dea0ba453ba5" ac:name="text-data" ac:schema-version="1"> <ac:parameter ac:name="name">ActionName</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="c0857c54-f537-4920-b237-e67cc45d83a4" ac:name="table-data" ac:schema-version="1"> <ac:parameter ac:name="name">Steps</ac:parameter> <ac:rich-text-body> <table class="wrapped"> <tbody> <tr> <th>Steps</th> <th>Status</th> </tr> <tr> <td> <div class="content-wrapper"> <ac:structured-macro ac:macro-id="607ae4c7-851a-44e7-b62a-019610470b07" ac:name="text-data" ac:schema-version="1"> <ac:parameter ac:name="name">Step</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="7cae4209-d44b-4c64-b553-e228d0da03a3" ac:name="list-data" ac:schema-version="1"> <ac:parameter ac:name="name">Status</ac:parameter> <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter> <ac:rich-text-body> <ac:structured-macro ac:macro-id="a9698492-54a9-42e6-aa48-b9a33e340b53" ac:name="list-option" ac:schema-version="1"> <ac:parameter ac:name="value">Successful </ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="6f2e538f-63c2-4863-92cf-f7ad4c807322" ac:name="status" ac:schema-version="1"> <ac:parameter ac:name="colour">Green</ac:parameter> <ac:parameter ac:name="title">Successful </ac:parameter> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> <ac:structured-macro ac:macro-id="e5a337d7-530f-481a-abf0-ec251488c870" ac:name="list-option" ac:schema-version="1"> <ac:parameter ac:name="value">Not Successful </ac:parameter> <ac:rich-text-body> <p> <ac:structured-macro ac:macro-id="c9a73785-c874-4cb2-a723-1699b26f27e1" ac:name="status" ac:schema-version="1"> <ac:parameter ac:name="colour">Red</ac:parameter> <ac:parameter ac:name="title">UNSuccessful</ac:parameter> <ac:parameter ac:name=""/> </ac:structured-macro> </p> </ac:rich-text-body> </ac:structured-macro> </ac:rich-text-body> </ac:structured-macro> </div> </td> </tr> </tbody> </table> </ac:rich-text-body> </ac:structured-macro> </div> </td> </tr> </tbody> </table> </ac:rich-text-body> </ac:structured-macro> Macro structure You can recreate the example in the editor view: Steps | propertyKeys | On a draft page add a Table Data macro add a 2 x 2 table to the macro body add header rows Action and Workflow In the first column of the table ( Action column) add a Text Data macro In the second column of the table ( Workflow column) add another Table Data macro add another 2 x 2 table (within this second Table Data macro) add header rows Steps and Status add a Text Data macro (for "Steps") in the first column add a List Data macro (for "Status") in the second column nest one or more List Options macros in the List Data macro (one for each required status) Save the page On the saved page choose Edit Contents add Actions , Workflow , Steps and Status Save the content |
---|
propertyKeys | ["net.customware.confluence.plugin.scaffolding__o37shtl6gj__data_0_zzriqt6gbptdp7jombj7"] |
---|
|