Create documents
Learn how to create container and item documents
To create a container document (which can have children documents), follow these steps:
- Click the Create dropdown in the top-left corner and select Container. This will open a new form.
- Fill out the mandatory Container fields in the form:
- Title
- Enter Concepts
- URI slug
- Enter concepts — this will be the relative path of the container
- Click Save
See how below:
Replace $OWNER_KEY_PASSWORD
with its value from the .env file and execute the following command:
pushd . && cd "$SCRIPT_ROOT" ./create-container.sh \ -b "https://localhost:4443/" \ -f "$cert_pem_file" \ -p "$cert_password" \ --title "$title" \ --slug "$slug" \ --parent "https://localhost:4443/" popd
A container titled Concepts should appear with the URI https://localhost:4443/concepts/.
To create an item document, choose Item at step #2 above.