Behaviour of Multiple Layout Sets for User Assigned to Multiple Teams

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IshitaRana
    Junior Member
    • Apr 2025
    • 15

    #1

    Behaviour of Multiple Layout Sets for User Assigned to Multiple Teams

    Hi,

    If I assign a user to two different teams, and each team is assigned a different layout set, and both layout sets define different layouts for the same entity (e.g., Case), which layout will be visible to that user when accessing that entity?

    How does EspoCRM resolve layout conflicts in such a case — is there a priority, fallback, or merge strategy?
  • yuri
    Member
    • Mar 2014
    • 9191

    #2
    Hi Ishita,

    The layout set for a user is determined by the Default Team assigned to the user. A user can have only one Default Team.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • IshitaRana
      Junior Member
      • Apr 2025
      • 15

      #3
      But what if we don't set a default team and just assign the user to two different teams?

      Comment

      • yuri
        Member
        • Mar 2014
        • 9191

        #4
        If there's no default team, the Team's layout set won't be applied.

        You can apply layout set to users directly. Available for regular and admin users, the Layout Set field in the User edit view.
        If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

        Comment

        • Ashif Malayil
          Senior Member
          • Dec 2023
          • 216

          #5
          IshitaRana, There is no priority or fallback mechanism beyond the Default Team. If the Default Team has a layout set defined for the entity, that layout set is used exclusively. If no layout set is defined for the Default Team, the system falls back to the standard layout defined in the Entity Manager for that entity.
          If you need different layouts for the same user based on context, you might need to use Dynamic Logic to conditionally show/hide fields or panels based on team or other criteria, as Layout Sets are tied to the Default Team and not dynamically merged.

          Comment

          Working...