Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/includes.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,19 @@ Please note the specific format for link-type columns (structure of the array ob

<!--rowstructure-end-->

<!--examplesmaterial-start-->

For each example, you'll need a special base structure so that you can just copy&paste the scripts into SeaTable and run them.

If you don't want to recreate the tables, here are two bases containing the tables required for each example, depending on whether you want to recreate the scripts yourself or you prefer them to already be present:

- [Examples material (without scripts)](/media/SeaTable examples material (without scripts).dtable)
- [Examples material (scripts included)](/media/SeaTable examples material (scripts included).dtable)

Once downloaded, you can easily [create a base from the DTABLE file](https://seatable.com/help/erstellen-einer-base-aus-einer-dtable-datei/).

<!--examplesmaterial-end-->

<!--add-row-example-start-->
# Add rows

Expand Down
Binary file not shown.
Binary file not shown.
8 changes: 7 additions & 1 deletion docs/scripts/javascript/examples/index.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Examples

This documentation currently contains three easy-to-follow examples of JavaScript scripts. For each example, you'll need a special base structure so that you can just copy&paste the scripts into SeaTable and run them.
This documentation currently contains three easy-to-follow examples of JavaScript scripts.

{%
include-markdown "includes.md"
start="<!--examplesmaterial-start-->"
end="<!--examplesmaterial-end-->"
%}

## Add rows

Expand Down
6 changes: 5 additions & 1 deletion docs/scripts/python/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ This section contains some examples of Python Scripts. The **first three scripts

Even if Python scripts are capable of checking if the base structure (tables and columns) needed exist and of creating it if necessary, we didn't implement this feature in the scripts so you can focus on the actual goal of each script.

For each example, you'll then need a special base structure so that you can just copy&paste the scripts into SeaTable and run them.
{%
include-markdown "includes.md"
start="<!--examplesmaterial-start-->"
end="<!--examplesmaterial-end-->"
%}

# Add rows

Expand Down