Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I don“t know the APIs for managing hostnames.
Hi. Try to use:
umbraco.cms.businesslogic.web.Domain.GetDomainById(nodeid)
It seems to return an array of domains associated with the given node.
Thanks, that works indeed. I hope an API will be added to DynamicNode for use in Razor, something like:
@Model.Hostnames
@Model.Hostnames.Locale
@Model.Hostnames.First()
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
How can I get hostnames and languages for a DynamicNode?
I don“t know the APIs for managing hostnames.
Hi. Try to use:
umbraco.cms.businesslogic.web.Domain.GetDomainById(nodeid)
It seems to return an array of domains associated with the given node.
Thanks, that works indeed. I hope an API will be added to DynamicNode for use in Razor, something like:
@Model.Hostnames
@Model.Hostnames.Locale
@Model.Hostnames.First()
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.