Aditya
IndividualForum Replies Created
-
Aditya
MemberJuly 23, 2020 at 4:27 pm in reply to: What is the Lightning message service in Salesforce?Lightning Message Service is the first Salesforce technology designed to enable communication between Visualforce and Lightning Components anywhere on a Lightning Page.
-
Aditya
MemberJuly 23, 2020 at 4:26 pm in reply to: How to set up Salesforce Data Loader Command Line Interface or CLI?- Navigate to Setup –> Data –> Data Loader.
- Download the data loader.
- Install it following the wizard.
- Make sure JAVA is installed in your machine by running "java -version" command on your Command Prompt Window.
-
To create your custom exception class, extend the built-in Exception class and make sure your class name ends with the word Exception , such as “MyException” or “PurchaseException”. All exception classes extend the system-defined base class Exception , and therefore, inherits all common Exception methods.
-
Aditya
MemberJuly 22, 2020 at 2:30 pm in reply to: Which two statement can a developer use to throw a custom exception of type Missthrow new MissingFieldValueException('Problem occurred');
throw (MissingFieldValueException, 'Problem occurred'); -
Aditya
MemberJuly 22, 2020 at 2:26 pm in reply to: Which exception type Cannot be caught in Salesforce?<div>Hi,</div>Exceptions that Can't be Caught<wbr><wbr> One such exception is the limit exception ( System. LimitException ) that the runtime throws if a governor limit has been exceeded, such as when the maximum number of SOQL queries issued has been exceeded.
-
Aditya
MemberJuly 20, 2020 at 4:06 pm in reply to: How do I create a contents document in Salesforce?Hi,
ContentVersion ContVerFile = new ContentVersion();
ContVerFile.VersionData = Blob.valueOf('string');
ContVerFile.Title = 'title';
ContVerFile.ContentLocation= 's';
ContVerFile.PathOnClient='title.csv';
insert ContVerFile; -
Aditya
MemberJuly 20, 2020 at 4:04 pm in reply to: What are use cases of Platform Event in Salesforce ?Hi,
Use platform events in the following cases: To send and receive custom event data with a predefined schema. To publish or subscribe to events in Apex. For the flexibility of publishing and processing events on and off the Salesforce platform. -
Hi,
The global access modifier declares that this class is known by all Apex code everywhere. ... The virtual definition modifier declares that this class allows extension and overrides. You cannot override a method with the override keyword unless the class has been defined as virtual . -
Aditya
MemberJuly 17, 2020 at 3:55 pm in reply to: How to insert ContentDocumentLink in Salesforce?ContentVersion cVersion = new ContentVersion();
cVersion.ContentLocation = 'S'; //S-Document is in Salesforce. E-Document is outside of Salesforce. L-Document is on a Social Netork.
cVersion.PathOnClient = attach.Name;//File name with extention
cVersion.Origin = 'H';//C-Content Origin. H-Chatter Origin.
cVersion.OwnerId = attach.OwnerId;//Owner of the file
cVersion.Title = attach.Name;//Name of the file
cVersion.VersionData = attach.Body;//File content
Insert cVersion;//After saved the Content Verison, get the ContentDocumentId
Id conDocument = [SELECT ContentDocumentId FROM ContentVersion WHERE Id =:cVersion.Id].ContentDocumentId;//Insert ContentDocumentLink
ContentDocumentLink cDocLink = new ContentDocumentLink();
cDocLink.ContentDocumentId = conDocument;//Add ContentDocumentId
cDocLink.LinkedEntityId = attach.ParentId;//Add attachment parentId
cDocLink.ShareType = 'I';//V - Viewer permission. C - Collaborator permission. I - Inferred permission.
cDocLink.Visibility = 'InternalUsers';//AllUsers, InternalUsers, SharedUsers
Insert cDocLink; -
Hi,
View an account, contact, or lead record.
Sign in to Twitter. In Salesforce Classic, find Twitter under the record's name. In Lightning Experience, find it on the record's News tab. ...
To link it with the record, select a profile or search again using different search keywords. -
Aditya
MemberJuly 16, 2020 at 3:16 pm in reply to: What is attribute tag for application event in Salesforce?Hi,
evt resource. Events can contain attributes that can be set before the event is fired and read when the event is handled. Use type="APPLICATION" in the <aura:event> tag for an application event. For example, this c:appEvent application event has one attribute with a name of message . -
The Salesforce Partner Community is a portal built and maintained specifically for Salesforce partners. It's where these partners manage their business, learn best practices, get support, and engage with Salesforce employees in a secure environment.
-
Aditya
MemberJuly 16, 2020 at 3:13 pm in reply to: How many types of App can we build on AppExchange in Salesforce?Hi,
There is 250+ apps -
Aditya
MemberJuly 15, 2020 at 9:45 am in reply to: What are the features of the Salesforce Marketing Cloud?Messaging for every step of the customer journey.
Drag-and-drop segmentation.
1:1 content personalization.
CRM and cross-channel integration.
Comprehensive, real-time tracking and reporting.
Pre-built templates and themes.
Deliverability tools.
Email Marketing. -
Aditya
MemberJuly 15, 2020 at 9:44 am in reply to: How can we provide field level security in Salesforce ?Hi,
From the management settings for the field's object, go to the fields area.
Select the field you want to modify.
Click View Field Accessibility.
Specify the field's access level. -
Aditya
MemberJuly 15, 2020 at 9:41 am in reply to: Can a particular customer be placed in a specific distribution in an A/B Test.Hi,
Subscriber's number and Subscriber's percenatge -
Aditya
MemberJuly 15, 2020 at 9:39 am in reply to: How Security Token is Sent to User in Salesforce ?Hi,
A user's security token is related to their password and used together to access Salesforce. There are two ways the security token may be entered, depending on the application: The token is appended to the end of your password without any spaces. The token is entered in a separate field from the password. -
Aditya
MemberJuly 15, 2020 at 9:38 am in reply to: Which interface we are supposed to implement so that a lightning component can bAdd the force:lightningQuickAction or force:lightningQuickActionWithoutHeader interface to a Lightning component to enable it to be used as a custom action in Lightning Experience or the Salesforce mobile app.
-
Hi,
A Matching Rule Compares Records and Detects Duplicates.
A Duplicate Rule or Job Handles Duplicates.
Sets and Reports List Duplicates Found. -
Hi,
A duplicate record set is a list of items identified as duplicates. It's created when a duplicate rule or job runs. Let your Lightning Experience users merge duplicates by granting them access to duplicate record set -
Aditya
MemberJuly 10, 2020 at 4:37 pm in reply to: Can a trigger make a call to Apex callout method in Salesforce?Hi,
Yes, trigger can make call to apex callOut method -
Aditya
MemberJuly 9, 2020 at 3:55 pm in reply to: How can I remove ',' from the end of string or name of fields?UPDATE someTable SET someColumn = REPLACE(someColumn, 'Potato', '')
WHERE someColumn LIKE '%Potato' -
Hi,
Map<String, Object> m = (Map<String, Object>) JSON.deserializeUntyped(jsonInput);
Map<String, Object> m2 = (Map<String, Object>) m.get('info5');
List<decimal> d = new List<decimal>();
for(String s:m2.keyset()) {
decimal t = (decimal) m2.get(s);
d.add(t);
} -
Hi,
We know that a location in apex can store only data of one type and when you have data from multiple types then you wont be club them together without a self defined container called as wrapper class. A nested wrapper class that is a wrapper consisting of another class variables. -
Hi,
When rendering VisualForce pages, the platform will automatically enforce CRUD and FLS when the developer references SObjects and SObject fields directly in the VisualForce page. ... Additionally, all apex:inputField tags will be rendered as read-only elements for fields that are set to read-only through FLS.