Link Multiple Field in User

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • krishnapriya
    Senior Member
    • Aug 2017
    • 209

    Link Multiple Field in User

    Hi,

    There is already a many-to many relation between user and teams. I created another many-to-many relationship between user and team saved in another mid table 'permissions'.

    Data was saved properly. But if I try console.log(this.getUser()) it displays teamsIds and teamsNames but there is no permissionsIds and permissionsNames.

    Is there anything I missed to do. Please help.

    Thanks.
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    try to load this relation in loadAdditianalFields method in user service

    Comment


    • krishnapriya
      krishnapriya commented
      Editing a comment
      Hi Tanya, I have already tried that $entity->loadLinkMultipleField('permissions'); in user service. Still not working
Working...