Tag: SOQL

Permanent link to this article: http://www.sfdcpoint.com/salesforce/workbench-saleforce/

Relationship Query in Apex – Salesforce

How to create relationship name

Relationship Query in Apex – Salesforce Relationship Query in Apex – Salesforce soql relationship query Most of the times, we have relationships between the objects(master-detail OR lookup) and often we need to fetch the list of all child records related to parent record in SOQL. This can be achieved using relationship query in Salesforce. We …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/relationship-query-apex-salesforce/

SObject row was retrieved via SOQL without querying the requested field

SObject row was retrieved via SOQL without querying the requested field SObject row was retrieved via SOQL without querying the requested field is very common error in apex. As name of error suggest, this error occurs when we try to use some field of an object instance which is not queried. There can be two …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/sobject-row-was-retrieved-via-soql-without-querying-the-requested-field/

SOSL Example in Salesforce

SOSL-Example-in-Salesforce

SOSL Example in Salesforce SOSL Example in Salesforce What is SOSL in Salesforce? Salesforce Object Search Language (SOSL) is a Salesforce search language that is used to perform text searches in records. Use SOSL to search fields across multiple standard and custom object records in Salesforce.  SOSL is a search language in salesforce and the …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/sosl-example-in-salesforce/

Dynamic SOQL query select all fields in Salesforce

Dynamic SOQL query Salesforce soql select all Dynamic SOQL query Salesforce for soql select all. SOQL is Salesforce Object Query Language for querying data in the Force.com platform. It is very much similar to SQL. But in SOQL, we can not query all fields from object. This statement is not allowed in SOQL: select * …

Continue reading

Permanent link to this article: http://www.sfdcpoint.com/salesforce/dynamic-soql-query-fetch-fields-object-salesforce/