MOHIT
IndividualForum Replies Created
-
Quick actions enable users to do more in Salesforce and in the Salesforce mobile app. With custom quick actions, you can make your users’ navigation and workflow as smooth as possible by giving them convenient access to information that’s most important. For example, you can let users create or update records and log calls directly in their Chatter feed or from their mobile device.
Quick actions can also invoke Lightning components, flows, Visualforce pages, or canvas apps with functionality that you define. For example, you can create a custom action so that users can write comments that are longer than 5,000 characters. Or create one that integrates a video-conferencing application so that support agents can communicate visually with customers. -
MOHIT
MemberJune 9, 2020 at 3:04 pm in reply to: How do you make lightning component in Salesforce?Open the Developer Console.
Select Developer Console from the Your Name or the quick access menu (Setup gear icon).
Open the New Lightning Bundle panel for an Aura component.
Select File | New | Lightning Component.
Name the component.
For example, enter helloWorld in the Name field.
Describe the component.
Use the Description field to add details about the component.
Add component configurations to the new component.
You can select as many options in the Component Configuration section as you wish, or select no configuration at all.
Click Submit to create the component.
Or, to cancel creating the component, click the panel’s close box in the top right corner. -
Quick actions enable users to do more in Salesforce and in the Salesforce mobile app. With custom quick actions, you can make your users’ navigation and workflow as smooth as possible by giving them convenient access to information that’s most important. For example, you can let users create or update records and log calls directly in their Chatter feed or from their mobile device.
Quick actions can also invoke Lightning components, flows, Visualforce pages, or canvas apps with functionality that you define. For example, you can create a custom action so that users can write comments that are longer than 5,000 characters. Or create one that integrates a video-conferencing application so that support agents can communicate visually with customers. -
1GB
Data and File Storage Limits
The platform comes with a limit of 1GB data storage and 10GB file storage per organization and additional 20MB (for Professional and Enterprise plans) or 120MB (for Performance and Unlimited) data storage and 100MB file storage per each user. -
AppExchange is the Salesforce store, empowering businesses to extend the functionality of Salesforce across every department and industry. It’s an ecosystem of over 5,000 ready-to-install solutions, 80,000 peer reviews, and 6 million customer installs to help solve any business challenge. AppExchange includes all types of solutions too: You’ll find apps, components, Lightning Data, Bolt Solutions, and Flows.
-
MOHIT
MemberJune 5, 2020 at 1:42 pm in reply to: Can we delete trigger through through Tooling API in Salesforce ?Apex triggers cannot be deactivated using Tooling API. You can deactivate Apex triggers using Metadata API. Consider using custom metadata records and include logic in your trigger to bypass trigger configuration logic.
-
MOHIT
MemberJune 5, 2020 at 1:33 pm in reply to: What is the use of lightning:actionOverride interface in Salesforce ?Lightning components that implement the lightning:actionOverride interface replace the standard behavior completely. However, overridden actions always display as a page, not as a panel. Your component displays without controls, except for the main Lightning Experience navigation bar. Your component is expected to provide a complete user interface for the action, including navigation or actions beyond the navigation bar.
-
Go to the Record Type (Setup> Customize> (object)> Record Types). Click on the record type. Find the Record Type ID in the URL between id= and &type.
-
You can get as shown below
component.get("v.falseValue")
Complete code is here
<aura:component><aura:attribute name="falseValue" type="boolean" default="false" />
<ui:button label="Log Value" press="{!c.logValue}"/>
<aura:component>
({
logValue : function(component, event, helper) {
console.log(component.get("v.falseValue"));
}
}) -
MOHIT
MemberJune 4, 2020 at 2:57 pm in reply to: How to create Holiday object in test setup in test class in Salesforce?Holiday hol = new Holiday();
hol.Name='Test holiday';
hol.activitydate = System.Today();
insert hol; -
If user have only Read access on particular record but he wants to change the owner name of that record, then in profile level Transfer Record enables he can able to change the owner.
-
MOHIT
MemberJune 3, 2020 at 3:35 pm in reply to: Which tools are used for deployment in the Salesforce?tools used for deployment in the Salesforce:
Change Sets.
Force.com Migration Tool.
Force.com IDE / Eclipse. -
Database.com is built from the ground up to power a new generation of enterprise applications that are cloud, mobile and social
Database.com is open - for use with any language, platform and device
Database.com enables developers to focus on building great apps, instead of managing and maintaining databases and hardware
Database.com leverages the infrastructure and technology trusted and proven by more than 87,000 salesforce.com customers over 11 years – now a standalone cloud database -
MOHIT
MemberJune 3, 2020 at 3:24 pm in reply to: What does future method make different from other methods in Salesforce?Future methods are used to run the process in a separate thread, at later time when system resources are available. We can use future methods for any operation we would like to run asynchronously in its own thread.
Future methods provide the benefits of not blocking the users from performing other operations and providing higher governor and execution limits for the processes. -
MOHIT
MemberJune 2, 2020 at 2:13 pm in reply to: How to test future methods in test class in Salesforce?To test methods defined with the future annotation, call the class containing the method in a startTest(), stopTest()code block. All asynchronous calls made after the startTest method are collected by the system. When stopTest is executed, all asynchronous processes are run synchronously.
@isTest
private class FutureApexTest {
private static testMethod void callFutureMethod() {
Test.startTest();
// Call your @future method here.
FutureApex.doCallFuture();
// Now that we've queued up the @future method to be executed, we
// need to call Test.stopTest(). When Test.stopTest() runs, all
// queued and scheduled Apex that would occur in the future is actually
// executed immediately at this time.
Test.stopTest();
// Validate the expected results.
System.assertEquals(expectedValue, actualValue);
}
} -
Future methods can be accessed from any class and not depend on any class instance hence it is declared as Static.
-
MOHIT
MemberJune 2, 2020 at 2:10 pm in reply to: Which three features can automatically create a Case in Salesforce?These are the automatic sources for Case creation:
Email-to-case
Web-to-case
Lightning for outlook -
MOHIT
MemberJune 1, 2020 at 3:37 pm in reply to: What is the use of $A.enqueueAction(action) in Salesforce?It adds the server-side controller action to the queue of actions to be executed. Rather than sending a separate request for each individual action, the framework processes the event chain and batches the actions in the queue into one request. The actions are asynchronous and have callbacks
-
MOHIT
MemberJune 1, 2020 at 2:58 pm in reply to: What happens to child record when parent record is deleted in Salesforce?In case of Lookup Relationship, if you delete Master Record, all corresponding Child Records will not be deleted. But if you want to delete child records in this case, you can create a trigger through which on master record deletion the child records will get deleted. It will behave like a master detail relationship.
-
MOHIT
MemberJune 1, 2020 at 2:57 pm in reply to: What is WhoId and WhatId in activities in Salesforce?WhoID in Salesforce refers to people things. So that would be typically a Lead ID or a Contact ID. The WhoId represents a human such as a lead or a contact. WhoIds are polymorphic. Polymorphic means a WhoId is equivalent to a contact’s ID or a lead’s ID. The label is Name ID.
WhatID in Salesforce refers to object type things. That would typically be an Account ID or an Opportunity ID. The WhatId represents nonhuman objects such as accounts, opportunities, campaigns, cases, or custom objects. WhatIds are polymorphic. Polymorphic means a WhatId is equivalent to the ID of a related object. The label is Related To ID. -
MOHIT
MemberMay 29, 2020 at 2:13 pm in reply to: How to open the console for the lightning page n Salesforce?To open Console for the lightning page press
ctrl + shift + i -
MOHIT
MemberMay 29, 2020 at 2:11 pm in reply to: What is the use of flexiPage in Salesforce lighting component?FlexiPage Represents the metadata associated with a Lightning page. A Lightning page represents a customizable screen made up of regions containing Lightning components.
This type extends the Metadata metadata type and inherits its fullName field.
Lightning pages are used in several places.
In the Salesforce app, a Lightning page is the home page for an app that appears in the navigation menu.
In Lightning Experience, Lightning pages can be used:
To customize the layout of record pages, the Salesforce Home page, and the Email Application pane in the Outlook and Gmail integrations.
As the home page for an app.
As the utility bar for a Lightning app. -
MOHIT
MemberMay 29, 2020 at 1:56 pm in reply to: Difference between lightning component and lightning web component.1) When writing a Lightning component, you would use expression syntax {!v.attribute} when wanting to display the value.
2) When writing a lightning component, to write a condition, you would use the <aura:if> tag.
3) When writing a lightning component, to iterate over an array, you would use the <aura:iteration> tag
1) With Lightning web components, we lose the !v. part of the expression and simply add in a standard HTML Expression into the {markup}.
2) With Lightning web components, this changes to using the if:true and if:false directives to evaluate a condition.
3) With Lightning web components, this changes to using the for:each and for:item directives to iterate over an array. -
MOHIT
MemberMay 28, 2020 at 4:47 pm in reply to: How can we access Installed Packages in Salesforce?To access the package detail page, from Setup, enter Installed Packages in the Quick Find box, select Installed Packages, and then click the name of the package that you want to view.
From this page, you can:
Click Uninstall to remove the package and all its components from your Salesforce organization.
Click Manage Licenses to assign available licenses to users in your organization. You can’t assign licenses in Lightning Experience. If you need to assign a license, switch to Salesforce Classic. -
It is not possible to make formula field as editable. formula field is a read only field.