Create document
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
- Click on Container in the drop-down list that appears
- Fill out the mandatory 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 certs/owner.p12.pem \ -p "${OWNER_KEY_PASSWORD}" \ --title "${title}" \ --slug "${slug}" \ --parent "https://localhost:4443/" \ "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.