function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Harish HPHarish HP 

Invoking "Regenerate Sharing Team" link using Data Loader

Have a need to invoke the "Regenrate Sharing Team" link using a Data Loader. We have about 500 records for which we need to do refresh the Sharing Team list on an opportunity. Is there a way to do that? I noticed an API name field (Regenerate_Sharing_Team__c), which uses the Formula value, not sure what value needs to be passed for this field.

Thank you,
Hi Harish, 

This field appears to be a custom field in your Org as it ends with "__c" . 

Looks like you have a requirement to update the Opportunity teams, See the links below,

How to change members of a sales team using the data loader?

We are reorganizing some of our sales teams. I have a set of opportunities where I want to switch the value of 'Sales Manager' from A to B. I inserted the records using the insert feature on the Data Loader, but when I go to 'update', it's only allowing me to choose the team member role, as well as the ID, and the opportunity ID field that was present in the 'insert' function is not available.

export data from OpportunityTeamMember and then update it.
This object Represents a User on the sales team of an Opportunity.
See also UserTeamMember, which represents a User who is on the default sales team of another user.