• Updating "Team" field on a related module of a custom module

    Hi! We have a custom module that has a relationship with the "Calendar Lines" module. Our current operations work with all the calendar lines records on the GLOBAL Team to ensure the right access. We have recently received complaints that some…
  • can I show the primary team value in a calculated field?

    I want to replicate the primary team in a custom field. To keep it simple I created a text field with this calc: related( $teams , "team_name" , $team_set_id ) However, $teams does not seem to exist. Any ideas?
  • Sugar Pro 11.0.5 not respecting Teams?

    I realize that Sugar Pro 11.0.5 is off support but bare with me... We have never used Teams to restrict visibility. Every record is "Global" and every user has "Global" however we have recently opted to change the visibility of Leads coming from Embargoed…
  • Custom filter by teams

    Hi everyone, I am trying to create a new custom filter that filters by teams in some module's list views (accounts, cases, contacts and opportunities). I defined those filters like this example: $viewdefs['Opportunities']['base']['filter']['basic…
  • How to remove a team via REST API?

    Hi everyone. I'm trying to remove a team via the Rest API but am having problems with doing so. As far as I can tell the "correct" endpoint would be https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_12.0/Integration/Web_Services…
  • Remove a team via SugarBPM?

    Hi there, I have a scenario in which access to a record depends on a field of said record. In Sugar 12.0, I've created a BPM that triggers upon creation of update (if that field changes). I am able to add the "global" team if condition A is met, and…
  • Issue on global search API(500)

    Hi Team, We are facing an issue with Globar search API, for C ontacts objects API working fine but the Teams object it's not working, let us know what are objects are supported by global search API. Or Do we have to enable any settings in the sugar…
  • Remove Global Team from all the modules

    Hello Everyone, I am working on SugarCRM Enterprise, Version 9.2.0-dev.1 (Build 120) (Fall '19). I have to remove Global team from all the records which I have in SugarCRM all modules. Earlier I was thinking about deleting team id of Global Team (i.e…
  • Set selected_teams (padlock) in Logic Hook

    Hello All, I am working on SugarCRM Enterprise, Version 9.0.2 (Build 191) (Spring '19) I can set padlock (which is used for teams with special access: O&ST) from record.js but I want to set it from hook. I want to achieve same functionality from before_save…
  • Only show team contacts

    Hi all, Sorry if this is an easy fix but still learning sugar. We have ENT 9 cloud and have setup a sales team and allocated them views of required modules however our contacts module has contacts for a variety of company functions so wandered if there…
  • Users Teams are not listing in the detailed view

    I am currently using SugarCRM Enterprise, Version 8.0.1 (Build 239) (Spring '18) . In Users detailed view page under Access tab, I couldn't not able to see all users teams. While debugging I found out that in src/modules/Users/User.php has a method get_my_teams…
  • Team permissions with custom restrictions.

    I have two teams. I want both teams to be able to change the sales stage, but I want team A to be restricted from changing the sales stage to "Closed Won". This should only be done by Team B. Is this possible?
  • Get the Team name for logged in user in javascript

    I need to get the logged in user's team in my js file. Tried below method but it gives default teams for that user, but not the actual team where the user resides. app.user.getPreference('default_teams')
  • 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…
  • Using after_relationship_add/delete in Users

    Hi guys, I was trying to use the after_relationship_add hook to catch when a Role or a Team is added to an User. I had no problem with Roles, but with Teams, I couldn't make it work. Here is an example of what I have: The logic_hooks.php file <?php $hook_version…