[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-698580-105":59,"doc-detail-698580-en":130,"doc-similar-698580":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","custom-address-fields-developer-guide-edition-680-winter-27","Custom Address Fields Developer Guide - Edition 68.0 - Winter ’27","","Custom Address Fields Developer Guide (Version 68.0, Winter ’27) explains how to use Salesforce Address field type to create custom fields that store structured compound address data. The guide covers how custom address fields work as a single structured field or as component fields, how state and country/territory picklists and org allocations are handled, and what requirements and limitations apply. It also references APIs and tooling approaches through examples, including configuration and integration considerations.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/custom-address-fields-developer-guide-edition-680-winter-27/698580/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/custom-address-fields-developer-guide-edition-680-winter-27/698580.png","ImageObject",300,407,{"name":92,"@type":93},"OKfine","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-23","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What are Custom Address Fields in Salesforce and how do they help developers?","Question",{"text":112,"@type":113},"Custom Address Fields use the Address field type to store address data in a structured compound type. They can be accessed as a single structured field or via individual component fields, simplifying application code.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are the key requirements and setup steps before enabling Custom Address Fields?",{"text":117,"@type":113},"Before enabling, configure State and Country/Territory picklists and review the limitations. The guide also notes requirements related to package deployment when an Address-type custom field is present.",{"name":119,"@type":110,"acceptedAnswer":120},"What limitations apply to Custom Address Fields compared with standard address fields?",{"text":121,"@type":113},"Some features aren’t supported, including approvals, Data Import Wizard, fuzzy matching, Composite API, and several UI/search/workflow-related capabilities. The guide also states requirements like export behavior tied to GeocodeAccuracy and restrictions such as not marking custom address fields as required.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},698580,1794453258,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},962093957596,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Custom Address Fields Developer Guide  \nVersion 68.0, Winter ’27  \nLast updated: October 9, 2026  \n© Copyright 2000–2026 Salesforce, Inc. All rights reserved. Salesforce is a registered trademark of Salesforce, Inc., as are other names and marks. Other marks appearing herein may be trademarks oftheir respective owners.  \nCONTENTS  \nChapter 1: Custom Address Fields ........................................ 1  \nChapter 2: Custom Address Fields Requirements and Limitations ................ 2  \nChapter 3: Configure State and Country/Territory Picklists ...................... 5  \nChapter 4: Enable Custom Address Fields .................................. 6  \nChapter 5: Add a Geocode to a Custom Address Field ........................ 7  \nChapter 6: Apex Examples ............................................ 10  \nChapter 7: Metadata API Example ....................................... 13  \nChapter 8: REST API Examples .......................................... 14  \nChapter 9: SOAP API Examples ......................................... 17  \nChapter 10: Tooling API Examples ....................................... 21  \nCHAPTER 1 Custom Address Fields  \nUse the Address field type to create custom fields that store address data in a structured compound data type. Compound fields are an abstraction that can simplify application code that handles the values, leading to more concise, understandable code. With Custom Address Fields, custom addresses are accessible as a single, structured field, or as individual component fields.  \nEDITIONS  \nAvailable in: all editions  \n Note: Before you enable custom address fields, review the Custom Address Fields Requirements and Limitations. To discuss the feature and ask questions, join the Custom Address Fields Discussion group on the Trailblazer Community.  \nAddress compound fields are delivered for standard fields on standard objects. Now with Custom Address Fields, custom fields can mirror the standard address field behavior. End users can add and retrieve address data via these custom Address fields on standard and custom objects. Users can edit the custom address field data in records and view custom address data in list views and reports.  \n Note: For custom compound fields, each component counts as one custom field toward your org’s allocations. Thus each custom address field counts as nine custom fields: one each for street, city, postal code, country code, state code, geocode accuracy level, longitude, and latitude, plus one for internal use. For more information on the allocations for your org, see Salesforce Features and Edition Allocations in Salesforce Help.  \nCHAPTER 2 Custom Address Fields Requirements and  \nLimitations  \nBefore you enable Custom Address Fields, configure State and Country/Territory picklists and review the limitations of this feature.  \n Note: To discuss the feature and ask questions, join the Custom Address Fields Discussion group on the Trailblazer Community.  \nEDITIONS  \nAvailable in: all editions.  \nCustom Address Fields Requirement: State and Country/Territory Picklists  \n\n| Custom Address Fields uses picklists for the State and Country address fields. For more information, see Configure State and Country/Territory Picklists.\u003Cbr>Custom Address Fields Requirement: Package Deployment |\n| --- |\n| If a package contains a custom field with the Address field type, package deployment requires that Custom Address Fields is enabled in the target org.\u003Cbr>Custom Address Fields and Org Limits |\n| For custom compound fields, each component counts as one custom field toward your org’s allocations. Thus each custom address field counts as nine custom fields: one each for street, city, postal code, country code, state code, geocode accuracy level, longitude, and latitude, plus one for internal use. For more information on the allocations for your org, see Salesforce Features and Edition Allocations in Salesforce Help.\u003Cbr>Limitations for Custom Address Fields |\n\nBefore you enable Custom","cbCainCo2nl7jwz8","https://ap.wps.com/l/cbCainCo2nl7jwz8","pdf",930530,27,"English","# Chapter 1: Custom Address Fields\n# Chapter 2: Custom Address Fields Requirements and Limitations\n# Chapter 3: Configure State and Country/Territory Picklists\n# Chapter 4: Enable Custom Address Fields\n# Chapter 5: Add a Geocode to a Custom Address Field\n# Chapter 6: Apex Examples\n# Chapter 7: Metadata API Example\n# Chapter 8: REST API Examples\n# Chapter 9: SOAP API Examples\n# Chapter 10: Tooling API Examples","[{\"question\":\"What are Custom Address Fields in Salesforce and how do they help developers?\",\"answer\":\"Custom Address Fields use the Address field type to store address data in a structured compound type. They can be accessed as a single structured field or via individual component fields, simplifying application code.\"},{\"question\":\"What are the key requirements and setup steps before enabling Custom Address Fields?\",\"answer\":\"Before enabling, configure State and Country/Territory picklists and review the limitations. The guide also notes requirements related to package deployment when an Address-type custom field is present.\"},{\"question\":\"What limitations apply to Custom Address Fields compared with standard address fields?\",\"answer\":\"Some features aren’t supported, including approvals, Data Import Wizard, fuzzy matching, Composite API, and several UI/search/workflow-related capabilities. The guide also states requirements like export behavior tied to GeocodeAccuracy and restrictions such as not marking custom address fields as required.\"}]","Custom Address Fields Developer Guide - Edition 68.0 - Winter ’27 | PDF",68,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/b257048de99394208f09a8ad27d28983.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/76fdaabf308573b9adf746e839eba679.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/62bc01f4bea81c577a4324b23ba1e484.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/79c6ffbd3dc877de27ba89f26759b116.webp",980,1268,{"list":163,"token":66},[164,171,177,184,190,197,204,210,216,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":30,"create_tm":170},673477,"Salesforce DX Developer Guide - Version 68.0 - Release notes and setup overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229990884811/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=wuuBx6b7ac4dLINyp9oZAffanxw%3D","salesforce-dx-developer-guide-version-680-release-notes-and-setup-overview",13,1793644474,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":39,"category_name":30,"create_tm":176},686286,"Industries Common Resources Developer Guide - Version 68.0 - Document metadata and APIs overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000691893/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=R%2BWTJtvSkYakAW9Q7DOBNxUNa5o%3D","industries-common-resources-developer-guide-version-680-document-metadata-and-apis-overview",1794035049,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":182,"category_name":30,"create_tm":183},657022,"Salesforce Feedback Management Developer Guide - Version 68.0 - Winter ’27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974810294/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=QydF0hcGCUDrppptROxQk8DHInc%3D","salesforce-feedback-management-developer-guide-version-680-winter-27",16,1792972612,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":24,"category_name":30,"create_tm":189},719754,"Salesforce Voice with Partner Telephony Developer Guide - Version 68.0 - Developer Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024359340/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=jjLmN4uZfDhWQbEoHhAMPEzDxtM%3D","salesforce-voice-with-partner-telephony-developer-guide-version-680-developer-guide",1795029764,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":30,"create_tm":196},657027,"Field Service Developer Guide - Version 68 - Build and Integrate Field Service","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975347077/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=WCQlQIkMgWhl7MIWlCdXOlEpBD8%3D","field-service-developer-guide-version-68-build-and-integrate-field-service",24,1792972628,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":30,"create_tm":203},673085,"User Interface API Developer Guide - v68.0 - Version 68.0 last updated Oct 9 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229989981731/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=ZEy8089g142T%2BpoO5b3AOARRrtQ%3D","user-interface-api-developer-guide-v680-version-680-last-updated-oct-9-2026",14,1793619922,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":34,"category_name":30,"create_tm":209},681827,"Platform Events Developer Guide - Version 68 - Developer guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999226531/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=tw2LZHQjWv0gxqbKtxkE5pOhf5w%3D","platform-events-developer-guide-version-68-developer-guide",1793954888,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":81,"category_name":30,"create_tm":215},703155,"Salesforce Knowledge Developer Guide - Chapter 1 Developing with Salesforce Knowledge","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230013421037/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=Ov%2B7ClhbGTy0N7K7UFruj5YnfpA%3D","salesforce-knowledge-developer-guide-chapter-1-developing-with-salesforce-knowledge",1794561727,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":195,"category_name":30,"create_tm":221},657025,"Salesforce DevOps Center Developer Guide - Version 68.0 - Winter 27","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974810306/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=qnst70%2FqVYdhR79KJ%2BrM4GMMnxk%3D","salesforce-devops-center-developer-guide-version-680-winter-27",1792972621,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":30,"create_tm":228},657030,"Ultra Schema Builder - Installation and Setup Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975347125/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111699&Signature=s5RTEZ3angYS1mBI1OperQ6vIxo%3D","ultra-schema-builder-installation-and-setup-guide",11,1792972635]