Aditya
IndividualForum Replies Created
-
Aditya
MemberJune 9, 2020 at 3:48 pm in reply to: How to fetch linkedEntityId from ContentDocumentLink in Salesforce?Hi,
SELECT ContentDocument.title FROM ContentDocumentLink WHERE ContentDocumentId = '069D00000000so2' AND LinkedEntityId = '0D5000000089123' -
Aditya
MemberJune 8, 2020 at 2:50 pm in reply to: Why we need to abort Scheduled job in Saelsforce?Hi,
Run the following query to find a queued status scheduled or future Apex job id to abort: SELECT ... Once you find the jobId to delete: Go to Utilities | Apex Execute. 7. Replace text ... The scheduled Apex job should get deleted. -
Aditya
MemberJune 8, 2020 at 2:48 pm in reply to: What are the functionality of corntrigger in Salesforce?Hi,
Contains schedule information for a scheduled job. CronTrigger is similar to a cron job on UNIX systems. This object is available in API version 17.0 and later. -
Aditya
MemberJune 8, 2020 at 2:46 pm in reply to: How many callouts to external service can be made in a single apex transaction?100 Callouts
-
Aditya
MemberJune 5, 2020 at 1:58 pm in reply to: What are consideration to create a new user by admin in salesforce?hi,
There is the following consideration:
Username
License
Role
Profile
Alias -
Hi,
If Master is selected, you can't select any custom record types; and if any custom record types are selected, you can't select Master. The default record type to use when users with this profile create records for the object. -
Aditya
MemberJune 5, 2020 at 1:48 pm in reply to: What is the use of lightning:actionOverride interface in Salesforce ?Hi,
Lightning:actionOverride is used to override the functionality of the Standard pages in Salesforce. -
Hi,
The getAttribute() method returns the value of the attribute with the specified name, of an element. Tip: Use the getAttributeNode() method if you want to return the attribute as an Attr object. -
Aditya
MemberJune 4, 2020 at 3:16 pm in reply to: How to avoid mixed_DML_operation error in test class in Salesforce?By using @future method, we avoid the mixed Dml exception in Salesforce
-
Aditya
MemberJune 4, 2020 at 3:14 pm in reply to: How to create Holiday object in test setup in test class in Salesforce?Hi,
holiday holiDay = new holiday();
holiDay.Name='test';
holiDay.ActivityDate=Date.newInstance(2020, 05, 30);
insert holiDay;
List <Holiday> holidays = [Select Id From Holiday];
system.debug('testHolidays---'+holidays); -
Salesforce Console apps are a tab-based workspace suited for fast-paced work environments. Manage multiple records on a single screen and reduce time spent clicking and scrolling to quickly find, update, and create record
-
Aditya
MemberJune 3, 2020 at 3:15 pm in reply to: What are restrictions while writing queries with SOSL in Salesforce?Hi,
Build a SOSL query that searches across multiple sObjects. SOSL is most useful when you don't know the exact fields and objects that your data resides . It's possible for a SOSL search to NOT find all the matching results because of limits. -
Aditya
MemberJune 3, 2020 at 3:14 pm in reply to: Which tools are used for deployment in the Salesforce?Hi,
Change Sets: The most frequently used tool for deployment when you want to send customizations from your Sandbox to Production org.
Force.com Migration Tool.
Force.com IDE / Eclipse -
Aditya
MemberJune 2, 2020 at 3:24 pm in reply to: What are the features of Knowledge in salesforce?Hi,
Overview of Salesforce Knowledge Features
Knowledge One widget.
WYSIWYG editor.
Content lifecycle management.
Custom review.
Publication & translation approval.
Organize article types.
Data categories for specific audience.
Create articles from cases. -
Aditya
MemberJune 2, 2020 at 3:22 pm in reply to: How to read root element in XML DOM in Salesforce?Hi,
Apex provides classes that enable you to work with XML content using the DOM (Document Object Model).
DOM classes help you parse or generate XML content. You can use these classes to work with any XML content. One common application is to use the classes to generate the body of a request created by HttpRequest or to parse a response accessed by HttpResponse. The DOM represents an XML document as a hierarchy of nodes. Some nodes may be branch nodes and have child nodes, while others are leaf nodes with no children. You can parse nested XML content that’s up to 50 nodes deep. -
Aditya
MemberJune 1, 2020 at 5:15 pm in reply to: What is the use of $A.enqueueAction(action) in Salesforce?Hi,
$A. enqueueAction(action) sends the request the server. More precisely, it adds the call to the queue of asynchronous server calls. That queue is an optimization feature of Lightning -
Aditya
MemberJune 1, 2020 at 5:09 pm in reply to: Why do we use @AuraEnabled annotation in Salesforce?Hi,
The @AuraEnabled annotation enables client- and server-side access to an Apex controller method. Providing this annotation makes your methods available to your Lightning components (both Lightning web components and Aura components). ... You can cache method results only for methods that retrieve data but do not modify it. -
Aditya
MemberJune 1, 2020 at 5:06 pm in reply to: How to cover response map in test class in Salesforce?Hi,
If put() method of Map is under any IF condition or For loop. Please make sure that IF condition and For loop is covered first then only map will be covered. 2) Public Map - Map is declared as Public which can be accessible in Test Class. We can pass values by Test class -
Aditya
MemberMay 29, 2020 at 3:10 pm in reply to: insertImmediate(sobjects) method of Database class in Salesforce ?Hi,
The requests are executed synchronously and are sent to the external systems that are defined by the external objects' associated external data sources. If the Apex transaction contains pending changes, the synchronous operations can't be completed and throw exceptions. -
Aditya
MemberMay 29, 2020 at 3:08 pm in reply to: What is the use of setSavepoint() method of Database class in Salesforce ?Hi,
Database. setSavepoint() is used to define a point at which DML operations can be rolled back. If any error occurs during DML Operations, that contains many statements, the application will be rolled back to the most recent save point and the entire transaction will not be aborted. -
Aditya
MemberMay 29, 2020 at 3:04 pm in reply to: How many arguemnts are there in reduce method in lightning component.Hi,
<lightning:input aura:id="field" label="Last name" placeholder="Last name" required="true" />
<lightning:input aura:id="field" label="First name" placeholder="First name" required="true" />
<lightning:input aura:id="field" label="Email" placeholder="Email" required="true" />
<lightning:input aura:id="field" label="Phone" placeholder="Phone" required="true" /> -
Hi,
It is the group of users which have their own record -
Aditya
MemberMay 28, 2020 at 6:15 pm in reply to: How can I change the owner of my opportunity record in Salesforce?Hi,
> open any opportunity record
> click on right side of the owner field
> choose the owner from the list of users -
Hi,
Yes, we can delete the user which are not active -
Aditya
MemberMay 22, 2020 at 7:21 pm in reply to: Can we make a Lightning Component that shows up in both the mobileBoth the mobile and the desktop user interfaces with the help of Salesforce1 Mobile app, template-based communities, and custom standalone apps