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
Is there any way for me to get to the umbraco settings?I'd like to access the urlReplacing properties so that I don't have to have redundant replace settings.
You can access it through this:
var chars = umbraco.UmbracoSettings.UrlReplaceCharacters;
I don't think there's a way via the newer namespaces as the class is currently marked as internal.
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
Access umbracoSettings from Controller?
Is there any way for me to get to the umbraco settings?
I'd like to access the urlReplacing properties so that I don't have to have redundant replace settings.
You can access it through this:
I don't think there's a way via the newer namespaces as the class is currently marked as internal.
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.