It's not because something that is marked obsolete, that it is not working. A few methods have been deprecated because there will be (a better / easier) alternative in v8. However v8 is not launched yet. So for many calls you do not need to panic.
If the "obsoleted" method is not mentioning what you SHOULD use, then don't change it yet.
Modules in C# need to get value from Umbraco
Hi I need to get a value from Umbraco in a module, but no matter what I try I cannot get it to work as cannot get the value, can anyone help please.
My code is below:
The value can be on any Umbraco page/doctype
look this: http://dejanstojanovic.net/umbraco-cms/2015/march/accessing-umbracohelper-in-httphandler-request/
Hi Marcio Goularte
Think I came across that post before, looked at so many so not sure. I get message 'UmbracoContext.EnsureContext' is obsolete.
Is it possible for another example
Hi,
Even being obsolete I have used it without problems. But see this link
http://jondjones.com/learn-umbraco-cms/umbraco-developers-guide/umbraco-api-explained/umbracohelper-vs-contenttypeservice?google=amp
It's not because something that is marked obsolete, that it is not working. A few methods have been deprecated because there will be (a better / easier) alternative in v8. However v8 is not launched yet. So for many calls you do not need to panic.
If the "obsoleted" method is not mentioning what you SHOULD use, then don't change it yet.
is working on a reply...