Skip to main content

Questions tagged [reference]

-1 votes
1 answer
42 views

The filter on custom object reference name for attachment parent works. However, if Ref__c = NULL, items must show if refFilter = '%%' (show all). SELECT Name FROM Attachment WHERE ParentId IN ( ...
Z0q's user avatar
  • 51
1 vote
0 answers
49 views

As per Salesforce documentation for For View and For Reference Keywords in SOQL, 'A record is referenced every time a related record is viewed. For example, when a user views an account record, all ...
vivekvismayam's user avatar
1 vote
2 answers
439 views

Can someone please explain how to reference fields from parent thru custom lookup? To clarify, I created the example below, where the compiler hates line 7 (but there is no issue on line 3). Line: 7, ...
Mywen's user avatar
  • 47
-2 votes
1 answer
163 views

Our case definition contains a billion custom fields, and I appear to be fine SELECTing FieldName__c in an API call. But I want to get a field, Case_Assignee__c which is defined as a reference. Using ...
user145214's user avatar
4 votes
1 answer
5k views

I am refactoring our codebase with the new lwc:ref approach, and it just does not work for me. I've even copy/pasted the code from the release docs and still getting undefined. <template> &...
Damecek's user avatar
  • 2,083
1 vote
0 answers
2k views

I have js file in the lwc that keeps giving me the Error Invalid reference, but it still works 100%, i just can't make new changes. I would like to add a validation that there has to be something in ...
Brian23Gt's user avatar
  • 141
-1 votes
1 answer
1k views

I have parent object "Contact" with two custom child objects , Contact_Additional_ Info ( Master-Detail) and Program_Registeration ( lookup ). I have already formula field in the second ...
Anas Alamour's user avatar
1 vote
0 answers
4k views

I'm currently working on cleaning up the opportunity object and I'm facing an issue with getting the field references(Apex, Components, Workflow, Process Builder, Email templates, Reports) of complete ...
Pavan tej's user avatar
  • 1,440
4 votes
2 answers
18k views

I am getting a very weird error. My LWC Component is referencing two methods from an Apex class. Everything was working fine. Suddenly after a week, I am getting this error: /{"message":&...
user3353758's user avatar
0 votes
1 answer
1k views

I need an SOQL query to find all the fields in an Object which are referencing to other Objects. For Example Account is an sObject which has different fields which refer to the other sObjects. The ...
subk's user avatar
  • 1
1 vote
2 answers
857 views

I was just going through the APEX developer guide and came accross this statement: " ... For example, the Contact sObject has both an AccountId field of type ID, and an Account field of type ...
Jakub Zvonek's user avatar
5 votes
0 answers
980 views

I am trying to create a fresh scratch org and push a source to it through a script. The problem comes with Queues (and probably other sources that reference usernames), they are associated with users ...
ondrakr's user avatar
  • 360
1 vote
1 answer
5k views

I've seen many examples with primitive data types, but I've been trying to propagate array down to my children component and encountered some problems. My parent component looks like this: <...
ondrakr's user avatar
  • 360
3 votes
2 answers
282 views

If I have a for loop that loops through results from a database query, is the single record a reference or copied value? The reason I ask is because I am attempting to update these records, but would ...
BlondeSwan's user avatar
  • 1,128
0 votes
1 answer
897 views

I have a class called Texttypes and TextRoller as shown below: public class TextTypes { List<String> goodTexts = new List<String>(); List<String> badTexts = new List<...
lambad's user avatar
  • 385

15 30 50 per page