Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 27067

Salesforce Object Query Language (SOQL), modeled on SQL, for accessing information saved in the Salesforce database.

1 vote
Accepted

Getting a SOQL query out of a for loop

you can do it in a single query only as "Service_Offering__c " is a parent to "CustomObject__c".You can use relationship queries to achieve this. List<CustomObject__c> sn = [SELECT Id, Name, Service_ …
Nitin's user avatar
  • 1,495
3 votes
Accepted

repeat inputfields dynamic dependent on list of string

You can create a list of the selectedItemsQuery and then use it in the vf page, Something like this : public list<String> selectedCheckboxFieldApiNames{get;set;} In your method then, selectedCheck …
Nitin's user avatar
  • 1,495
5 votes
Accepted

invalid ID error using SOQL to get field from related record

Id fields cannot be compared with the '' value. If you need to check for blank , then use "null" instead of ''. So change your check like this : system.debug('SystemChangeRequest View/Edit PAGE deman …
Nitin's user avatar
  • 1,495