cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to hide specific attribute of existing item type in backoffice editor area?

Former Member
0 Likes
1,306

I would like to hide/remove "encodedPassword" attribute from item type "User" in backoffice editor area. I have seen older posts where it is recommended to use hiddenForUI="true" in items.xml but this apporach is only possible for new item types since you cannot redeclare attribute of existing Item Type. Any ideas how to resolve this?

Thank you, Boban

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member727307
Discoverer
0 Likes

Hi Boban,

Could you please put an example here? I am having the same requirement.

Thanks in advance.

Former Member
0 Likes

Hi Boban,

If you are looking for resolving it in UI, without changes to types you have a few options - all of them require editing the backoffice editor-area for User type.

Your problem is result of Unbound Section, which displays all the attributes not listed in any other section. (link Editor area page)

You could try the following:

  • Overrwrite the UnboundSectionRenderer (with proper xml configuration) to skip the encoded password field

  • Put the encoded password in different section (so it doesn't appear in Unbound section), and make it invisible using merge-mode="remove"

  • Remove Unbound section all together ( possibly moving fields you find useful to different one).

Hope this helps.
Best Regards,

0 Likes

Hey If we move it to other section and use merge-mode="remove" will it work? I tried this and happens it didn't work.It appears to be in unbound section.

Former Member
0 Likes

How are you moving it to the different section?

former_member625836
Active Contributor
0 Likes

Hi ,

Maybe a simple impex would do the work - in the end it is only a flag in database.

Cheers, Jacek