This type of relationship links two objects together. Lookup relationships are similar to master-detail relationships, except they do not support sharing or roll-up summary fields.

learn more… | top users | synonyms

0
votes
1answer
15 views

get contact title visualforce

I have a visualforce page, related to the Opportunity Object. There is a lookup field (Influencer1__c), which looksup to the Contact object, name. How can i create another field to show the contacts ...
11
votes
0answers
93 views

SOQL ignores : WHERE RequiredLookup__c = null

I just figured out, that SOQL ignores null checks on required fields. It seems to expect that required fields can never be null. In my case it's a new field, so a bunch of records actually have null ...
0
votes
1answer
18 views

Salesforce restrict custom object to create lookup field for Task object [duplicate]

I am currently developing an application in salesforce and my application requires that my custom object has a lookup field for Task object. Suddenly salesforce doesn't support this feature. What is ...
1
vote
1answer
24 views

Fields are being cleared out when assigning an object to another objects lookup field

I have a method where I am linking one record to another record and some of the fields. I am running into an issue after assignment that some fields are null. Map<Id, Notification__c> ...
0
votes
0answers
10 views

Looking for help in building an email template with related list and different objects [closed]

I am struggling with the deal that the recipient name is not being shown when I receive the email using this email template. <messaging:emailTemplate subject="Respuesta a su Solicitud de Contacto" ...
0
votes
0answers
8 views

Change the default “My Active Campaigns” to “All Campaigns.”

When you are about to add a record to a Campaign, you click on a magnifying glass and you can search for Campaigns, the default value is "My Active Campaigns". Unfortunately users are frustrated by ...
0
votes
1answer
47 views

hiding a div when clicking anywhere outside without using jQuery

Trying to create my own version of salesforce listviews in a Lightning Component, got to the point where I can open and filter the drop down list (based on lightning design system: Page Header opening ...
0
votes
4answers
41 views

Workflow rule to be fired when lookup field is updated? [duplicate]

I have a lookup field X and I want to make a workflow rule to fire when that lookup field is updated or the record is created. How can I do this because I keep getting an error like "Function ...
1
vote
1answer
22 views

How to update related records through a contact lookup for person accounts using process builder?

My situation: Process started from a Person Account I want to update all related custom object X records linked to this Person Account The link is made through a Contact lookup on object X Whether I ...
1
vote
1answer
39 views

Trigger to match a field in object a (Contact) with another object b (Ponto__c) and populate a relationship lookup (Contato__c)

I need developer a Trigger to match a field in object a (Contact) with another object b (Ponto__c) and populate a relationship lookup (Contato__c). Details 1- I have a custom object Ponto__c ...
1
vote
1answer
31 views

Custom Java Button Create Record on Object and fill also lookup to other Object

I created a Java Button that should create a Record on Object Zeiteintrag__c on this record is a Master Detail Relationship (Stundenkonto__c) that should be Updated with the ID of the Record of this ...
0
votes
0answers
34 views

Object Deletion

I have an Object called op_product_grp and which is having two related list. One is Object and another one is Class. Please suggest me how to delete the Object in that case without disturbing the ...
2
votes
2answers
43 views

Update field in parent when a related record is added

I would like to know that is there any way my trigger will be fired when any record is added to a related list . Right now , The trigger iterates through the related list records and updates a field ...
1
vote
1answer
58 views

Traversing related List - Error

trigger ABCD on Account(after insert, after update) { List < Account > AccList = [Select id, (Select Id, Status__c from Clients__r) from Account WHERE Id IN: trigger.new]; for (Account ...
1
vote
2answers
118 views

Lookup Relationship - traversal level?

I would like to know till what level can a lookup relation ship fields can be traversed. For master detail , I could find 3 levels . I tried this , but didn't work. select id , Lookup1__r....
0
votes
1answer
43 views

Auto populate lookup field

Can Someone help with a scenario. I have a region picklist field with 7 to 9 and we have a sales director lookup field whenever region is selected salesdirector for that region should be auto ...
0
votes
0answers
26 views

Need to connect 2 custom objects together using an external ID and a Trigger

I have 2 objects which are parent and child. I am using Layer 2 Cloud Connect (Need to do it this way because it does replication and automatically updates any field changes between the 2 records) to ...
2
votes
1answer
34 views

Best way to set up a Lookup filter for record type on managed package

I have a lookup filter on a lookup field from one Custom Object to another; both objects are within a managed package. Let's assume we have one Object A, with a lookup field lookup__c and another ...
0
votes
1answer
22 views

How do I assign a variable to LookupRows results?

Basically, I want to print out the results from LookupRow, I have tried quite a few different things but to no avail. For example it would find all of the email addresses (maximum 4), that have the ...
0
votes
1answer
35 views

How to Autopopulate the Contact lookup Field with contact name on the Visualforce page?

I have created the below VF page now i want to auto-populate the contact lookup field on the page with contact name.i am displaying this page when user clicks a button on the related list of contact ...
0
votes
1answer
47 views

How to get the Salesforce Lookup id from visualforce to apex

I have public Opportunity destOpp {get; set;} in my apex code. I have <apex:inputField label="Source Account" value="{!sourceOpp.AccountId}" /> in my vf page. After I select an account from ...
1
vote
2answers
46 views

Using LookupRows to retrieve from synchronized data extension

I'm having trouble with the ampscript LookupRows to grab data from a synchronized data extension. Here is what I have so far: %%[ var @rows, @row, @first set @rows = LookupRows("Contacts","...
1
vote
2answers
27 views

Updating lookup field on a custom object using another text field as a reference

Very new to coding and need a little help populating a lookup field. I have object Account and custom object Order__c. On Account we have a Ship_to_Code__c which stores an ID. This ID is also part of ...
2
votes
1answer
51 views

Best practice: Lookup relationships and name/value pairs

Say I have a one-to-many lookup relationship between 'Parts' and 'PartsCategory' objects. Something like say the following example records: Part, Price, Brand, Model, CategoryCode: Front fender, $40....
0
votes
0answers
20 views

Lookup reference using external Id in mulesoft

Anyone have experience in loading child record and associate parent using parent_external_id__c field. for custom objects ex: Load child__c record and associate Parent__c object using ...
0
votes
1answer
21 views

Fetching data from Object -Scenario

I have an object Client with lookup to Account. I have another object Propose with lookup to Account. I have another object Order with lookup to Client. I want to fetch data from Order object where ...
1
vote
1answer
19 views

Update Account Lookup field by comparing custom field text, looking for exact match

Newbie here, just starting to learn how to code via trailhead and anything I can find online, while also trying to solve org problems in the real world of salesforce CRM, so am hoping someone can help ...
1
vote
1answer
19 views

Lookup dialog must return records related to the junction object

In my requirement I have a junction object between Account and Contact. Now there is a requirement that on the case object, where standard lookup field of contact and account are present, when I have ...
1
vote
1answer
28 views

Pull OpportunityContactRole value into VisualForce Template related to an Invoice

We're setting up a workflow to notify the finance department when an Opportunity owner flags an invoice as "ready to be sent". I've got a VF email template, relatedTo="invoice", and I want to pull ...
1
vote
0answers
16 views

Look up field not getting updated

I experienced this issue sometime back and do not remember a fix for it..I am trying to update a look up field for an object on a custom object. When i try to save it, the history says shows that it ...
0
votes
2answers
23 views

Is there a safe way to autofill values into a lookup field

I have junction object called Application and its related to contact and custom object postion. We also have a interview object which has a lookup to Application. position and contact. When i click ...
0
votes
1answer
29 views

Unable to configure Lookup Filter

I,ve one Parent object 'Patient' and Child Object 'Patient Services' and another Parent object 'Job'. On Patient Services Object one Look up field Named Patient related to Patient object & ...
1
vote
1answer
51 views

Newly created field not appearing on object filter criteria

I've created a new field in the Order object, it's a text field that is filled with a Name from another custom object. I want to use the text field in the filter but it doesn't appear in the list of ...
2
votes
1answer
27 views

Visualforce lookup to Account

I am developing a page which will allow a user to select an Account and it will use that Id to construct a URL. I have no objects in my org with a lookup field to Account, and therefore I cannot use &...
2
votes
1answer
25 views

Is there a way to have a lookup / free text field in Salesforce?

We would like our Staff (interal salesforce users) to be able to populate a field based upon a lookup of data in a custom object when submitting a Case. In contrast we also have an online form for ...
1
vote
1answer
28 views

Lookup field value in controller extension

I am creating a page where I am able to create a new case related the contact. In my controller extension in createCase() method, I am unable to populate the contact field( Lookup object on case). ...
0
votes
0answers
16 views

Dynamic picklist change based on Account value in opportunity page (standard) of Salesforce

Have a requirement where we need to remove a value from the picklist based on the Account name that is getting chosen. For example i have a picklist that has - A,B,C,D as choices. But , if i choose ...
0
votes
0answers
19 views

activities with multi select look up

I need help with finding a solution to a multi-select lookup in activity (Event in particular). Literally it should be a clone of the field Name (who -> Lookup(Contact,Lead). Activities does not ...
1
vote
1answer
19 views

Creating Visualforce account information form with account lookup

I am creating a VF form with account information input fields as well as other custom fields. I would like to create a lookup field for the user to select the account to work in. I am able to create ...
1
vote
1answer
85 views

Difference between dependent lookup and lookup filter

What is the difference between a dependent lookup, required lookup filter and optional lookup filter. I found those three concepts in many tests of salesforce and i didn't understand it.
0
votes
0answers
34 views

Custom Salesforce Lookup (Lookup/Create Account within Visualforce page using a visualforce page/class)

I have designed two lookup pages based on Jeff Douglas' article Roll Your Own Salesforce lookup, one for contacts and the other for accounts. The goal is to be able to create a contact and either ...
1
vote
1answer
24 views

Do standard lookups always follow: FieldName = RelationshipName + “Id”?

Can we say that all standard lookups/master-details/polymorphic fields follow a consistent naming convention across all standard objects? I'm talking about this pattern: field name = field ...
0
votes
2answers
43 views

Trigger lookup just not working

I am trying to populate a lookup field based off of a list of records in a different object. The problem is the 2 objects are not related but they have a field that is the same. Is it possible to do ...
0
votes
1answer
45 views

Get field values from an Account via look up.

In a custom object I have a look up for account. so once the account is selected from the account list the object will be somehow connected to the account. I need 2 fields in that custom object that ...
1
vote
1answer
22 views

Lookup object return null in trigger

For all this time, what I understand that I can get through look up field object such as Owner Name directly without need to write query, but after writing this code, it seem like I understand it ...
5
votes
1answer
62 views

What happens to Master-Detail after deleting (Managed Package)

When I delete a Master-Detail relationship in my managed Package Will it be replaced by a Lookup, like this Knowledge arcticle says? Will there still be a Master-Detail relationship in our customers ...
1
vote
1answer
30 views

Not Possible To Use Multiple LookupRows in a single HTML paste?

First time poster. I'm trying to use multiple LookupRows in a single HTML Paste. While I don't see anything in the documentation saying that this isn't possible. %%[Set @DE1Result = LookupRows("DE1","...
0
votes
1answer
30 views

How to retrive time from standard look up field in opportunity

Hi i got a requirement like to get time in standard look up called CreatedBy in opportunity page. Is it possible to retrieve only time from that field. Because it is Look up relationship of user.I ...
1
vote
1answer
47 views

How to Give Default value to a LookUp field using Formula Editor

I have an action on which i have one Lookup Field "Year".Year is an object with only two records - 2015 , 2016. I have this value to be predefined as 2016 when user clicks an action While creating a ...
0
votes
1answer
78 views

Add new button to Custom Object Lookup dialog box

I have a number of lookup fields on an object. When I click the magnifying glass to select items from the lookup the Account and Contact object lookup dialogs have a "New" button next to the go. ...