Anuj
IndividualForum Replies Created
-
Anuj
MemberJune 17, 2020 at 3:11 pm in reply to: Why should you build a report on your prediction in Salesforce?Before tapping into Einstein's AI power, we recommend that you build and run a report on the new field to make sure everything is accurate. Reports also show data volume. Here's how to build a report to view the late payments on your invoice records at Lightning Energy.
-
Anuj
MemberJune 17, 2020 at 3:10 pm in reply to: Why is it important to segment out certain fields in your prediction modelThis is because this type of model could not pick up the interaction effect between the Department and other independent variables. ... Segmentation helps account for this difference in behavior between the two segments and results in more accurate predictions.
-
Anuj
MemberJune 16, 2020 at 1:27 pm in reply to: How to set css for different resolutions in lightning component ?Please follow the below link for better understanding...
https://salesforce.stackexchange.com/questions/173315/how-to-define-lightning-css-based-on-resolution -
The @media CSS at-rule can be used to apply part of a style sheet based on the result of one or more media queries. With it, you specify a media query and a block of CSS to apply to the document if and only if the media query matches the device on which the content is being used.
-
Anuj
MemberJune 16, 2020 at 12:46 pm in reply to: How to cover apexpages.currentpage().getparameters().get('id') in test class?you can use this code....
@isTest
public class ExtensionTestClass
{
static testMethod void testMethod1()
{
Account testAccount = new Account();
testAccount.Name='Test Account' ;
insert testAccount;
Test.StartTest();
ApexPages.StandardController sc = new ApexPages.StandardController(testAccount);
myControllerExtension testAccPlan = new myControllerExtension(sc);
PageReference pageRef = Page.AccountPlan; // Add your VF page Name here
pageRef.getParameters().put('id', String.valueOf(testAccount.Id));
Test.setCurrentPage(pageRef);
//testAccPlan.save(); call all your function here
Test.StopTest();
}
} -
A package version is a number that identifies the set of components uploaded in a package. The version number has the format majorNumber. minorNumber. patchNumber (for example, 2.1. ... Unmanaged packages are not upgradeable, so each package version is simply a set of components for distribution.
-
Represents a specific version of a document in Salesforce CRM Content or Salesforce Files. ... For example, if a user only has access to a file because they have access to a record that the file is shared with, the file won't be returned in a query such as "SELECT Id FROM ContentDocument."
-
Anuj
MemberJune 15, 2020 at 2:03 pm in reply to: What is FileCard in Lightning Component in Salesforce?A lightning:fileCard component displays a preview of a file. On desktops, clicking the file preview opens the SVG file preview player, enabling you to preview images, documents, and other files in the browser. The file preview player provides quick access to file actions, such as upload, delete, download, and share.
-
To attach files to records:
In Lightning Experience, drag files directly onto the Files related list or click Upload Files. To add Salesforce Files, click Add Files in the related list's menu.
In Salesforce Classic, click Upload File in the Files related list. -
Yes, multiple users can have same profile but one user have only one profile.
-
Anuj
MemberJune 12, 2020 at 1:50 pm in reply to: What is the difference between files and attachments in Salesforce?Files were brought in as a powerful way to manage documents in salesforce. Other options such as attachments and documents were not as flexible and needed to evolve with the times, Files are the future, and the future is here. Files are more versatile and provide better functionality than attachments.
-
Anuj
MemberJune 11, 2020 at 2:18 pm in reply to: How does Einstein Discovery use actionable variables in Salesforce?An actionable variable is a variable that people can control, such as deciding which marketing campaign to use for a particular customer. Einstein uses actionable variables to recommend ways in which to improve your outcome. All recommendations are based on the actionable variables selected during model deployment.
-
Salesforce offers two primary types of APIs based on industry standards. The first is a SOAP based API, and the second is a REST based API. The REST API is very lightweight, has no WSDL definition file that is needed to install, and performs very well.
-
Webservice Methods. Apex class methods can be exposed as custom SOAP Web service calls. This allows an external application to invoke an Apex Web service to perform an action in Salesforce. Use the webservice keyword to define these methods.
-
Using Batch Apex
To monitor or stop the execution of the batch Apex Batch job, go to Setup → Monitoring → Apex Jobs or Jobs → Apex Jobs. Let us now understand each method in detail. -
Custom Labels. Custom labels enable developers to create multilingual applications by automatically presenting information (for example, help text or error messages) in a user's native language. Custom labels are custom text values that can be accessed from Apex classes, Visualforce pages, or Lightning components.
-
Anuj
MemberJune 9, 2020 at 2:28 pm in reply to: How to write Post-Installation script apex class for the managed package?Follow the below link for better understanding...
https://help.salesforce.com/articleView?id=apex_post_install_script_create.htm&type=5 -
Anuj
MemberJune 9, 2020 at 2:25 pm in reply to: How to make person account and business account in Salesforce?How to enable Person Account in Salesforce
Setup → Customize → Accounts → Record Types.
Create New Record Type.
Set “Business Account” as a Record Type Name.
Click Next.
Accept all defaults and click Save.Required Editions and User Permissions
In Salesforce Classic, click Create Account on the Related Accounts card. ...
Select the Business account record type, and click Continue.
For the Account Name, enter the name of the business.
Enter the rest of the information that your organization uses. ...
Save your work. -
To Create a Quick Action.
Click. and select Setup.
Enter Global Actions in the Quick Find and select Global Actions.
Click New Action.
Leave the Action Type as Create a Record. ...
In the Label field, enter Waypoint . ...
Click Save.
In the next Action Layout screen, leave Waypoint Name as the only field in the layout. -
Anuj
MemberJune 8, 2020 at 1:48 pm in reply to: How many relationships included in SFDC & What are they?Each custom object can have up to two master-detail relationships and up to 25 total relationships. The Related To entry can't be changed after you save the relationship. A profile or a permission set can have an entity, such as Account, with a master-detail relationship.
-
Anuj
MemberJune 8, 2020 at 1:47 pm in reply to: Number of accesses available in Organization Wide Defaults and what are they?There are mainly four levels of access : Public Read/Write/Transfer (only available of Leads and Cases) Public Read/Write : All users can view, edit, and report on all records(Given that they have object level permission).
-
Anuj
MemberJune 8, 2020 at 1:44 pm in reply to: How to create a date picker in the Visualforce page?Visualforce page:
<apex:page controller="datePicker" id="mypage">
<apex:form>
Date: <apex:inputText value="{!datename}" size="10" id="demo" onfocus="DatePicker.pickDate(false, this , false);" />
</apex:form>
</apex:page>
Apex Controller:
public class DatePicker
{
public String datename {get; set;}
} -
Anuj
MemberJune 5, 2020 at 11:57 am in reply to: How to delete activated record type in Salesforce ?First you have to remove all active profiles from record type after then follow the below steps--
In Salesforce Classic, go to Setup | Manage Users | Profiles (or Setup | Users | Profiles in Lightning Experience); click into the standard System Administrator profile, scroll down to "Record Type Settings," and click the [Edit] link next to the object which includes the record type to deactivate/delete. -
What kind of button are you asking?