octavian_krody
3 years agoGuide
How to retrieve node quilt template, not all settings return proper values.
During the page initialization script I'd like to be able to read the grouphub quilt configured for the node
I'm using
coreNode.settings.name.get("form.ApplyQuilt.field.quilt.grouphubpage", "my-default-value")
and it always returns my-default-value while
coreNode.settings.name.get("layout.announcements", "my-default-value")
returns as expected configured value.
Any ideas how I can access said setting?
The setting name is just "quilt.GroupHubPage" (not 100% if it's case-sensitive). If you get that setting it should work.