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
25 views

Lightning icons are not loading as big grey boxes on VF page

I am developing a VF page using both apex and lightning tags where possible. I have been trying to create a lookup field using the code sample on the link ...
3
votes
1answer
26 views

Spring'16 issues with lookup-fields on <force:recordEdit> in standalone LightningApps and LightningOut

I'm trying to use <force:recordEdit> on a Visualforce page via Lightning Out. But there seems to be some rendering issues. Using a standalone Lightning App it looks like this: Using ...
0
votes
1answer
14 views

Change “what to do if lookup record deleted” for existing field

I'm looking at this question Don't delete record if it has a parent and the answer doesn't work; clicking Edit doesn't make the option to change the behavior available on the screen. The field is ...
0
votes
0answers
24 views

lookup field on opportunity of custom object in not updating through process builder

I have created budget custom object and related it to opportunity through budget look up field. so all opportunity come under opportunity related list on budget object. Like this: When I am trying ...
2
votes
0answers
21 views

Custom Lookup For Multiple Field in PageBlockTable

I want populate custom lookup in table for multpile fields For single Teacher lookup it is working fine I am reffering to Jeff Douglas Custom lookup How to implement the same in Page block table? ...
1
vote
0answers
18 views

When updating the ParentRecordId lookup field in a PartnerNetworkRecordConnection, is it normal for ParentRecordId not to update on the other org?

In my Salesforce to Salesforce connection, each time a case is inserted and/or updated in my source org X, a PartnerNetworkRecordConnection is created (after insert and after update) to forward the ...
0
votes
1answer
15 views

criteria for lookup

I created a lookup for sales people in the opportunity objects and I want them to be grouped according to the picklist in the account. However, when I create a lookup, the criteria should only be in ...
1
vote
1answer
13 views

How can I edit a draft version of an article with apex?

trigger CloseArticleFeedback on aft__Article_Feedback__c (before update, before insert) { for (aft__Article_Feedback__c f : trigger.new) { if (f.aft__Feedback_Status__c == 'Closed') { ...
0
votes
0answers
14 views

Lookup inputfield in Visualforce with multiple item match

I have a visualforce page with a user inputfield (lookup) and is bind to an object at the controller. Whenever there are multiple matches to my search text, the first item in the list is always ...
4
votes
1answer
48 views

How to access the lookup field's hidden Id with javascript

I have a visualforce page to do some CRUD operations on a custom object, which contains a lookup field to the account. I need to do some client side validations with javascript based on the Id of the ...
0
votes
1answer
22 views

Lookup Filter with related fields that are more than one relationship away from the lookup object

I want to add a lookup filter for the lookup between Package Version and Release. So I just can choose Releases which are linked to the same Program as my related Package. This is not possible ...
1
vote
1answer
29 views

Disable lookup standard validation

I'm looking for some way to disable standard lookup validation that verify if the entered value exist (and throws No matches found if not). When I enter some value from keyboard into the lookup ...
3
votes
1answer
129 views

Can't get Enhanced Lookup search to find a record

I can't get an Enhanced Lookup to work correctly, although I checked all questions and answers in SE so far and: Enabled Enhanced Lookups on this object am admin user Searching for the full values ...
6
votes
1answer
64 views

Cross-object Lookup Between Custom Objects

I am fairly new to Salesforce, and keep running into its many limitations. I am just trying to make a Lookup field to find what category the item on my Invoice Line object has. The category field is ...
3
votes
1answer
36 views

What to consider in converting picklist to look-up relationships?

A client currently has a number of Task Record Types that have picklists. The picklists are typically related to accounts of a given RecordType. In some cases, they're lists of child accounts that ...
4
votes
1answer
24 views

Look up to Master-detail through MetaData API: “cannot add master-detail relationship due to existing data rows”

Trying to change the existing relation between A(Parent) and B(Child) from Look up to Master- Detail. Deploying "B__c.A__c" using ANT. Ran a query on B and made sure all B__c.A__c is populated (As ...
4
votes
1answer
20 views

Difference between Name and All Fields radio buttons in Lookup dialogue box

What is the difference between Name and All Fields radio buttons in the lookup dialogue box. While using the lookup search option (Name radio button enabled) i couldn't find my value, and while ...
0
votes
1answer
11 views

How to clear the Info message appearing on the Lookup popup window

As we can see in the above image, when user is trying to selecting a lookup record, I have this page message appearing on the lookup window. I am confused on how to debug this. Searched the whole ...
0
votes
1answer
50 views

How to Populate lookup field values between case and custom object

I have Standard Object: Case, which has look up field VIN__c(Field) with Custom Object VEH_Veh__c. My aim is when i select Vin number(VIN__C) from case, such that model,brand from VEH_Veh__c should be ...
0
votes
1answer
32 views

Retrieve specific field of a related list as field of its parent

I´m trying to figure out how to achieve the following requirement: Pick a specific field from a related list of Account and put in in a field in Account object. Like the image below. This ...
1
vote
0answers
20 views

Data inaccuracy problem with lookup and deleted/unavailable record.

I am facing strange problem. We have look on Product object which refers to product group. When we query or view product we can see the ID of product group but not name as it happens in case of normal ...
0
votes
0answers
11 views

Is field master detail [duplicate]

is there any way I can find out if a field is a Master Detail? Right now I have implemented a code that throws a false positive in a required lookup field. Map<String,Schema.SObjectField> ...
0
votes
1answer
44 views

Invalid Parameter Value when Setting Lookup Id from JavaScript Button

I have the below code for a JavaScript button which works fine {!REQUIRESCRIPT("/soap/ajax/29.0/connection.js")} var entitlementQuery = "SELECT Application_Entitlement_ID__c FROM Account WHERE Id ...
0
votes
1answer
35 views

Email Alert Recipient Related User Addition

How do I add a Related User to the object, or related records, from which an email alert is coming from? For example, I have a custom lookup field on the User object named Opportunity Approver. What ...
1
vote
1answer
45 views

URL Hack, Prepopulate a Lookup Field from Another Lookup Field

I have ran into a unique issue here. I have Object A which contains a URL button that pre-populates a custom lookup field on Object B. However, I have a URL button on Object B that must pre-populate a ...
1
vote
1answer
17 views

URL Button Lookup Field Population Cannot Handle Contact with Same Name

I have been creating a URL button to create records and prepopulate the records with information. There is a lookup field to the Contact object which is giving me issues as there are multiple ...
0
votes
1answer
29 views

fetching records on vf with two object with lookup relation in them in salesforce

i have two object Timeslot__c and Commercial_Slot__c i have a field name timeslot which is lookup in commercial_slot__c on timeslot__c i am feching timeslot records on vf page and also want the ...
0
votes
1answer
27 views

Test for Lookup

I've got the following APEX: public Contact accountLookup { get; set; } And in the constructor: accountLookup = new Contact(); With the following on the Visualforce page: ...
0
votes
1answer
21 views

Visualforce display fields from look up object on the “looked up” object

Let's assume I have two Objects, Object A and Object B. Object A has two fields: Field 1: Text field Field 2: Lookup(Object B) I would like to create a Visualforce page that I can embed into the ...
0
votes
0answers
15 views

Connect User to contacts in sales cloud

There's way to connect contacts to user on contact record by creating custom look up field, There's way to connect users to contact in partner community, There's standard contact lookup field on User ...
0
votes
0answers
24 views

Trigger Field Update on Opportunity based on Custom Fields on other opportunities in the same Account

I'm looking to calculate retention rate for our clients. New to Apex triggers, but I think that's what I would need to accomplish. We have two types of account record types, client direct and agency. ...
0
votes
0answers
12 views

Linking a Custom Object to an Account based on a Custom Field

Question: There does not appear to be an option for identifying the specific field of the lookup object when I create the lookup. I need the lookup so that when I import the data, that field will ...
2
votes
1answer
39 views

Any reason not to use Lookups instead of Master-Details for Junction object?

To build n-m relationships one needs a Linker/Junction object with two references. The Salesforce documentation recommends two Master-Detail relationships. Is there any reason why not to use two ...
1
vote
2answers
46 views

Lookup Relationship: One to Many where Child can belong to Multiple Parent

I wish to have a Gym object that contain zero or more members as a related list. So Gym is the master and Member is the detail side - but the Member records does NOT have to be linked to any ...
0
votes
1answer
63 views

Validation Rule, Make Lookup Field Required if Picklist Values Selected

Why does this validation rule give me syntax errors? BUSINESS REQUIREMENT: IF "agreement type" picklist field EQUALS "apple" OR "orange" AND "Related Member" lookup field IS empty THEN throw ...
0
votes
2answers
21 views

Use email address in contact lookup search

My opportunities are linked one to one with contacts. Is there a way when I am doing a contact lookup to just use the contact's email address instead of their name? This is a much more personally ...
0
votes
1answer
54 views

Trigger to copy ID from text field to lookup field on same object (Account)

Text_ID__c - text field with id of an Opportunity A_Opportunity__c - lookup field to Opportunity Both fields are in standard Account object. How can I populate the lookup field with the id in the ...
2
votes
0answers
101 views

Lightning Components: Using <force:inputField /> on a Lookup only works partly

Using a <force:inputField value="{!v.account.ParentId}" /> seems to have flaws running in a Lightning Community Issues Rendering: wrong/missing styles Link "Find more results" does not work ...
1
vote
1answer
19 views

Trouble Accessing Properties of a Custom Lookup Field in Visualforce

I have a Visualforce page and I'm using the standard controller for the quote object. I added a custom field to the Quote object, QuoteContact, which is a lookup data type. Everything looks good on ...
4
votes
1answer
109 views

How to implement Lookups in Lightning Components?

Assume you have a Lookup or Master-Detail relationship defined in the metadata and now you need a simple UI. In Visualforce lookup-controls on the UI run out-of-the-box using <apex:inputField ... ...
0
votes
1answer
18 views

Custom field lookup - show default lists

I have created a custom lookup field in contacts referring to the object USERS and added this to the layout. When i create a new contact i can view the new lookup field but when i click on the ...
0
votes
1answer
44 views

Visualforce : Lookup field Event

I have a lookup field declared as below: <apex:inputfield value="{!Product2.Opportunity__c}" id="prodoppr"/> wish to know how to add or handle event for this lookup field? When there is a ...
0
votes
1answer
55 views

Can you set a default value to a lookup field based upon Record Type?

Can you set a default value to a lookup field based upon Record Type? Essentially I have an Object, "Call". This is related to another custom object "Call Type". I have created Record Types on Call ...
0
votes
1answer
25 views

Get Sum of the Values that have same Lookup with the Latest Month(date)& put it on its Lookup custom Field

I have 2 objects Father__c and Son__c. The relationship and fields are shown below. My problem is I want the Total_Value_Under__c to be equal to the sum of all Values__c of Son__c that lookup to a ...
1
vote
0answers
46 views

Creating Lookup Filter - Insert Field not showing field

I am trying to create a lookup filter from a custom object (FormProduct) to Product on the FormProduct object lookup field and set the criteria on a field on the FormProduct (ProductType__c) but this ...
1
vote
1answer
37 views

I am trying to override contact page with custom look up.Getting error

Error:while clicking custom lookup saying "Unknown constructor 'LookupPopupController.LookupPopupController()'" Visualforce page : <apex:page StandardController="contact" ...
0
votes
1answer
45 views

Building a custom object lookup field

Could someone point me in the right direction by providing either an example or a good reference? I need a regular Lookup field that can lookup a custom Object called Property__c. I am using a custom ...
0
votes
2answers
20 views

I want to get id of product selected on opportunity record

I want to get id of product selected on opportunity record. There is lookup relationship between Opportunity and product. All I want is id of the product selected by user on that record. below is my ...
0
votes
1answer
23 views

Product Lookup Not Showing Newer Products for Non-Admin

I have a Product Lookup field on a custom object called Product Demos. I also recently imported a bunch of new products to the system. For some reason, the newer products aren't showing up in the ...
0
votes
0answers
23 views

i need to override Account look up with custom look up search and user can search with account name,account number,sites

I have written controller and VF page to override but i don't know where i need to do change or customization for overriding lookup button with new VF page. VF page: <apex:page ...