Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • DANIEL ELLINGSEN LUND 4 posts 75 karma points
    Jul 03, 2018 @ 09:00
    DANIEL ELLINGSEN  LUND
    0

    Compilation Error using TaxonomyService

    Hello. I am having some problems with the TaxonomyService, getting a compilation error CS0103: The name 'TaxonomyService' does not exist in the current context each time I try to return the taxonomy model as per the documentation(s).

    I am referring "Delete.uTaxonomy.Models", and have success at getting the tags from "var taxonomy = ((IEnumerable

    Could anyone point me in the right direction? Using version 7.9.2

    Also wondering about the "TaxonomyItem" model mentioned in one of the documentations: https://our.umbraco.com/projects/backoffice-extensions/utaxonomy/utaxonomy/88339-documentation

    Is this in use, and if so how to use it? I see no reference to it other than this post.

  • DANIEL ELLINGSEN LUND 4 posts 75 karma points
    Jul 25, 2018 @ 10:16
    DANIEL ELLINGSEN  LUND
    0

    Poked around in the dll-file and found out I have to add "@using Delete.uTaxonomy.Services".

    I had tried to add "@using Delete.uTaxonomy.Service", but was missing the s at the end of Services. What a difference a single letter can do... :)

  • Vetrivel 21 posts 130 karma points
    Feb 13, 2020 @ 10:32
    Vetrivel
    0

    Hi DANIEL ELLINGSEN LUND, I need to use Taxonomy in my project, I found a below link for uTaxonomy integration, I user the below link to install uTaxonomy, https://our.umbraco.com/packages/backoffice-extensions/utaxonomy/.

    I didn't get any installation error, But, my local Umbraco site cannot reached, Am I missing Something? Expect your replay. enter image description here

  • DANIEL ELLINGSEN LUND 4 posts 75 karma points
    Feb 14, 2020 @ 07:43
    DANIEL ELLINGSEN  LUND
    1

    Hello. From what I can see from the error is that you are using Umbraco 8, correct? This package is not compatible with Umbraco 8.

    The message says that it is trying to load "Umbraco.Core.ApplicationEventHandler", but this has been removed from Umbraco 8 and replaced with Composer & Components.

    I recommend asking the author of the package for an code-update, or if you know yourself you could go to the source code and update and build it to be used in Umbraco 8.

    The https://bitbucket.org/delete-ondemand/delete.utaxonomy/src/default/Delete.uTaxonomy/Events/ must be replaced by Composer & Components, see: https://our.umbraco.com/Documentation/Tutorials/Porting-Packages-V8/#bye-bye-applicationeventhandler-hello-composer--components

    The other .cs files may also need to be updated with dependency injection for services and some method name changes.

    The app plugin should be fine as is.

    I may have a look at it next week if you want, as I am sadly busy until next Tuesday.

  • Vetrivel 21 posts 130 karma points
    Feb 14, 2020 @ 07:51
    Vetrivel
    0

    Thanks for your replay Daniel, Yes I am using Umbraco 8 I try with my side, will update you once i got some solution, and also I need your support too.

    :)

Please Sign in or register to post replies

Write your reply to:

Draft