Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [address]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 views

Field dependency not applying for Billing state and billing country standard fields in LWC component

I have the functionality to create an LWC form with billing address fields(Billing address is a compound field). But when I create the form I can see the Billing country & state picklist fields ...
Developer_SFDC's user avatar
0 votes
1 answer
38 views

Issue with address field in formula

I have to use an address field in a formula field but the formula returns the following error: Error: Incorrect parameter type for function 'IF()'. Expected Location, received Text The formula is as ...
Alejandro Martínez Infante's user avatar
1 vote
1 answer
71 views

Can't access fields from Address object in Triggers

I'm trying to access fields from an address object retrieved from a Trigger, however it seems like I only get null values from it. If I use the same code from a SOQL query instead of a Trigger, It ...
loris's user avatar
  • 13
0 votes
0 answers
67 views

Arbitrarily splitting an Address

This is a bit of a weird one, but due to a limitation with the Bringg/Zenkraft integration, Shipments cannot be created if either address line 1 or address line 2 > 35 characters. The issue is that ...
B Kelly 's user avatar
0 votes
1 answer
166 views

How to Identify Line Break in Text Area in Flow

In Flow, I need to break the default Street address field from the Account object, which is a text area field, that is part of the compound BillingAddress, into multiple strings by the line break, so ...
user1821431's user avatar
-1 votes
1 answer
319 views

How to change the label of an Address field type sub value?

I have a field on an object that is an Address. When the user clicks on the address to edit it, it shows the various sub-fields in the address, including a a field labeled "Zip". I would ...
mhenry1384's user avatar
0 votes
1 answer
434 views

How to hide address fields and just show address lookup on lightning-input-address?

I am able to use <lightning-input-address> to create a way to use address lookup functionality to prepopulate address fields. However, we want to hide the address fields and just show the ...
usernameabc's user avatar
0 votes
1 answer
68 views

How to change access to the values of a field of type address?

in a custom object I created a field of type Address. Now I want to access the values of Street, Postal code, Latitude and Longitude but I don't know how to do that.
izzamol's user avatar
0 votes
0 answers
168 views

recalculateFormulas() returns "System.HandledException: Script-thrown exception (System Code)" when Address has State selected

In trigger action BeforeInsert Quote, recalculateFormulas() returns this error "System.HandledException: Script-thrown exception (System Code)". It happens only when State is selected in ...
Jacinth's user avatar
0 votes
0 answers
210 views

B2B LWR: Phone number field in Shipping Address checkout form

In B2B LWR Checkout page there are 2 properties for Phone Number in the Shipping Address component configuration, plus there is a standard field for it in the ContactPointAddress object, PhoneNumber. ...
Juan Ge's user avatar
  • 13
0 votes
0 answers
35 views

Contact MailingAddress not geocoding after Data Integration rule turned on

I'm trying to goecode the MailingAddress for our Contact objects but the Lat/Long fields stay blank after turning on the Data Integration Rule. I've provided valid postcode, country, city and street ...
R0qu3's user avatar
  • 1
1 vote
0 answers
514 views

Change State and City of Standard Lead Address Fields to Custom Dependent Picklists

We are using the standard Address field on Lead currently, while sales manager complains users input various wrong data for State and City in either English or local language, and he wants to replace ...
Phoenix Lea's user avatar
0 votes
1 answer
199 views

Salesforce Aura Component on main tab for record creation

I need to add a button on a custom object Tab so that a user can select it and create a new record. This is not on a record page. Can I reference the component in a VF page and override the standard ...
Phuc's user avatar
  • 347
1 vote
1 answer
378 views

Salesforce Data Model for Account addresses

I'm confused about Salesforce's direction on setting up a many-to-many relationship between Accounts and addresses. Typically, a many-to-many relationship requires a junction object between the two ...
BobMount's user avatar
1 vote
1 answer
231 views

Use sfdx force:data:tree:import with custom address field on a scratch org

hope you can help me. I use sfdx force:data:tree:import to import data to my scratch org. I added a custom address field now on the account object and tried to import account records with an address (...
Marc Rohleder's user avatar
2 votes
1 answer
953 views

Custom Address field is not writable. Error in apex

I have enabled Custom Address field in my org. My requirement is I want to assign Account's Billing address field value to Case's Custom address field but when try to compile the code, I get an error ...
SFDCDJ's user avatar
  • 1,864
0 votes
1 answer
1k views

Address Field type insert in apex [closed]

How can we insert a value into a address field type in apex class. My field api name is Address__c and type of the field is Address. I need to insert address info city, street, country etc into the ...
Anu's user avatar
  • 3,857
0 votes
2 answers
468 views

How to pass an value of lightning-input-address to apex class?

I'm trying to find Opportunity records with an address within X amount of miles from an entered location. I'm using the lightning-input-address and passing the value to an Apex class and am getting ...
Luke Higgins's user avatar
2 votes
1 answer
290 views

Lightning Web Component Address Input code

I would like to know if there is a way to get the full code of the Basic Input Address Web Lightning Component (without picklist, I just need to get the style template and use the text input fields ...
Leopold's user avatar
  • 35
0 votes
0 answers
426 views

How to format Autocomplete output on Standard Address field

I have the autocomplete on standard address fields enabled which helps users enter new addresses with autocomplete (powered by Google). The output is standard and currently autofill the country field ...
Lisa.xcv's user avatar
1 vote
2 answers
684 views

Add new Address field setting in Scratch Org definition file

I need to automatically check the new User Interface setting : Use custom address fields (Beta) upon creation of a Scratch Org. I am not sure what setting to add in the def.json file. The following ...
S..'s user avatar
  • 1,215
0 votes
1 answer
453 views

lightning:inputAddress With Country Picklists

I am using the below lightning:inputAddress and specifically want to make the country field a dropdown/picklist. I am returning a map value from the apex method. But the values are not being populated ...
Sam's user avatar
  • 258
0 votes
0 answers
827 views

Address State and Country not visible on the records

Dear friends I have an interesting problem. The address fields are not correct visible on the records. On the account page I see all address fields, but on the Address record and Service Territory I ...
Константин Манков's user avatar
1 vote
3 answers
3k views

Screen Flow - Address Lightning Component is missing the CountryCode

I am using the Address Lightning component in a screen flow. I have State and Country picklist enabled, so when the user selects a country, the state is enabled or not. The problem is that the '...
Saariko's user avatar
  • 5,610
-2 votes
2 answers
2k views

Convert zip/postal code to coordinates, city, county, region etc in Salesforce?

Is there any possibility in Salesforce to extend on location data such as postal code and convert to coordinates, city, county, region etc? E.g. Transform postal code: GU1 3DA and country: UK into ...
Salesforce's user avatar
0 votes
0 answers
2k views

How to pass lightning-input-address field value to actual address field in LWC record edit form save?

I have created lightning-record-edit form component to create a new record. I have added code to display Input address field in the component. Below is the code that I have used: LWC HTML: <...
SFDCDJ's user avatar
  • 1,864
0 votes
1 answer
615 views

Can I customize "Maps and Location Services (powered by Google)" locale when searching for an address?

Below you'll see the result of auto-complete operation by using the Google Location Service: After typing "mokotowska 1" I got a correct result, choosing which resulted in filling all the ...
Przemysław Długoszewski-Tamoń's user avatar
0 votes
1 answer
765 views

API Call Button Not Functioning On First Click or Two

I am currently working on a simple project for a client that wants a tool to calculate the rates they will charge for shipping. It takes two user-input address, makes a distance matrix API call on ...
William Mallady's user avatar
1 vote
0 answers
1k views

LWC Input Address not populating Province [closed]

I'm trying to implement a standard lwc input address in a custom LWC component. https://developer.salesforce.com/docs/component-library/bundle/lightning-input-address/example. When I search an Italian ...
Mike Thompson's user avatar
2 votes
1 answer
507 views

SOQL Address Country not localized / translated

I'm querying an Account Address and want the country to be translated into the language of the requesting user. Sample query: SELECT BillingAddress FROM Account I maintained the translation of the ...
JohnMay's user avatar
  • 23
1 vote
1 answer
1k views

Use address state/province CODE field - can this be used without being linked to the state text field?

When Salesforce was set up in our organisation, the State text field part of the compound address was repurposed to store the City data instead (City field is being used for Suburb, since there isn't ...
Irene's user avatar
  • 1,829
1 vote
0 answers
1k views

How to add a custom field to Address Compound Field on Account

Requirement: Add a custom field to the address compound field on the account object. Salesforce provides a street, city, state, state code, country, country code and zip code in the address field. I ...
Rupesh Yanamadala's user avatar
0 votes
1 answer
268 views

Insert/update parse xml content file in address field in the Account/Contact object

My requirement I have an XML file with a large number of address data. I need to Insert/Upload it to the Salesforce Account object in the address field. This is the output I need to get. This code I ...
user avatar
0 votes
1 answer
2k views

INVALID_EMAIL_ADDRESS, Email address is invalid:

I am writing a single messaging class where I need to send some emails. There are emails field on the Account. On matching some conditions, I need to send emails to that particular person which is ...
SFDC 44's user avatar
  • 664
0 votes
1 answer
2k views

Adding account through API, address field causing error

Currently I am trying to create a new account using Postman before I implement the API code programically and I am running into an error. First here is the error. [ { "message": "...
G_Man's user avatar
  • 123
0 votes
1 answer
636 views

Account Billing Address Picklist without State and Country Picklists

I'm trying to replace the Standard BillingCountry field on the Account with a picklist, but it seems I can't remove the standard field and replace it with a custom picklist - does anyone have any idea ...
BiscuitBulldozer's user avatar
5 votes
1 answer
1k views

Apex compiler claims that "ShippingStateCode" does not exist, but the documentation says it is always present

Variable does not exist: ShippingStateCode While trying to compile a code with the following variable defined, I'm getting the error above. private static Map<String, Schema.SObjectField> ...
Renato Oliveira's user avatar
0 votes
2 answers
1k views

Is an Address and Location SObjects or a Compound Fields?

I am trying to build a picklist which would display all the available SObject, and global describe returns me some strange SObject Address, when I try to instantiate dynamically this SObject, it fails ...
Patlatus's user avatar
  • 17k
1 vote
1 answer
4k views

Billing State/Province and Shipping State/Province picklist values not popualted for Japan Country addresses

Billing State/Province and Shipping State/Province picklist values not popualted for Japan Country addresses tried with diffrent address
purna's user avatar
  • 77
0 votes
1 answer
73 views

Can you manually populate Address long/lat fields

I use Billing Address in my Salesforce org with Data integrations turned on so that Salesforce can populate the BillingLongitude and BillingLatitude. Some of my addresses aren't being populated and ...
Deployment Failure's user avatar
0 votes
0 answers
539 views

Give Address fields and get Longtitude and Latitude

I have created 4 fields on event object (Street, City, Country, Postal Code). I want to display all the events in a map by using lightning:map at a custom lightning component. Today i realized that if ...
Giorgos Galaios's user avatar
1 vote
0 answers
265 views

How to compare MailingAddress of a Contact

There is a requirement to detect whether two contacts have the same mailingaddress. Rather than iterating over all the mailing address components (Street, State, PostalCode etc) is there any other ...
SachiDangalla's user avatar
0 votes
1 answer
320 views

Why is my update trigger retrieving the old value for BillingState instead of the new value?

I have the following code at the very beginning of my account trigger: switch on Trigger.operationType { when BEFORE_UPDATE { for (Account account : Trigger.new) { system.debug(...
Ian Horner's user avatar
0 votes
1 answer
320 views

Address Standardization Tool

I have a Visualforce Page for the Force.Com Site Through this Page we are creating Accounts (pretty much, Web to Account). What is the best tool to Standardize address that comes through Web form into ...
GroundToCloud's user avatar
0 votes
0 answers
316 views

Salesforce Marketing Cloud Mailing Address Validation?

Good afternoon, does anyone know a way to verify mailing/postal address in marketing cloud? we have used address tool for SalesCloud but in this instance we want to use cloud pages to capture the ...
SYUYDY's user avatar
  • 355
0 votes
2 answers
697 views

lightning-input-address embedded in VF page. Address lookup not working

I have a use case to embed a lightning web component in a VF Page (in Classic) which includes a lightning-input-address component. The component includes the standard address lookup input (which ...
Bigears's user avatar
  • 1,131
4 votes
1 answer
2k views

How to prepopulate Address field in lightning:inputField

I need to prepopulate fields in lightning:recordEditForm and then get their values to save using Apex (without submitting form itself). What I've already tried: ...
WildTigerrr's user avatar
2 votes
1 answer
3k views

How to use simple salesforce (python library for salesforce) to add ShippingAddress field?

I have tried to upsert an account with ShippingAddress using simple salesforce However, I am getting the error: [{u'errorCode': u'JSON_PARSER_ERROR', u'message': u'Cannot deserialize instance of ...
Mark's user avatar
  • 123
2 votes
2 answers
7k views

Account Address search(Powered by Google) in Salesforce

I am trying to implement Address Search in Account Mailing and Shipping Address. I went through the following documentation https://help.salesforce.com/articleView?id=customize_maps_autocomplete....
Madhurima's user avatar
  • 1,395
2 votes
1 answer
630 views

MailingCountry contact field in before insert trigger

I have to populate a Contact field programmatically according to the MailingCountry field in the before insert trigger so the contact is created properly. But I noticed that the field MailingCountry ...
JoulinRouge's user avatar