I am just starting to build a new site with Umbraco 14. I'm trying to use the new markdown syntax to format labels in the backoffice. Before, it was very easy to access properties of things link url pickers. However, the documentation is very sparse when it comes to the capabilities of markdown in labels.
First, is there anyway to use fallback logic if the property I want to display doesn't have a value?
Second, can I access properties of of properties like I could with the angularjs syntax below?
Thanks. I've already stumbled across Joe Glombek's blog post. That was about the most helpful thing so far. It's disappointing that Umbraco half baked this implementation and didn't provide proper documentation. Looks like for now, if I want to continue to use functionality that existed in previous versions, I'm going to have to roll my own.
Umbraco Flavored Markdown (UFM) syntax for labels
I am just starting to build a new site with Umbraco 14. I'm trying to use the new markdown syntax to format labels in the backoffice. Before, it was very easy to access properties of things link url pickers. However, the documentation is very sparse when it comes to the capabilities of markdown in labels.
First, is there anyway to use fallback logic if the property I want to display doesn't have a value?
Second, can I access properties of of properties like I could with the angularjs syntax below?
Hi Dan
There is a good write-up here from Joe Glombek
https://joe.gl/ombek/blog/ufm/
I think it is still the situation that UFM is new and not all scenarios are implemented yet...
https://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown#available-ufm-components
I think this is the list of UFM components currently existing:
https://github.com/umbraco/Umbraco.CMS.Backoffice/tree/dac0c038e3b299cd08b3f681b52aac9d317947f5/src/packages/ufm/components
and the advice is, I think to roll your own:
https://docs.umbraco.com/umbraco-cms/reference/umbraco-flavored-markdown#custom-ufm-components
Unless someone somewhere has some worked out!
regards
Marc
Thanks. I've already stumbled across Joe Glombek's blog post. That was about the most helpful thing so far. It's disappointing that Umbraco half baked this implementation and didn't provide proper documentation. Looks like for now, if I want to continue to use functionality that existed in previous versions, I'm going to have to roll my own.
is working on a reply...