Soql Questions
Ad
How can i make a multi level query using SOQL in Salesforce?
I am running the nested query select id, name, account.name, (select id, orderitemnumber, product2.name from orderitems)
Populating an Apex Map from a SOQL query
// i have a custom metadata object named boatnames__mdt and i'm using two methods to get a list of picklist values in a
Does Azure Data Factory's SalesForce connector support the TypeOf keyword in SOQL?
When i run the following soql statement against the salesforce api, it works: select id, typeof parentrecord when workorder then
How to trouble shoot SOQL invalid input error in Mule4
I faced a strange issue that the app can be executed successfully in mule dev/qa server but throws salesforce:invalid_input in the prd server
Investigate References of Individual System Admin Users in Code and Config
How can we sweep through all code in our salesforce or and config in order to make inventory of where specific system admin users are being
Salesforce object describe has big data, how to get limited data like picklist values from salesforce object describe
I am looking for way to get fields and picklists for a salesforce object. i can do it with a reat api call using /describe after the
How to filter month by string query
I have a sql like this in my apex code: public static list<fb_employees__c> getrecords() { return [
Failing to reference name of user from relationship query
I am trying to get just get the permissionsetgroupcomponents for test users in salesforce with this query. select assigneeid,
Access a field from another table using the object relation
I am new to salesforce and soql so sorry in advance if the question has already been answered, if yes link it to me. the
Let's say that there is an object called "Book" in Salesforce
The records in the book object are such, that one book can be the parent of other books, and it isn't necessary that each book has a parent
Ad
Jenkins Job to run SOQL query
I'm trying to get a jenkins job to run sfdx force:data:soql:query commands in order to migrate configuration data sets between our production org
Salesforce - Bind variables only allowed in Apex code - MALFORMED_QUERY
I need an equivalent soql query to this sql query: sql query: select id, username, (select username from users where id =
Should I care about sql injection after user has been authenticated?
Does make sense to check on malicious sql input from an authenticated user?
Custom Label value not working in SOQL Query
I am trying to use custom label value in soql query. query is not accepting custom label value. it is expecting number. integer num_days =
How to retrieve ContentNotes information along with LinkedEntity's information with SOQL?
I would like to implement a service that takes a lastmodifieddate as input and returns all contentnote records which were modified after the given
Can you add an "AND field = value" to any SOQL query?
Assuming the query looks like this: select id from contact where <some filter here> and i want to add
LWC, set record to database soql from JavaScript with wire and Apex, error
I try to write something to the database soql in js, but it not works. when i click to the button 'add to cart' then is called handleplaceorder().
Salesforce: Is there a way I can query my custom Commission table to return all the commissions under all contacts under a specific Account
i have a custom commission table which has a master detail relationship with contact. i have a list of accountids being passed into
SalesForce query returns results in Query Editor, but returns null from APEX code in Lightning component
I'm completely new to salesforce and have inherited a report that's not working. please excuse any incorrect terminology, since i'm learning
Salesforce How to update a roll-up summary field on parent table from inside method that gets triggered when child is persisted
i created a commission object with field called commission_amount__c, this object has a master detail relationship with contact.
Apex, SOQL, add results from database to the List, error
I would like to add results from database to the list. but there is a bug. string str = '\'aoc\',\'bpd\',\'cre\'';
Ad
Salesforce, Apex, SOQL, SELECT with INCLUDES
What is wrong at this code in apex? string states = 'california,new york'; list<account> lstacc = [select id, name,
Salesforce, SOQL, Developer Console, sObject is not supported
In developer console in soql i try to select product, but that is not possible. select id from product error:
Salesforce, select from database and add to the list of Contacts
I would like select query from soql, and add to the list of contacts and return it. public class contactsearch { public static
How can i use select * in SOQL query in Salesforce?
I am trying to run a select in salesforce as follows: select [account].* from [account] where [account].id in
Salesforce SOQL question: writing query with space in field name
I have a free account in salesforce and learning to program in apex. i was looking back at sample data and have a question regarding how to write
Is there a way to select all Objects in Salesforce that start with a value?
I can select all apex triggers by using select id, name from apextrigger and classes by using
Get list of parent records from multilevel SOQL query
I'm trying to combine 3 separate soql queries into one, but still end up with 3 separate lists for ease of use and readability later.
Salesforce/SOQL: How to retrieve all column names from Account?
I am trying to retrieve all the column names from salesforce by soql query that i get via pentaho as well with the following code
How can I traverse through multiple related objects based on ID and return some related field?
I'm a little stuck. i am trying to generate a report that determines whether anyone has made a manual change to certain fields within our
How To Amend This SOQL to get All records for today After 6am
Is there a way i can customize this soql query to include all records after 6am from today? select case__c, level_1__c,
Ad
Is there SOQL function to convert Date to Unix timestamp in Salesforce SOQL or SOSL?
Hi salesforce developers, i am exporting standard contact fields with salesforce soql. i need to import it to other tool
Saleforce retrieving fields from two different objects - (SOQL) Simple Salesforce Python
I am using simplesalesforce library for python to query salesforce. i am looking at two different object in salesforce: account and backend
Salesforce Rest API call from typescript using axios
I am trying to fetch records from a scratch org using the tooling api provided by salesforce and user access token. lets say
Environment variable as custom metadata type in Salesforce
I am trying to represent environment variables in the salesforce codebase and came across custom metadata types. so based on which sandbox i am
How can I filter a SOQL query in a Python script after a specific datetime?
I'm trying to select all records from the opportunity object that are greater than a variable datetime. however, i can't figure out how. this is
How to find out the Object Type in a Salesforce Polymorphic relationship using the CData Salesforce Driver
Occasionally salesforce object have polymorphic relationships with other salesforce objects. in a polymorphic relationship, the referenced object
SOQL Query - How to write a SOQL query by making a field to lowercase and compare?
Following query returns an error: query: select id, firstname, lastname, ownerid, personemail from account
SOQL querying url addresses
I'm struggling to get the right soql query in a way that i can search and filter by url addresses, through the api. we have a custom field
Who to access field of nested relationship in soql where first relation is simple and next is polymorphic
I want to access custom field of owner (user) fields where owner is polymorphic relation it can be either user or group. i tried following
SOQL Query for getting the Application name of a Particular Tab
I would like to get the application name of a specific sobject. for example: i have a custom object called candidate__c. how to get the
The requested resource does not exist [error] in Salesforce. What is wrong with Salesforce?
I execute a soql request to get all available record ids of the sobject 'objectpermissions'.
Ad
laravel salesforce require_once?
I got a problem.i made a new class for my controller, in this class i do that to connect to salesforce require_once
Salesforce REST API query - URL limit
I am currently using the salesforce rest api to fetch the records from salesforce by passing the query via the query parameter in the get
Ad
Blog Categories
Ad