Okay, so Retrieving ID/Unique of the current pages parent clarifies the issue with e.g. UMB_DOCUMENT_WORKSPACE_CONTEXT
. I did not see this post until after I published mine.
However, it has now become more clear that my issues are:
- Getting parent node ID from unpublished content. The suggested workaround in the linked issue does not work for me in that case
- Getting parent node ID when property editor lives inside of a block grid block