Skip to content
Merged
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
16 changes: 12 additions & 4 deletions 17/umbraco-cms/reference/umbraco-flavored-markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,13 @@ All expressions are evaluated in a sandbox. Only safe operations and methods are

The following UFM components are available to use.

* Label Value
* Localize
* Content Name
* Link Title
| Name | Example syntax |
| ------------ | -------------------------------------- |
| Label Value | `{umbValue: headline}` |
| Localize | `{umbLocalize: general_name}` |
| Content Name | `{umbContentName: pickerAlias}` |
| Link Title | `{umbLink: pickerAlias}` |
| Form Name | `{umbFormName: formAlias}` |

More UFM components will be available in upcoming Umbraco releases.

Expand Down Expand Up @@ -155,6 +158,11 @@ The Link Title component will render the title of a link from the value of a giv

The alias prefix is `umbLink`. An example of the syntax is `{umbLink: pickerAlias}`, which would render the component as `<ufm-link alias="pickerAlias"></ufm-link>`.

#### Form Name
The Form Name component will render the name of a selected form. See ["Block List Labels" section in Umbraco Forms documentation](https://docs.umbraco.com/umbraco-forms/16.latest/developer/blocklistlabels) for more information.

The alias prefix is `umbFormName`. An example of the syntax is `{umbFormName: formAlias}`, which would render the component as `<ufm-form-name alias="pickerAlias"></ufm-form-name>`.

### Custom UFM components

If you wish to develop your own custom UFM component, you can use the `ufmComponent` extension type:
Expand Down
Loading