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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...