Forum Discussion

angela's avatar
angela
Catalyst II
6 years ago
Solved

What is the purpose of the hide_where_used property in ItemType definitions?

Hi Community,

I have discovered that all ItemTypes contain a property "hide_where_used". The property is not visible in the ItemTypes Form editor by default, but of course we can add it manually. The property has it´s roots in the ItemType "ItemType".

What is the purpose of this property and how can we use it? When I understand it´s name correctly, it should allow us to hide the Where Used feature for specific ItemTypes. Right now the property is set to "1" for the ItemType "User" only, which would be completely reasonable cause of security reasons.

But the property don´t work. Or it worked in the past, but is not supported any more. When I set it to 1 in my custom ItemTypes, Where Used will never be hidden.

Does anybody know more about this property? Does anyone know how to use it?

Thanks!

Angela

  • Hi Angela,

    I haven't seen this property before. My guess would be that it's an older property from before most of the menu options were rendered using CUI and that it's now kept around for legacy purposes. If you want to hide the Where Used from a specific item now, you can do so using CUI. 

    Chris

2 Replies

  • Hi Angela,

    I haven't seen this property before. My guess would be that it's an older property from before most of the menu options were rendered using CUI and that it's now kept around for legacy purposes. If you want to hide the Where Used from a specific item now, you can do so using CUI. 

    Chris

    • angela's avatar
      angela
      Catalyst II

      Hi Chris,

      when I now think about this one it´s probably super legacy. Even the hide_where_used for ItemType "User" doesn´t makes much sense. As we cannot specify a target identity, Where Used would have been also be hidden for Admins. 

      The CUI option is really the best variant for this one![emoticon:fbd079a1c4f748c5a234faee215de9cc]

      Thanks for taking your time!