AnsweredAssumed Answered

Default assigned user

Question asked by Jorge Pereira on Dec 21, 2016
Latest reply on Feb 8, 2018 by Patrick McQueen



In Sugar, I'm trying to create a record with a default assigned user different than the current user.


I've tried with:

$dictionary['my_module']['fields']['assigned_user_id']['default'] = '<user_id>';

but without success. 


Any one can help me?


P.S.: At this point my only way is do this with a before_save hook.