Search Results
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 |
A trigger is a feature of the Salesforce platform consisting of Apex code that executes before or after DML operations.
2
votes
4
answers
453
views
Cannot Access Dashboard.Folder.DeveloperName?
While saving the below code, following error occurs:
Variable does not exist: DeveloperName
List<Dashboard> listAllDashboards = [SELECT DeveloperName,Type,FolderName,Folder.DeveoperName FROM Da …
0
votes
1
answer
274
views
how can we use a variable as "string[] fullNames" on readMetadata?
Below given is the syntax for readMetadata call for fetching WorkflowRule specific to an object .
ReadResult = metadataConnection.readMetadata(string WorkflowRule, string[] fullNames);
I want to kn …
0
votes
1
answer
3k
views
How to verify Trigger using test class which creates a new record in other object ? (how to ...
For learning purpose, I was creating a trigger with following functionality :
There is a candidate object with a checkbox "Active" ,
Trigger functionality is to create a new record in "Review" object … This is the code of Trigger :
trigger create_review_on_active on Candidate__c (after update) {
//Creating a list of new record of Review__c
list <Review__c> newrecord = new list<Review__c>(); …