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

1
vote
2answers
16 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
13 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
18 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
27 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
14 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
30 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
23 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
44 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
41 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
13 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
28 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
39 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
15 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
50 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
62 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
27 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
43 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
24 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
66 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
54 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
34 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
47 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
47 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
34 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
70 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
19 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
67 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. ...
0
votes
1answer
70 views

Rollup via Lookup Issue

I put together a trigger that will perform a rollup summary (SUM) on a record that is associated via lookup. The trigger works perfectly if I want to include all the lookup records in the calculation. ...
0
votes
1answer
49 views

Lead Conversion: Lookup fields

I'm trying to convert leads, but I am having trouble when it creates opportunities. My opportunities have lookup fields that I would really like to auto populate (and be required). I can't use a ...
1
vote
1answer
81 views

Can you pull Data from a row based on date

I am trying to lookup a row of data based on a date and I am getting an error when I try to pull content based on the date column event if I put in the actual data instead of using the "Now()" date ...
1
vote
1answer
43 views

Trigger to send email based on Multi-Select Picklist

I have an object called Project__c. It has a multi select picklist field called "Markets__c". So a Project can have multiple markets. On the other side, Contact object has a field called "Market__c". ...
0
votes
1answer
40 views

Edit Master-Detail lookup field

i created a master-detail relationship and definitely added a lookup value and saved the new record on the detail side. Now i wish to change the lookup field value to refer to some other value in the ...
0
votes
0answers
26 views

Salesforce1 Lookup Component

I am disappointed by the almost total lack of usable lookup components out there for Salesforce1, given that the app does not support inputField for lookups or dates. Dates are pretty easy with JQuery ...
2
votes
1answer
77 views

Is it possible to populate a field of type Auto Number External ID?

I'm trying to populate a Lookup using External ID which is Auto Number field. It is giving the error: Compile Error: Field is not writeable: Opportunity.Opportunity_Number__c Opportunity_Number__c ...
0
votes
1answer
46 views

How to display the complete row from the data extension?

I want to display the complete row from the data extension on the web page. %%[ VAR @Rows,@email SET @email = QUERYPARAMETER("email") SET @data = QUERYPARAMETER("Trigger") SET @Rows = ...
2
votes
1answer
67 views

AMPscript LookupRows Function Not Working

I am using a Landing page to display the desired row from the Triggered sends using the LOOKUPROWS function. As below %%[ VAR @Rows SET @Rows = LOOKUPROWS("abandon_cart","firstName","XYZ") ]%% ...
2
votes
4answers
83 views

Remove lookup value once selected in a record

If I select a value on a lookup field on a particular record, is there a way that this selected lookup value gets hidden and does not display in another record? Lets say I have an object Object1__c ...
3
votes
1answer
54 views

InputField with lookup relationship not working within a table

My issue is after putting a lookup input field into a table, although it displays properly and by clicking the lookup button it can successfully open the lookup dialog, it can't select - When I click ...
1
vote
1answer
35 views

Self look up and Reporting Requirements

For one of my object (for e.g. Bug), we want a self lookup to the same object to store child records (for e.g. Child Bugs). After that I created a custom report type on Bug with child object Bug. I ...
0
votes
1answer
214 views

Display Parent, child and grandchild's records

Once a parent(Contact) is selected I have to display a list of related records from child, grandchild and grandchild's child in one single page block. All the objects are in a lookup relationship with ...
0
votes
0answers
32 views

Data Load into Accounts (Std Obj) with a Lookup to Custom Object

The issue is that I am not able to map the LookUp Field with a value from the CSV as the Lookup Field is not displayed for Mapping. Tried Import Wizard, Data Loader, Workbench, Jitterbit ... None of ...
0
votes
0answers
32 views

Lookup Field Icon Doesn't Show Up On Sites

I am developing a site under my organization and a Case Management panel in it. I prepared a page called NewCase and basicaly built a template that includes Case fields in it. But lookup fields ...
1
vote
1answer
35 views

Lead trigger test fails - newbie alert!

Trying to write a trigger to set a lookup field (Account) on the Lead object, which is based on Account ID as a string that is passed through from an external form)... I have a working trigger (100% ...
1
vote
2answers
152 views

Need Help with Validation Rule(s) on Stage Changes

Need help with validation rules: Just found out our salespeople are not required to move their opportunities stage by stage. In other words, they can go from ‘Set Meeting’ to ‘Negotiation’ and bypass ...
0
votes
0answers
23 views

Contact's child records transfers

I have few custom child objects (lookup relationship) of Contact. My requirement is if I change the Contact owner from User A to User B, I want the child records of that Contact to be transferred to ...
1
vote
2answers
176 views

Change lookup dialogue's record display format

How to change the lookup dialogue's record display format. Whenever I click on a lookup field to display the list of records, it only displays me "Recently Viewed" records, however I need to view all ...
1
vote
0answers
18 views

Average of number of rows in a custom object with reference to Another custom object field

I created two custom objects (Orders & Order Items) Orders - List of Orders with Total Price and Other details Order Items - List of Items in an Order with reference to the Order Id in Orders ...
0
votes
0answers
45 views

I must be misunderstanding lookups

I feel I must be completely misunderstanding lookups, but regardless of where I search I can't find an answer to my problem. I have 2 existing objects. A standard object (Idea) and a custom object ...
0
votes
1answer
38 views

Contact's child records transfer

I have few custom child objects (lookup relationship) of Contact. My requirement is if I change the Contact owner from User A to User B, I want the child records of that Contact to be transferred to ...
1
vote
1answer
50 views

Account Reference returning null value causing and causing 'Owner Cannot Be Blank'

I'm trying to write some APEX to get the Owner of an Account (Account__c) referenced by a Lead and set that Owner as the Lead Owner. I'm running into an error where the variable contains a null ...