Appearance
Markup page Preview
Markup page is one of the notebook page types. You build a dashboard by writing tags for charts and SQL run results defined on a doc page, parameter inputs, headings, and text. In addition to the items you can place on a grid page, you can use conditional display, tabs, collapsible sections, and more.
INFO
This feature is in preview. To request access, contact Codatum support.
Key features
- Layout with tags (side-by-side, vertical, and grid arrangements, cards, tabs, collapsible sections, tables, and more)
- Charts and SQL run results from doc pages, and text and tables that use values from the results
- Parameter inputs and per-element parameter overrides
- Conditional display and repetition for each row of a result
- Pagination of long lists
- Images from URLs in the results (such as images in a list of products)
- Links that set parameters when clicked (such as drill-down, where choosing an item in a list switches to a detailed view)
- Links that move to an element in the page when clicked
- Inputs that choose the value of a parameter on a chart (such as choosing a period on a chart over time, or a value to filter by on a chart by category)
- Mobile layout
- Publishing with reports, public links, and signed embedding
Creating a markup page
- In the page list at the top of the left sidebar in a notebook, select Add > Page > Markup page.
- Select Code in the header to open the Code panel in the right sidebar.
- Write tags in the editor in the panel. The main area shows what you write.
You can also create a markup page from the layout of a grid page by selecting Duplicate as markup page in the grid page's menu.
Code panel
The Code panel in the right sidebar offers tag completion and shows errors in the code. The bottom of the panel has the following tabs.
| Tab | Description |
|---|---|
| Components | Charts and SQL blocks on doc pages, and parameters. You can insert them into the code. |
| Reference | A Guide to writing markup, and descriptions of Elements and Expressions. |
You can also edit markup pages with the Codatum CLI and the AI agent. For details on the syntax, elements, and expressions, see the Codatum CLI documentation (in Japanese).
Running
- Run all runs every chart and SQL result element on the page, including elements hidden by conditions.
- By default, changing a parameter value doesn't run the page. You can set each parameter input so that it runs the page automatically when its value changes.
- The following operations run the elements that refer to the parameters whose values changed:
- Clicking a link that sets parameters
- Switching the page of a list with pagination that uses a parameter