Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [address]

The tag has no usage guidance.

0
votes
0answers
16 views

How to get a zip +4 from a street address [closed]

We currently only have the 5 digit zip code for all of our addresses. Is there a solution which can provide a zip +4 for a street address ? I thought GeoPointe might possibly do it, but I can't find ...
2
votes
1answer
28 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 ...
0
votes
0answers
32 views

Split Address Field into separate fields based on line-break

This an old and common question though I need to split the Billing street based on line-break since it's a TextArea field value are entered on a separate line. I need to split every line and store it ...
0
votes
1answer
30 views

Contact Mailing Latitude & Longitude is zero despite map feature working

Looking for some help. I am trying to display geolocation on mailing address in Contact object. Any address I enter, the map renders perfect, but no Longitude or Latitude, I get nothing. I have ...
0
votes
2answers
70 views

deploying and retrieving Address settings (State & Country picklists)

I'm having problems understanding how to deploy Address.settings with the Metadata API. As in: how do I structure the package.xml? I have this as Address.settings (shortened for brevity) <?...
1
vote
0answers
19 views

Address finder on custom field in SFDC lightning [closed]

How can I add a text field as Address Finder in Lightning component without installing Appdexchange - addressfinder
0
votes
1answer
38 views

Address object - can I use this for non Field Service purposes?

I discovered there is a standard Address object, but that it only appeared once we set up Field Services. Does this mean it cannot/should not be used outside of FS functionality? I have a custom ...
0
votes
1answer
49 views

Geolocation location fields in Contacts/Account

I know Salesforce has some custom hidden fields that stored geolocation coordinates based on the Mailing and Billing address fields. (and I believe this is how the plot Markers in the inline Google ...
1
vote
0answers
14 views

Address fields not auto populating upon Contact creation in Lightning View

When I am creating the Contact from Account Related list mailing address is getting auto populated but when I create the Contact from Contact Tab is not getting auto populated.Any help please?
1
vote
1answer
99 views

LightingInput for Address not setting default Country Code

I am using the new Lightning:recordForm with a list of fields. <lightning:recordForm objectApiName="Account" recordTypeId ="{!v.rtTypeId}" fields="{!v.acctFields}" ...
0
votes
0answers
39 views

Does Standard Address Object Support Custom Fields?

I'm trying to find out if the standard Address object will work for a use case in an org we are building out over the next several months. I have been informed they will use Field Service Lightning, ...
0
votes
1answer
349 views

Address Autocomplete on Standard Salesforce via V

I am trying to enable Address Autcomplete on Standard Salesforce via Visualforce page. I am using this code: <apex:page standardController="Account" extensions="AccountDedupeController" tabstyle="...
0
votes
0answers
253 views

System.QueryException: No such column 'Address' on entity 'User'

The follow error is thrown while executing Apex code: System.QueryException: No such column 'Address' on entity 'User' The Apex code is: public static User CurrentUsr = [select id,firstName,...
2
votes
1answer
315 views

force:inputField for address - can't access the values in component

I am trying to use the "Autocomplete on Standard Addresses" feature in a custom lightning component by using the force:inputField component: <force:inputField value="{!v.contact.MailingAddress}" ...
0
votes
1answer
140 views

Org IP Addresses

Is there a Salesforce site that has the IP range for each Salesforce data center? I am assuming my salesforce instance does not have a static IP address, but am wondering what is the minimum amount of ...
0
votes
1answer
445 views

Postal Code Validation Rules for multiple countries

I'm trying to make a rule that validates postal codes but it doesn't seem to work. For example when I chose Portugal and I input 8 characters ZIP code it does not work. In fact it doesnt work for any ...
0
votes
1answer
34 views

Some Salesforce Hiccups

I'm currently building out a salesforce instance and was surprised that there isn't a way to create a custom address field. Does anyone have any experience working around this other than creating a ...
1
vote
0answers
23 views

changing the language in the mailing address field into a local language

I have enabled the Map and location settings in my organization to get the address searched. Is there a way to return the address in the local language(just for the address fields) on the detail page ...
1
vote
2answers
2k views

How to render Address fields in Lightning components?

Is there any way to display an address field such as Account.MailingAddress on a custom Lightning component? I am overriding the New Account button with a custom Lightning component and I want to let ...
1
vote
1answer
566 views

Account Object BillingAddress

I am creating an Account object and am having trouble associating an Address record to the Billing Address. This is working for creating an address of billing type: sc_address = sf_client.create!('...
0
votes
3answers
491 views

Logically comma separating address field to form a String

I am trying to create a string of address in this format: Street, City, State, Country, Zip. Assume that there is an Address object called addr which has account's shipping address. Address addr = ...
0
votes
0answers
23 views

Cleaning address fields and creating groupings

I have a large file of over 1000000 records that is imported as is into Salesforce but the address fields are coming into custom fields. I am responsible for figuring out how to clean the addresses ...
0
votes
2answers
4k views

Webassessor Email Address & Login change

I found links to this question but was not able to post my query on the same link and was also confused by the existing answer. On the Webassessor --> Edit Profile page there are 3 email address ...
1
vote
1answer
489 views

Address fields can only be filtered using Distance expressions

I'm trying to do an execute anonymous query for Contracts with a null/blank address. I get "Address fields can only be filtered using Distance expressions" in the query: List<Contract> ...
0
votes
1answer
131 views

How to remove/collapse/hide a line if a field is empty

I’m utilizing AMPScript to create variables for an address block in our email. My question is: How do I make a line disappear or “collapse” in the email body, if a field in the Data Extension is ...
2
votes
1answer
575 views

I'm updating the Account billing address fields (that make up THE address field on the account), but the Address field itself is coming up null

Since the address is a standard field, I'm assuming this process is pretty standard in setting it, but just in case, here's a very explicit explanation of how I'm updating it. There are no standard ...
0
votes
0answers
73 views

Extending use of NPSP Address__c object

The npsp__Address__c object in the Nonprofit Success Pack is a great way of succinctly tracking an Address. It even comes with some features for validation and geocoding. The down side is that out ...
2
votes
2answers
41 views

How to Modify Default Address Field in Professional Edition

Using Salesforce Professional Edition and was wondering Is it possible to modify the default Address field in our Leads? When I go to App Setup > Customize > Leads > Fields, there is no Edit link next ...
1
vote
2answers
319 views

Why MailingPostalCode field is not found in Address object

I am new to Salesforce and I want to understand a small thing. My question is: Why MailingPostalCode field is not found in Address object? When I search Contact object from workbench and right click ...
3
votes
1answer
1k views

Best way to get city, state, and zip fields onto Account object?

The Account object doesn't have city, state, or zip standard fields. I can create those in custom fields, but feel like there should be a better way to do that? We want to be able to pull a report ...
0
votes
0answers
45 views

How can I write an if condition to check the address' state?

I've written this condition in a class: if (lead.State == 'New York' || lead.State == 'NY') { lead.Rebate__c = lead.Total_Savings__c * 0.60; } else { lead.Rebate__c = 0; } But this doesn't ...
0
votes
1answer
78 views

Geolocation setup, for single -36.922970, 174.792207

We are wanting to use Geolocation in an effort to get physical address more precise at the account level, but it is split into Latitude and Longitude when you enter in the geocode which is erroring ...
3
votes
1answer
249 views

Strange new bug\feature in Salesforce: new undocumented IP addresses are used each time callout is made: how to cope with this?

I have implemented some logic to reconnect sandboxes through s2s connection after sandbox refresh and use self callouts for that, but apparently something has been changed in Salesforce recently which ...
2
votes
4answers
1k views

What is the best way to parse a textarea into address components?

I have a few lines of text containing street address information from an HTML textarea input. In my application I can't break this up into five separate form input fields (MailingStreet, MailingCity, ...
0
votes
1answer
450 views

Override Business Unit Name/Address in Email

I've recently had a need to send emails on behalf of other units who do not have the capability of sending email. We place the following mandatory tags in the footer of our email to accommodate CAN-...
4
votes
2answers
455 views

Retrieve Translated country picklist values

I wanted a Metadata API to get the Spanish translations of Address Country picklist. Using Translations type or Address doesnt help me get the values.
2
votes
0answers
292 views

Get user's Geolocation by capturing the IP address from the open made on the email

Is this possible in Exacttarget? Has anyone try this yet?
6
votes
2answers
2k views

Address field: Set Address via Apex

I'd like to create a lead via apex and set it's address. I've read that Address is a compound field and that it is totally read only unless via SOAP/REST API. Looking at the docs, I could only find ...
1
vote
1answer
1k views

How to set “MailingAddress” (address type) field on contact through Bulk API?

I'm having problem setting the "MailingAddress" field on Contact sObject. I'm trying with the following: <?xml version="1.0" encoding="UTF-8"?> <sObjects xmlns="http://www.force.com/2009/06/...
3
votes
1answer
1k views

Serialize address field in apex

I have an address field which has some value and I need to convert address to string and store it in a text area field. when i did String.valueof(a.ShippingAddress) its returning system....
0
votes
1answer
2k views

Address Field in Salesforce

I want to have an address field on Opportunity.I know there is no Address data type.How to achieve something like a Standard Address field like Account's Billing Address. https://success.salesforce....
1
vote
1answer
659 views

Zip/Postal Code Validation on Lead Object

I would like to create validation on the lead object that ensures a user must enter the Zip/PostalCode in the correct sequence of characters. The Zip/PostalCode must always end with a space and three ...
1
vote
1answer
778 views

Custom Address Fields

I have a requirement to add new address field when u click on Add new Address button on Vf page.I can show up new address field but I am running out of fields(800) on object. So I want to create a ...
2
votes
1answer
9k views

How to get the Billing or Shipping address in Account objects as a single data?

Is there a way to get the billing or shipping address in account object as a single data? Currently the address data is split across several fields like Street Address City State Zip ...
0
votes
2answers
88 views

Billing Country populated during Data Migration when source was blank

I have migrated a sample account with only 2 fields account name and billing street. However upon migration the country value is populated as united states. I have used data loader and the allow null ...
1
vote
2answers
1k views

Any Appexchange app which can perform address validation on custom object address fields?

Looking for appexchange solution which can do real-time or on-demand address validation on custom object address fields. Already looked at address doctor, which validates the address on Leads, ...
4
votes
1answer
140 views

How do i create an Address Block variable

Looking to create and address block from several custom fields. Example.... 4 separate custom variables. Address1: 100 Grant Street City: Chicago State: IL Zip: 60601 Would like them displayed as: ...
3
votes
0answers
1k views

How to create a Country pick list with country names in the new format?

I have finally enabled the new country picklist in my org. I configured the countries through the Setup-> Configure States I wanted to create a new web-to-lead form, using the new country field. ...
2
votes
1answer
138 views

Is there simple way to update Billing address with Javascript?

I'm trying to update Billing address with Custom button JavaScript. But I can't update Billing address parts, as it seems there are taken from primary contact. Here is example, what I want to do: {...
14
votes
1answer
2k views

Why is State and Country a text input in Visualforce when I have State/Country picklists enabled?

Are State and Country Picklist supported in Visualforce? I'm trying to access them on Visualforce for Contact object but only a Textbox is displayed instead of a Dropdown. My code is: <apex:page ...