AnsweredAssumed Answered

(Solved) userid = email address

Question asked by michaelc on Sep 28, 2012
Latest reply on Mar 5, 2015 by afaust
I expect someone has done this, just not me.
I want to change the invite external users to create the user id as there email vs. creating the user id as firstname_lastname.

I followed the code and found in alfresco\web-inf\classes\alfresco\templates\webscripts\org\alfresco\respository\site\invation\ the following code
         var inviteeFirstName = json.get("inviteeFirstName")  ;
         var inviteeLastName = json.get("inviteeLastName") ;
         var inviteeEmail = json.get("inviteeEmail") ;
         invitation = site.inviteNominated(inviteeFirstName, inviteeLastName, inviteeEmail, inviteeRoleName, acceptUrl, rejectUrl);

  but I don't know where this code is.

  I tried to set it in the frontend javascript module  invationlist.js, it created the user but the email didn't happen.

  anyone have a pointer for me ?