Copied to clipboard

Flag this post as spam?

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


  • David 5 posts 75 karma points
    Oct 12, 2016 @ 17:56
    David
    0

    Identifying usage of uComponents

    I have just upgraded an Umbraco site from 6.x to 7.x that had uComponents installed. I understand uComponents is not compatible and will need to remove it. I've successfully removed the uComponents package. How can identify in my Umbraco site where uComponents was being utilized to change data types and controls?

  • Marc Goodson 2155 posts 14408 karma points MVP 9x c-trib
    Oct 15, 2016 @ 15:37
    Marc Goodson
    2

    Hi David

    When you upgrade an Umbraco 6 site to Umbraco 7, the upgrade process tries to map any incompatible property editors from Umbraco 6 to known equivalents in Umbraco 7.

    For property editors that have no known equivalent the upgrade process will convert them to readonly Label Data Types.

    So if you look at each document type in turn you can see which properties are now Labels and these are the ones that will need updating with new equivalent packages (check out nuPickers for lots of equivalent uComponents editors in Umbraco 7)

    https://our.umbraco.org/projects/backoffice-extensions/nupickers/

    You could query the database directly to see a list of your property editors and their types: eg

    SELECT TOP 1000 cmsPropertyType.Alias as 'Property Alias' , cmsPropertyType.Alias as 'Property Name',  cmsContentType.alias as 'DocumentType',cmsPropertyTypeGroup.text as 'Tab',  umbracoNode.text as 'Data type'
      FROM [ppg-refinish].[dbo].[cmsPropertyType]
      Inner Join cmsContentType on cmsContentType.nodeId = cmsPropertyType.contentTypeId
      INNER JOIN cmsDataType ON cmsDataType.nodeId = cmsPropertyType.datatypeid
      INNER JOIN umbracoNode on umbracoNode.id = cmsDataType.nodeId
      INNER JOIN cmsPropertyTypeGroup on cmsPropertyTypeGroup.id = cmsPropertyType.propertyTypeGroupId
    

    or you could install the package called 'Diplo GodMode' https://our.umbraco.org/projects/developer-tools/diplo-god-mode/

    Which gives you a nice interface in the backoffice to find out about your Umbraco install, including a Document Type browser which will allow you to search for all Document Types that use a particular editor, eg Label!

    regards

    Marc

  • David 5 posts 75 karma points
    Oct 17, 2016 @ 18:52
    David
    0

    Very helpful! Thank you Marc!

Please Sign in or register to post replies

Write your reply to:

Draft