I am trying to customize the Detail Portlet on User Application version
3.5 to view an entity other than user.

I login on as admin on user application portal, next

1) I Open the 'DetailPortlet' Preferences
2) Add the new entity and and select the needed attributes.
3) After all the attributes are selected I follow all steps as document
10100518 to save the portlet configuration

When I test the changes, I received always the follow error:

"The definition for the entity you are trying to view has not been defined
in the Detail portlet preferences".

This problem happens for a new entity that I created, in the DAL, to
manage user class with some attribute.

When this error happen, the detail portlet back to defaul configuration.

What can I do to resolve this?

Many Thanks