Obtain Team Name Using Sugar Logic

Does anyone know how to get the Team Name for a record with Sugar Logic using the Formula Builder?

I believe I could manually update the Extension file for the field, but if someone wants to update the formula at a later date, they will get an error if trying to access the $team_name property.

Parents Reply
  • My quick and dirty solution was to add a custom Team Name field (team_name_c) to the modules that I wanted to have the team be available and create a before_save logic hook that took the name of the selected team from the record and store it in the custom field.

    class SaveTeamName {
          public function save($bean, $event, $arguments)
          {
                $bean->team_name_c = $bean->team_name;
          }
    }
Children
No Data