+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Implementing toolbox filtering by role

Implementing toolbox filtering by role

3 posts, 1 answered
  1. Allan
    Allan avatar
    0 posts
    Registered:
    01 Jul 2015
    03 Nov
    Link to this post

    Hi,

    We are trying to implement toolbox filtering by role based on the the steps on the Sitefinity website. http://docs.sitefinity.com/toolbox-filtering-register-the-itoolboxfilter-in-the-objectfactory

    We got the site to compile without any issue.

    On Sitefinity startup, it gives the following error. Does anyone know what the issue is and how to fix this? Thanks.

    Resolution of the dependency failed, type = "Telerik.Sitefinity.DesignerToolbox.IToolboxFilter", name = "(none)". Exception occurred while: while resolving. Exception is: InvalidOperationException - The current type, Telerik.Sitefinity.DesignerToolbox.IToolboxFilter, is an interface and cannot be constructed. Are you missing a type mapping? ----------------------------------------------- At the time of the exception, the container was: Resolving Telerik.Sitefinity.DesignerToolbox.IToolboxFilter,(none)

    Answered
  2. Tracy
    Tracy avatar
    0 posts
    Registered:
    14 Oct 2014
    24 Nov
    Link to this post

    Hi Allan.

    I see this is marked as Answered.   How did you fix this?

    Regards,

    Tracy B

  3. Allan
    Allan avatar
    0 posts
    Registered:
    01 Jul 2015
    24 Nov in reply to Tracy
    Link to this post

    You have to add the scripts and components to the json file

     

    {

      "priority": 1,
      "scripts": [     
            "client-components/selectors/common/sf-selected-items-view.js"
        ],

        "components" : ["sf-dynamic-items-selector", "sf-user-selector"]

        }

3 posts, 1 answered