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
How do i access UmbracoContext in a property value converter?
If I inject IUmbracoContextFactory I get an umbraco boot loader failure as it cannot find that type.
Why is there no Current.UmbracoContext?
I am actually trying to access a published content node ..is there a recommended way of doing this?
public class TaxonomyPropertyValueConverter : PropertyValueConverterBase
Reflected on the MultiUrlPicker and copied it. Now injecting
and accessing IPublishedContent off of it.
No idea why this is injectable here while IUmbracoContextFactory is not. But IUmbracoContextFactory is injectable for a component implementing IComponent .... thought the whole point of the injection system was you could get a registered type whenever you wanted it not just at random.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted