Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Now we can move on to #2 and create some views over the data

The table we query has 3 columns, and just 2 rows at the moment

You can see this by placing one of the views macros (TableView, ListView or PlainView) and seeing it in the preview mode

 

Image Added

Here is the live data from this configuration:

  • as Table (ConfiDoc TableView)

      ConfiDoc TableView Macro

    serviceIdfa7cbd79-df33-4978-a9ea-889c3da17902
    nameName

    linkLinkLink

    Expand
    titleConfiguration in storage format
    Code Block
    <ac:structured-macro ac:macro-id="58f5fa4c-3ee3-4e71-bbb4-b70fb611ab17" ac:name="confidoc-table" ac:schema-version="1">
            <ac:parameter ac:name="serviceId">fa7cbd79-df33-4978-a9ea-889c3da17902</ac:parameter>
            <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
            <ac:rich-text-body>
              <p>
                <ac:structured-macro ac:macro-id="ab84a999-05b9-4803-9675-5ccbe90fa386" ac:name="confidoc-field" ac:schema-version="1">
                  <ac:parameter ac:name="name">name</ac:parameter>
                  <ac:parameter ac:name="label">Name</ac:parameter>
                </ac:structured-macro>
              </p>
              <p>
                <ac:structured-macro ac:macro-id="1e2b6020-2442-4c07-828c-6e3092045310" ac:name="confidoc-field" ac:schema-version="1">
                  <ac:parameter ac:name="name">link</ac:parameter>
                  <ac:parameter ac:name="label">Link</ac:parameter>
                  <ac:parameter ac:name="type">Link</ac:parameter>
                </ac:structured-macro>
              </p>
            </ac:rich-text-body>
          </ac:structured-macro>
  • as List (ConfiDoc ListView)

    ConfiDoc ListView Macro
    serviceIdfa7cbd79-df33-4978-a9ea-889c3da17902

    nameName

    linkLinkLink

    Expand
    titleConfiguration in storage format

    <ac:structured-macro ac:macro-id="57192aef-e4cd-428b-9a7c-9ef95d572ba8" ac:name="confidoc-list" ac:schema-version="1">
    <ac:parameter ac:name="serviceId">fa7cbd79-df33-4978-a9ea-889c3da17902</ac:parameter>
    <ac:parameter ac:name="atlassian-macro-output-type">INLINE</ac:parameter>
    <ac:rich-text-body>
    <h1>
    <ac:structured-macro ac:macro-id="a78f4fc3-a32b-49ef-948b-4561e03aec23" ac:name="confidoc-field" ac:schema-version="1">
    <ac:parameter ac:name="name">name</ac:parameter>
    <ac:parameter ac:name="label">Name</ac:parameter>
    </ac:structured-macro>
    </h1>
    <div>
    <ac:structured-macro ac:macro-id="be458501-230a-4467-b11b-63e7313baa11" ac:name="confidoc-field" ac:schema-version="1">
    <ac:parameter ac:name="name">link</ac:parameter>
    <ac:parameter ac:name="label">Link</ac:parameter>
    <ac:parameter ac:name="type">Link</ac:parameter>
    </ac:structured-macro>
    </div>
    </ac:rich-text-body>

#3 is an option step, which allows you to setup restrictions on ConfiDoc configuration usage.

Go to ConfiDoc connections administration UI and click on edit for our "demo table connnection"

The last setting on the form will help you to define which users and user groups are allowed to use this connection

We set it to be used by "confluence-administrators" group

Image Added