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
Terrica RangelTerrica Rangel 

How can I add a list of territories to a field on the account object?

I want to create a custom field on the account object and have that field automatically filled in with the territories that are associated with that account.
AnudeepAnudeep (Salesforce Developers) 
You can write a trigger and query on the territory object to retrieve all territories. After this step, you can assign the territories to the field 

See sample trigger code here

I also recommend checking this answer