Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(user): more tweaks to promoted attributes
Elian Doran5d27245030f2
diff --git a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.htmlindex 77ea78ec37..77136bd4e2 100644--- a/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html+++ b/apps/server/src/assets/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.html@@ -46,6 +46,13 @@<ul><li>The list is not fixed, meaning that new options can be easily added fromthe promoted attribute.</li>+ <li>Renaming an option does not change the existing values since the value+ is stored as text. Consider a <a href="#root/pOsGYCXsbNQG/tC7s2alapj8V/_help_ivYnonVFBxbQ">bulk rename</a>.</li>+ <li>The items do not have a custom color or icon. This is intentional as selects+ are meant to be light-weight. For a more customizable option, consider+ using <a class="reference-link" href="#root/pOsGYCXsbNQG/tC7s2alapj8V/zEY4DaJG4YT5/_help_Cq5X6iKQop6R">Relations</a> instead+ which use notes as items and those notes can be colorized and also carry+ an icon.</li></ul></li><li><em>Date, </em>which provides a date picker.</li>@@ -176,4 +183,13 @@<p>What this does internally is that whenever we save a relation which hasdefined inverse relation, we check that this inverse relation exists onthe relation target note. Similarly, when we delete relation, we also delete- inverse relation on the target note.</p>\ No newline at end of file+ inverse relation on the target note.</p>+<h2>See also</h2>+<ul>+ <li>+ <p>The <a class="reference-link" href="#root/pOsGYCXsbNQG/GTwFsgaA0lCt/_help_2FvYrpmOXm29">Table</a> collection+ makes heavy use of promoted attributes to define the columns of the table,+ since they already carry the type information. When made inheritable, it's+ also easy to change those fields when the child notes are opened.</p>+ </li>+</ul>\ No newline at end of filediff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.jsonindex 574183dcd4..488afaac00 100644--- a/docs/User Guide/!!!meta.json+++ b/docs/User Guide/!!!meta.json@@ -16069,6 +16069,20 @@"value": "HI6GBBIduIgv","isInheritable": false,"position": 80+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "ivYnonVFBxbQ",+ "isInheritable": false,+ "position": 90+ },+ {+ "type": "relation",+ "name": "internalLink",+ "value": "2FvYrpmOXm29",+ "isInheritable": false,+ "position": 100}],"format": "markdown",diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.md b/docs/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.mdindex e8205b3bd8..6e3d9d1bb0 100644--- a/docs/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.md+++ b/docs/User Guide/User Guide/Advanced Usage/Attributes/Promoted Attributes.md@@ -34,6 +34,8 @@ The following types are supported:* _Boolean_, which renders as a checkbox for a true/false value.* _Select,_ which provides a list of user-defined options when editing.* The list is not fixed, meaning that new options can be easily added from the promoted attribute.+ * Renaming an option does not change the existing values since the value is stored as text. Consider a [bulk rename](../Bulk%20Actions.md).+ * The items do not have a custom color or icon. This is intentional as selects are meant to be light-weight. For a more customizable option, consider using <a class="reference-link" href="Relations.md">Relations</a> instead which use notes as items and those notes can be colorized and also carry an icon.* _Date,_ which provides a date picker.* _Date & Time,_ which provides a date & time picker.* _Time,_ which provides a time picker.@@ -97,4 +99,8 @@ Another example is with parent-child relationship. Again these always occur in pRelation definition allows you to specify such "inverse relation" - for the relation you just define you specify which is the inverse relation. Note that in the second example we should have two relation definitions - one for `isParentOf` which defines `isChildOf` as inverse relation and then second relation definition for `isChildOf` which defines `isParentOf` as inverse relation.-What this does internally is that whenever we save a relation which has defined inverse relation, we check that this inverse relation exists on the relation target note. Similarly, when we delete relation, we also delete inverse relation on the target note.\ No newline at end of file+What this does internally is that whenever we save a relation which has defined inverse relation, we check that this inverse relation exists on the relation target note. Similarly, when we delete relation, we also delete inverse relation on the target note.++## See also++* The <a class="reference-link" href="../../Collections/Table.md">Table</a> collection makes heavy use of promoted attributes to define the columns of the table, since they already carry the type information. When made inheritable, it's also easy to change those fields when the child notes are opened.\ No newline at end of file