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

2
votes
1answer
31 views

Auto-populate lookup fields

I have a standard Object (ServiceContract) which has a Master-Detail relation with ContractLineItem (also a standard object). ContractLineItem further has a master-Detail relation with a custom object ...
1
vote
2answers
20 views

loading XML files in to a Data extension and using it as a look up table

Does anyone know if ExactTarget can load a XML file in to a Data Extension and how do i do it? Do i need to convert the XML in to a CSV file? I want to use the XML as a lookup for an email. Any ...
1
vote
2answers
33 views

Look Up relation Vs Master detail relation

I have small doubt in choosing between look up field and master detail field. I have a custom object say cObj1 which should always be related to some other object say cObj2. So I can opt for ...
0
votes
1answer
26 views

How do I set a Lookup field for an Asset name via a Visualforce page

I am creating a new Case via a VF page in a VF+Tabs Community (not using SFDC stylesheets) and want the user to be able to set the Asset Name to the Asset related to their new Case. The Asset Name is ...
0
votes
2answers
17 views

Picklist return lookup as dependent

I have a request in the case object with fields: Requestor: Lookup user Are you the user affected? Picklist (yes/no) Then if the answer is YES = a field called User affected is filled with the ...
4
votes
1answer
56 views

Why does a lookup to custom object on sites give invalid ID?

I am developing an internal site for all company employees (basically an intranet). I am using a visualforce page but it must be externally available because not all company employees have a ...
0
votes
0answers
14 views

Populate Lookup field to user on one of the object based on multipicklist value criteria of related records

I have 2 object A and B,both have lookup relationship where A is parent. A has one field X which is lookup to user B stores the Sales member records and other details It has fields like ...
0
votes
1answer
18 views

Unable to populate in the lookup section

I have created two objects owner and contractor. I have created ownercontractorassociation as junction object for the above objects. Now when I am clicking on the lookup option, and clicking on the ...
0
votes
3answers
43 views

Populating Lookup field from picklist on same object

trigger Wholesale_State on Account (after insert, after update) { for (Account a : Trigger.new) { if (a.Wholesale_State__c == null) { a.Wholesale_State__c = ...
2
votes
1answer
45 views

Access related object via lookup field in email template

I have one object called Service Request, them I have a lookup field of Account with retrieves me the name. In my email template I must show up: Account: _______ & Account Code:______ My ...
0
votes
1answer
22 views

Lookup filter to display Contacts related to selected Account

I want to apply a lookup filter on Quote object on the lookup field "Contact". The filter should be such the Contact lookup dialogue box should only display the Contacts related to the Account ...
1
vote
0answers
34 views

apex:outputField of a lookup relationship field - is there a way to open in new tab

We are using apex:outputField for some lookup relationship fields and enjoys the benefits of Salesforce supported pop up. But the link will open in the current tab. Is there an easy way to set it ...
0
votes
1answer
54 views

How to retrieve records from two objects which has lookup relationship?

I have Custom object DriverEfficiency__c which has (contact(lookup),Car_Meter_Reading__c,Efficiency_Rating__c,Fuel_Liter__c) fields. The Problem is I need to create a Vf Page to retrieve records from ...
0
votes
0answers
17 views

How to dynamically bind an object to a lookup field? Or how to implement something similar via custom logic?

I am aware that when creating a look-up field, we must specify what it is going to look-up to. So I probably need a custom page to handle this, which is OK. But here is what I am trying to do: ...
1
vote
3answers
38 views

Inserting a record with Lookup value

I'm trying to insert a custom object record which contains various custom fields and also a lookup field. Is it possible to insert the record without specifying the lookup field value? I've tried ...
1
vote
0answers
17 views

Enable partner user to be 'manager' of another partner user

I am currently using Communities and I am trying to add a partner manager as the 'manager' of another partner user's, user record in Salesforce, using the lookup manager field. I cannot see any ...
1
vote
1answer
27 views

Parent account field determine child account field values

I have a custom text area on Accounts called Geographic_Locations__c. In this text area, I list various US cities, each on their own line. What I am looking to do is to have each line of text ...
2
votes
1answer
36 views

Copying field value from related record to custom object

I've got a custom object with separate lookup fields for Lead and Contact. What I'd like is that when the record is saved with a lead or a contact, a trigger fires and pulls the Lead Source from the ...
4
votes
2answers
104 views

Is it possible to convert a Master-Detail relationship to a Lookup?

I'm going through the Trailhead training (here), and see the following two snippets which seem to disagree: "It’s possible to change a lookup relationship to a master-detail relationship, but ...
3
votes
1answer
26 views

Remove Recent Item suggestion for Visual force lookup

This is my VF Page: <apex:page standardcontroller="account" doctype="html-5.0"> <apex:form > <apex:inputfield value="{!account.FAccount__c}" html-autocomplete="off"/> ...
0
votes
1answer
46 views

Passing custom lookup field value to controller

I have a visualforce page which displays a list of orders in a table. For each order (a row in the table) there is a selectList for the user to select a teacher (i.e. this is a custom lookup field ...
1
vote
1answer
30 views

How to copy Text value to Lookup filed

I have a Master Zipcode object which has the Zipcode information. Master zipcode object has a lookup in the Account object. My requirement is I need to copy the Account object Zipcode to Master Object ...
0
votes
1answer
27 views

Opportunity Validation Rule on Primary Campaign

I must be going crazy. On an Opportunity I want the Validation Rule to trigger when no Primary Campaign has been selected. This is a Standard Field on the Opportunity so the rule I set up is ...
1
vote
2answers
38 views

Updating the owner of records connected via lookup relationship

I was given a task to write a trigger to update the owner of records connected via lookup relationship. Consider i've a custom object which is having a lookup relationship to another custom object. ...
0
votes
0answers
20 views

Problem with lookup fields in VF pages

We have a VF page with a lookup field that works well in some computers and doesn't work in others. we have tested in different computers with same browser and version (chrome Version 40.0.2214.115) ...
1
vote
1answer
39 views

Add an already existing record to a related list - Continued

I am very new to visualforce and I was trying to create a page like the one described here: Add an already existing record to a related list In my case though, I want to be able to add a custom ...
1
vote
2answers
36 views

how do i make a custom object name field with a lookup relationship

I have a custom object - responses. I want the name field to have a lookup relationship with the contacts object. Is this possible?
0
votes
1answer
45 views

Adding Custom Lookup Field to Email Activity History Record

Our business is Project-based. The Campaign object has been renamed Project and we use the Project Code (aka: Campaign.Name) as the key index for all records to relate them to the particular project. ...
1
vote
0answers
112 views

Cannot update lookup with 18digit ID in process builder

I have a custom object (Volunteer Application) where I'm trying to use custom builder to create a related record (Volunteer Shift). I can create the Shift record, however when I try and populate the ...
0
votes
1answer
38 views

How to check if an Id exists in within a field in a List<sObject>?

I am trying to think of a good way to do this, but no luck yet. So: I will have two Lists: List<Date__c> and List<Project__c>. There is a look-up relationship between Project__c to ...
0
votes
1answer
77 views

Having trouble writing Apex trigger on custom object to update a lookup fields

I have a trigger that maps information from one Custom Object (Agents) to another Custom Object (Trident Contracts). I am able to update Seller Agent Name in the Trident Contract Mapping with the ID. ...
2
votes
1answer
104 views

Create VisualForce input that uses Lookup popup

I have a custom object, Foobar__c, and I would like to create a VisualForce page containing a form in which the user has to select a Foobar__c via the standard Lookup popup for Foobar__c. I would ...
0
votes
0answers
19 views

Master detail filter on transaction object based on M-D relation of master data

I have two custom object having Master detail relationship. These objects contain master data in my org Say Challenges and Actions. Here Challenges is master and Actions is detail object. Now i have ...
0
votes
1answer
75 views

visualforce inputField on Lookup(User,Queue) data type

I have a custom object on which i have a field named Owner which is of Data Type Lookup(User,Queue). When i access this field on visualforce page like below just using standard controller, i am ...
1
vote
1answer
99 views

rollup summary field lookup relationship

I need to create rollup summary type of field on Object A by summing specific field from Object B where Object A is master, Object B is child and there exists a lookup relationship between the two. ...
0
votes
1answer
17 views

Enabling Enhanced Lookups

Does anyone know of any disadvantages (or compelling reasons NOT to enable) Enhanced Lookups? I don't see any references to such information in Google and Stack Exchange searches. My knee-jerk ...
1
vote
0answers
90 views

Apex Sharing for granting record access to other users

There is a scenario in which an opportunity is created by a Sales User.Hence in this case the Opportunity Owner is the Sales User. This opportunity needs to be teamed up with other sales user so that ...
1
vote
1answer
87 views

Populate User lookup field by trigger

I have a need to populate a lookup field on a custom object with a partner user. The only problem is that I need this to be populated with the partner user who is set up as a contact under the account ...
1
vote
1answer
50 views

How do I use jQuery to get the id of a lookup field when the field is changed?

I am using jQuery to try to get the id of a lookup field (Account_Contact__c) when the user selects a different value. Here is my code: var j$ = jQuery.noConflict(); function ...
0
votes
1answer
82 views

How to extract Name from id,which a Lookup field catches?

I have Lookup field value of object A and used trigger to display the same field value in object B.If I use a field of type text,then I can see ID.if I use a field of type Lookup,then I can see the ...
0
votes
0answers
33 views

can we create a filter using Lookup Data Type

I was wondering if we can create a filter using Lookup Data Type for e.g. - filter on Contact.Account_Name Edit : When I create a new Contact, there is a field "Account_Name" which is of Lookup ...
0
votes
0answers
111 views

New Process Builder disables Chatter Feed

We implemented a workflow rule with the new process builder and that disabled our chatter feed. If we deactivate the process, the feed turns back on, and if we turn the process back on, the feed ...
3
votes
1answer
85 views

What parameters are passed to open a LookupPage?

Trying to untangle a legacy app, and I see this code: url = '/_ui/common/data/LookupPage' + '?lkfm=Conf_Search' + '&lknm=Conf_LineSearch' + ...
0
votes
0answers
47 views

What values for the 'lktp' parameter are supported by the standard Salesforce lookup dialog?

I have some JavaScript code that shows a standard Salesforce lookup dialog for various types of objects, using something like: ...
1
vote
1answer
74 views

How to create relationship between Custom object and Contact Object using SOAP API C#

I have created a custom object in Salesforce named Call_c. There is already a standard object in Salesforce named Contact There is a field named call_number_c__c in my Call_c and MobilePhone field ...
2
votes
1answer
58 views

Visual force LookUp

I would like to create a lookup field in a visual force page. Problem is that i don´t have a look-up field "Customer" on my custom object to add into VF page: i don t need to store the value of ...
0
votes
0answers
53 views

How can we add lookup dialog to unrelated field on custom object to a custom field on standard object

I have built a custom object that has a proposal number field that should be linked to custom proposal number field in Opportunity. Before I had this filed in custom object defined as lookup to ...
2
votes
2answers
107 views

Why doesn't File Location Lookup show attachments of Opportunity?

My opportunity has some attachments. I would like to send them via email. If I hit on "Attach File" button of "Send an Email" page, then File Location lookup filter window, dialog appears, however I ...
1
vote
1answer
25 views

Best way to handle relationships to objects I cannot create look ups for?

I have an object and it needs to have a 1 - many reference to the Data Category used in knowledge base. We have a requirement to be able to configure which data categories show up on a given page. ...
2
votes
2answers
112 views

Can I get the mini layout hover to appear on any link, like it does for outputField for a lookup field?

I am trying to get the <apex:outputField> works as it works for a lookup field, which is a link pointing to the object and when you hover on it, it pops up with a dialog of the object info. ...