Legacy Knowledge Base
Published Jun. 30, 2025

Screen name should not be required when Autogenerate User Screen Names is enabled

Written By

Marcos da Silva Xavier

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • When enabling Autogenerate User Screen Names, the Object Action still mandates a Screen Name field, which is an inconsistency.
  • The aforementioned behavior can be reproduced by doing the following steps:

      1. Go to Instance Settings → Users → Fields
      2. Enable Autogenerate User Screen Names
      3. Create a new Liferay Object
      4. Go to Actions → Add Object Action → Action Builder
      5. For Trigger → When, select Standalone
      6. For Action → Then, select Add a new Object Entry on User

Environment

  • Liferay DXP 7.4+
  • Liferay DXP Quarterly Releases

Resolution

  • Unfortunately, this is an intended behavior, however as a workaround, in order to bypass the required field, you can fill the “wrong mandatory” field with a “–fixed string–” value.

  • When the action is performed, the system, because the instance settings is turned on, ignores it and generates a correct screen name.

 

 

 

Did this article resolve your issue ?

Legacy Knowledge Base