Questions tagged [contact]

A standard Salesforce object that represents a "person" or "individual" record

Filter by
Sorted by
Tagged with
0
votes
2answers
40 views

Expected values are not correct for map

when i query and put in list and put key as a account and values as a contact its working, but when i declared its showing error "Invalid initializer type List found for Map>: expected a Map with the ...
2
votes
2answers
2k views

How do you stop NPSP from automatically creating a Household when adding a Contact?

Households on my system are created before contacts due to our data sources and workflow. So when I add a contact I need it to auto link to an existing household/account (which I've got working). ...
0
votes
1answer
36 views

Trigger that saves all the activities and events of a contact before a contact is deleted [closed]

Trigger that saves all the activities and events of a contact before a contact is deleted. When a contact is deleted all the history related to that contact is deleted.
0
votes
1answer
30 views

Querying Opportunities from Contact Records

I am querying all the opportunities from a map of Contacts this way: Map<Id, Contact> chosenContIdsMap = new Map<Id, Contact>(chosenConts); List<Contact> myCons= [SELECT Id, (...
0
votes
0answers
59 views

Inserting Accounts and Contacts (that look up to the Account) in the same class

I'm trying to insert Accounts and Contacts in the same class. I'm inserting the account first, then inserting contacts, based on the account name. The account field in contacts is not getting ...
1
vote
2answers
2k views

On Account Owner change Contact owner is getting updated without any automation

Today I noticed in my salesforce org when i change Account Owner, All the related contact owners are changing automatically. I tried to search in whole org to find if any process is running behind to ...
2
votes
1answer
939 views

Can I delete message on Mobile Connect?

I have tried to delete message(s) created in Mobile Connect in the UI as well as REST API but I don't have any luck doing that. Is there a way we can delete message(s)? Thanks!
0
votes
1answer
386 views

How to get MobileConnect keywords?

Is there a way to get a list of all MobileConnect Keywords created on Marketing Cloud? I use attributes search REST endoint https://www.exacttargetapis.com/contacts/v1/attributes to MobileConnect ...
0
votes
1answer
26 views

Contact Merge Showing this error

I was trying to merge two contacts which throw this error.
1
vote
1answer
2k views

Query all contacts in account related to opportunity

I am trying to pull a list of all contacts in accounts with certain opportunities. My initial query looks like this: Select Id, Name , Account.id From Opportunity WHERE RecordType.Name IN ('1A,'1B')...
1
vote
3answers
1k views

Delete all Contacts - Export all Contacts

The problem: We want to reset our contact database ==> we have to delete all contacts. Unfortunately that does not work as intended with the relatively new deletion tool of salesforce. To achieve ...
0
votes
1answer
18 views

How can you view an email for the contact on an opportunity ? (salesforce classic)

I would like to see the email associated with the account when I search opportunities - is this possible? Thank you!
2
votes
1answer
2k views

Allow communities user to see multiple Accounts

I have multiple Accounts associated with a single Contact in Salesforce, and I want to see if I can give a User access to these multiple accounts in communities. For now, I can only see the directly ...
0
votes
1answer
34 views

Aligning Contact and Open Oppty owners with Account owners

Lately we have been observing that all the Contacts and Open oppty owners in our org. are changing to the Account owner if there is a change in owner on the Account. We do not have any automation for ...
0
votes
1answer
31 views

Trigger to divide custom amount of account object amongst its child contacts

I have custom fields of total_number__c and total child contacts as Total_money__c in Account object and a custom field IndividualMoney__c in Contact. My aim is to distribute total amount to ...
1
vote
0answers
326 views

Remove Google Maps Hyperlinks from Addresses, Contacts and Accounts

We have a request to remove all Google Maps hyperlinks on our addresses, so that users can copy addresses more easily. Is there a way to remove these hyperlinks? I've already turned of Google Maps ...
2
votes
2answers
3k views

How do you populate data on the new Individual Object?

As part of the gearing up to GDPR, Salesforce is releasing the new Individual object that is associated with Contacts and Leads. There are instructions in the release notes that point to turning the ...
0
votes
1answer
2k views

Create a Contact related to a Person Account

I'm currently unable to link a Contact with a Person Account as the lookup filter of the "Account Name" displays only the Business Accounts!?! And if I leave the Account Name field empty, the Contact ...
0
votes
1answer
41 views

I cannot delete a contact due to “System.NullPointerException: Attempt to de-reference a null object”

I have this trigger: trigger deleteContactReceiver on Contact (before delete) { List<Contact> con=Trigger.new; GDPRContact.deleteContactURN(con); } Invokes: public static void ...
0
votes
1answer
27 views

Contact visible to user - how?

Our sharing setup is such that Accounts are private OWD and sharing rules are in place for role hierarchy based sharings and no other sharing criteria Contacts are marked as "Controlled By Parent" - ...
2
votes
1answer
579 views

Why i can't Rename standard field label 'Contact Name' on Case Object

Can anyone please tel me why i am not able to rename 'Contact Name' standard field on Case object. I don't see this field under Rename tabs and fields -> Tasks or Rename tabs and fields -->Activities.
1
vote
2answers
63 views

Contact object not accessible on public site despite changing public access settings

On a public site with guest user license, the Contact object details are returning null in simple SOQL statements. This is despite adding read or edit access to the site profile for the Contact object....
1
vote
0answers
60 views

Visual flow is not saving address to record in Lightning Experience

I have a visual flow that captures input values of basic address info: Street, City, State, Zip. I am writing them into a "Create New Contact" record but I am having an issue where only the zip code ...
0
votes
2answers
507 views

Consume REST API pagination

I am new to the Salesforce/Marketing Cloud APIs and need to consume the Contact API (attribute search) for part of a solution that I am providing a client. I'm successfully getting expected data ...
0
votes
1answer
2k views

batch apex to update mass accounts and contacts

I have to write a batch apex which will update few fields in all the contacts and accounts. There are few mappings which will be done cross object - like few fields from contacts will update theie ...
1
vote
1answer
198 views

Using BulkAPI, how to populate multiple objects? (Account, Contact, Opportunity)

My company is loading 3rd-party data into SalesForce using the BulkAPI (Python). This data is loaded into 3 SalesForce objects: Account, Contact, and Opportunity using 'upsert' method with Account ...
1
vote
0answers
114 views

Trigger to update fields upon updates to formula fields in Contacts and Accounts [closed]

I am very new to Salesforce and I need to write a trigger which should fire on few formula field updates and should update the other fields in contacts and accounts. So something like this: Trigger ...
0
votes
2answers
140 views

Updating a field on Account level, from field on Contact

This sounds like it should be super simple; and I can't believe I can't find documentation to support my assumption. I have a field, MDID (managed department ID) on the contact level, and I'd like ...
-2
votes
1answer
66 views

How to using formula field for contact custom field allow only two digit numbers?

I created one formula field in contact object. When I give text with numbers(Before text and numbers(Ex: tsdhsgj12) or after text and numbers(Ex: 12gsdjgsjgfs)) in the input contact custom filed, it ...
0
votes
0answers
235 views

Accountshare record automatic deletion

We have a trigger on accountcontactrelationship object which inserts an accountshare record as our account object is private. Accountshare record is inserted based on the accountcontactrelationship ...
0
votes
1answer
50 views

PHP - Many To Many Relationship

Before I begin my question, I'd just like to give a brief background on what I am doing and what I am looking to achieve. FYI: I am a newbie with this Salesforce stuff. I have connected my site with ...
0
votes
1answer
28 views

Had a user put parentheses in a last name for a contact and the contact wouldn't update after that

Ran into this in production. We have a contact for our patients and the customer entered "Smith (Jones)" as the contact name. This created a contact successfully, but when they tried to edit the ...
0
votes
1answer
102 views

Installed apps frequently fail with similar error

My organization would like to perform actions in Salesforce that are not included in the base functionality, so we would like to install Apps. Obviously we use well reviewed (4+ stars, many reviews, ...
1
vote
2answers
213 views

SOQL: Left join Contact fields to custom object

So i have a custom object which has in of one of the fields( Creator__c ) the Id of the person who created it which is also the Contact Id, and i'm trying to get the contacts first and last name field ...
-1
votes
2answers
2k views

getting error while inserting AccountContactRelation record in test class

@isTest public class GetAcconRelTest { @isTest static void test(){ List<Account> ActList = new List<Account>(); List<Contact> contList = new List<Contact&...
2
votes
1answer
3k views

Upsert Multiple Records with external ID with REST API

I am trying to update multiple contact records via the REST API that have an external Id CustomField__c. Is there any way to do this? I've tried using Workbench, hitting (POST) /services/data/v39....
0
votes
0answers
108 views

Update Parent account in Account lookup on account contact relationship object

As per my company business process we have all customer account as per Geo location. Parent account will be head office and branch offices are child accounts. Now, our requirement is all contact ...
0
votes
2answers
98 views

Can I update a Contact in Salesforce from their actions in an email I send from Marketing Cloud?

I would like send an email from Marketing Cloud asking for the subscriber to click on a link. Once that link is clicked, I want to update a checkbox field in the subscriber's Contact in Salesforce. ...
0
votes
1answer
182 views

Invalid conversion from runtime type Relatie_Contact__c to Contact

I get the error:Invalid conversion from runtime type Relatie_Contact__c to Contact for my testclass. I have looked trough some similar questions but could find the answer for my case I have the ...
0
votes
1answer
2k views

Can a community user edit their own contact record?

Can a community user edit their own contact record? I've seen few question on the stack exchange it self about community user's editing their own contact record's details directly. Somehow could't ...
3
votes
1answer
53 views

How can a trigger distinguish a contact field was updated during lead conversion?

My organization protects certain fields on Contacts of Record Type X from being edited, as these contacts are imported from an external system. In addition to using locked-down page layouts, we have a ...
1
vote
2answers
988 views

SOQL to find contacts related to specific opportunities

I need a query that returns me all contacts that were involved in an opportunity but ignore the ones that were involved in a opportunity recently (10 last days). I tried using a subquery, like this: ...
0
votes
1answer
162 views

trigger to populate contact's email based on the name field (look up field)

Trying to figure something out. Working on this but its not working. I have two fields in this one object under the account. One field is a contact name look up and the other is the email of the ...
0
votes
1answer
226 views

Non-profit Starter Pack -> Contact field question

In the Non-profit Starter/Success Pack version, Contacts has a checkbox field called Private. What is the semantic meaning of this field? Related to this question, I have searched for a listing of ...
3
votes
2answers
571 views

Merge duplicate Contacts across different Accounts does not create AccountContactRelation

In cleaning up our database and using the new AccountContactRelation to allow a Contact to link to multiple Accounts, I need to merge all the duplicated Contacts into one Contact with ...
0
votes
1answer
104 views

My Unresolved Items are not visible

I had to transfer all the data from an old Salesforce environment to a new one via the Data Loader but on my new environment all the data such as Emails, Tasks etc is missing from My Unresolved Items....
2
votes
0answers
277 views

How to enable community user to view/edit their Contact fields?

We need to enable community users to be able to edit their contact fields through My Profile. But it's showing only User details. To cater that I tried building a lightning component to read user Id ...
1
vote
0answers
29 views

Have built unauthenticated update-details pages for my Salesforce Contacts. Should I use them?

I'm looking for a means that Contacts in my database can easily update their own fields and child records on a highly customised interface. I believe the best and cheapest solution is to build an ...
0
votes
3answers
393 views

Creating groups in a Wrapper class's list of Contact records?

I have implemented a table of Contacts with adjacent checkboxes using this Salesforce Wrapper Class. In the table, the contacts are just individual Contact users with their email ids. Command button ...
0
votes
1answer
244 views

Why does my soql return accounts which have no contacts

I have a requirement where I need to soql contacts from account I wrote an soql which should only return account with contacts. Instead I also get accounts without contacts, why?: [SELECT id, Name, (...