How to find reports that are part of a Dashboard in Salesforce?
Sample SOQL:SELECT Name, DeveloperName FROM Report WHERE Id IN ( SELECT CustomReportId FROM DashboardComponent WHERE DashboardId = '01Z5f000000VAB9EAO' ) Output:
Sample SOQL:SELECT Name, DeveloperName FROM Report WHERE Id IN ( SELECT CustomReportId FROM DashboardComponent WHERE DashboardId = '01Z5f000000VAB9EAO' ) Output:
Non-Setup Objects:Non-Setup objects are standard objects like Account or any custom object. Setup Objects:Setup Objects are used to interact with metadata for declarative development. Setup objects are Group1, GroupMember, QueueSObject, User, ....
Sample Code: HTML: <template> <lightning-card> Account Name: {name}<br/> Website: {website} </lightning-card> </template> JavaScript: import { LightningElement, api, wire } from 'lwc'; import { ShowToastEvent } from 'lightning/platformShowToastEvent'; import { getRecord ....
In Visualforce, getter and setter are mandatory to reference variables from the custom controller or extension apex class. 1. Declare the variable with public scope.2. User getter and setter.Sample code: public class ....
1. Create a Report on Opportunities object.2. Filter it based on Close Date.3. Group By the report using the Close Date.4. By Default, the Close Date Grouping will be done ....
Sample Validation Rule: AND( Is_Active__c, NOT( ISCHANGED( Is_Active__c ) ), NOT(ISNEW()) ) Output:
Sample formula:AND (Date__c <=TODAY(),Date__c >= ( TODAY() - 15 )) Output:
Salesforce Chat Transcript Status will be set to Blocked when the Agent blocks the Visitor. Please check the following post for more additional information. Chat status will be set to ....
1. Create a JavaScript file using the following code.File Extension should be ".js". window._snapinsSnippetSettingsFile = ( function() { console.log( "Chat invitation file loaded" ); ....
1. Go to Setup and Enable Account Team.2. Add Account Team related list to the page layout.3. If you are using Single-Related list component on the Lightning Record page, add ....