Attributes define the characteristics of a specific object and provide essential information about it. They act as descriptive elements that help users understand and work with the object. The specific attributes available can vary depending on the app and its configuration.
In Dawiso, attributes are categorized into two types:
- User-generated attributes: Created and managed manually by users to add custom details.
- Scanned attributes: Automatically retrieved from metadata sources during the data ingestion process.
User-generated attributes
These are attributes that users can manually add and edit to provide custom details or additional information about an object.
- Example: calculations, descriptions
For more information on how to create these, see WYSIWYG HTML editor.
Scanned attributes
These attributes are specific to objects in metadata apps and are automatically retrieved during data ingestion. They can’t be edited by users.
- Example: IDs, data types.
For more information, see metadata apps.
Embedded attribute value
You can embed the value of an attribute as synced blocks in text editors.
- In your text editor, press
/and select Attribute Value. - Select your object and choose which of the embeddable values you want to insert.
- The embed is clearly marked, and clicking it leads to the source object. The embed updates automatically within seconds of a change to the original, longer if many objects embed it or several changes happen in a row.
Some object types require a specific attribute to be filled in before their objects can be embedded. An administrator sets this restriction per object type; it has no corresponding setting in the app’s UI.
If you pick an object of such a type while that attribute is empty:
- The dialog names the missing attribute, for example: “To embed this object, fill in the ‘Availability’ attribute.”
- You can’t confirm until you pick a different object or fill in the attribute on the source object. Both the object and the attribute value are required fields.
- For rich-text attributes, content that only looks empty (blank lines, spaces, non-breaking spaces) still counts as not filled in.
Embedded values that already exist keep displaying and saving even if the required attribute is later left empty. The same rejection applies if:
- Someone else empties the attribute between when you pick the object and when you save.
- You revert an attribute to a version with such an embed.
- You create an object through the API with such an embed.
How the embed displays depends on the source attribute type:
| Attribute type | Embed display |
|---|---|
html | Keeps its formatting. Headings, lists, and inline styles appear in the embed as they do in the source field. |
is_yes_no, is_yes_no_icon | Displays as the attribute’s label or icon. |
| Other types (script, SQL, plain text, and so on) | Displays as literal text; markup and code appear exactly as written instead of being interpreted as formatting. |
is_markdown | Shown formatted, both in the preview in the Embedded text dialog and in the inserted embed, in the editor and on the read-only page. |
Example embed: Download the full example Recipe Manager application package here: Recipe Manager (Tutorial App).json
If your source object is in a private space or subspace, the embed is still linked to the object but shows an inaccessible space.
Embedding cycles
An embed can’t point back to itself, directly or through other objects. If it would, Dawiso rejects the save with a message explaining the cycle (the object’s name is omitted if you lack read access to it). The same check applies when you save in the text editor, revert changes, apply a concept, or approve a concept. Remove the embed that closes the loop and save again.
Reaching the same text by two different paths isn’t a cycle and is allowed: for example, A can embed B and C while B also embeds C.
When embeds are created in the background, an embed that would close a cycle is skipped and the rest of the work continues; the task log names the skipped embed. This covers:
- An Excel import
- Recalculating embedded texts
- Bulk domain linking
- Automation actions that set a value
- Publishing several concepts at once
Existing cycles in your data are left as they are and still show an unresolved token inside the nested text.
List of available attributes
For the full list of predefined attributes in Dawiso, see Developer Documentation.