I haven't tried this yet (but I'll have to do that for SeoToolkit). I think you are able to consume the UMB_CONTEXT (or some other context) to access the properties of the current content item
Patrick de Mooij
10/23/2024, 8:06 AM
UMB_DOCUMENT_WORKSPACE_CONTEXT actually I think
r
rstei
10/23/2024, 12:33 PM
Thanx for response! Do you know how to access UMB_Context or UMB_DOCUMENT_WORKSPACE_CONTEXT?
I found import { UMB_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/workspace'; , but did not find: UMB_DOCUMENT_WORKSPACE_CONTEXT, for example.
Hi again @Niels Lyngsø , we tried this on Umbraco 15, but did not get properties observable that you mention.
(import { UMB_PROPERTY_DATASET_CONTEXT } from '@umbraco-cms/backoffice/property';)
Has this changed in the final version, or are we doing something wrong? Can you give a working example?
n
Niels Lyngsø
11/22/2024, 7:01 PM
Hi @rstei thanks for following up on this. I see this feature did never make it to the 15.0. But is in 15.1 which is released as an RC already next week. — In general you should be looking forward to 15.1 and 15.2, many bug-fixes and alignments will come in these.
https://github.com/umbraco/Umbraco.CMS.Backoffice/pull/2445