Parul
IndividualForum Replies Created
-
Creating a workflow rule
A workflow in Salesforce is a great way to automate business processes. In order to create a workflow rule, you need 2 things:Criteria that cause that rule to run (in this case, when a person’s lead score hits a certain number)
Actions that execute when a record matches the criteria (in this case, an email alert)
Navigate to Your Name > Setup > App Setup > Create > Workflow & Approval > Workflow Rules. -
Parul
MemberSeptember 30, 2018 at 8:54 PM in reply to: In Salesforce, can two users’ have same profile?Yes, because profile is mendatory so morethan two user can have same profile.
-
Charts, tables, gauges, metrics are component in the dashboard. User can select any of these components to view data.
Chart: Chart is used for graphical presentation of data. The Visualforce has a variety of chart types to represent your data.Gauge: This can be used when the single value needs to point within the range of custom values.
Metric: This used to represent data based on one key value.
Table: Table is used to show the set of data.Dashboard Settings
The dashboard setting option is available next to report setting for tabular reports limited by row.Dashboard Running User concept
Each dashboard has a running user, based on security settings determined by the user the data is display in a dashboard.To select a dashboard’s running user in Salesforce Classic use following steps:
- Go to Edit a dashboard.
- Click the down arrow button next to the View dashboard as
- Select a running user setting. It has two options
- Run as specified user. In this view all users able to see the same data regardless of their personal security settings.
- Run as logged-in user. This type of settings is used in a dynamic dashboard and each user can view only their own data
- Then select the option “Let authorized users change running user” to enable a user with permission to change the running user on the dashboard view page.
- If a user has “View My Team’s Dashboards” selection then dashboard as any user below them in the role hierarchy can view dashboard.
- “View All Data” option will allow all users to edit the dashboard and view it as any user in their organization.
- “Enable Other User’s Dashboard” will restrict the access to edit the dashboard. If they have access to it, though that user is not the running user and don’t have “View All Data.”
- Click OK.
- View dashboard as field, “running user”.
- Click Save. -
Parul
MemberSeptember 30, 2018 at 8:38 PM in reply to: What is the difference between feed item and attachment in Salesforce?Hello Shariq,
I want to add more about attachment here,
Attachment -Attachments are something specific to each record. you can control wether attachments are allowed on an object or not by a check box on object settings.Access to each record controls access to its attachments
Thanks.
-
Parul
MemberSeptember 30, 2018 at 8:37 PM in reply to: How to create a search page on Salesforce Lightning? -
Parul
MemberSeptember 30, 2018 at 8:34 PM in reply to: Why we cant insert/update fields in after triggers in that Salesforce Sobject?Hello Shariq,
Because in after trigger we may need DML operation for insert and update while in before we don’t need DML. generally. That’s why we can’t insert and update in after triggers in sobject.
Thanks.
-
Parul
MemberSeptember 30, 2018 at 8:33 PM in reply to: Can we fire events on key press in Lightning for Salesforce?Hello Shariq,
Here is a lightning code sample.
<aura:application > <aura:Attribute name=’val’ type = ‘String’ /> <ui:inputText value='{!v.val}’ keyup=”{!c.search}” /> </aura:application> ({ search : function(component, event, helper) { if(event.getParams().keyCode == 13){ alert(‘Enter key pressed’); // Do your work here fire the event } } }) -
Parul
MemberSeptember 30, 2018 at 8:33 PM in reply to: How to control users permission settings assign to work.com in Salesforce?Hello Shariq,
I suggest, use a permission set. Permission is a collection of settings and permissions that give users access to various tools and functions. Permission sets extend users' functional access without changing their profiles. Enable Work.com features by first creating permission sets that enable Work.com object permissions and tab visibility. Once created, assign the permission sets to users with access to Work.com.
For example, to give users access to an object, create a permission set, enable the required permissions for that object, and then assign the permission set to those users. The user's profile does not change. You may want to have Work.com on Salesforce users with varying levels of permissions. While users can have only one profile, they can have multiple permission sets.
-
Parul
MemberSeptember 30, 2018 at 8:32 PM in reply to: Salesforce - What is Macros in Automate Case Management?Hello Shariq,
Macros is defined as in case automation the automatically complete repetitive tasks on cases, such as selecting the right email templates, so that agents can spend time doing more important things. We can create macros to perform multiple actions on the Case Feed
Thanks.
-
Parul
MemberSeptember 30, 2018 at 8:22 PM in reply to: What things are to be considered in Salesforce “Master-Detail Relationship”?You can define master-detail relationships between custom objects or between a custom object and a standard object. However, the standard object cannot be on the detail side of a relationship with a custom object. In addition, you cannot create a master-detail relationship in which the User or Lead objects are the master.
-
Parul
MemberSeptember 30, 2018 at 8:22 PM in reply to: What things are to be considered in Salesforce “Master-Detail Relationship”?Child record must have a associated parent.
Cascade record-level security.
Cascade record deletion. -
Advantages of generating reports in Salesforce
Reports provide information about Accounts.
Reports provide information about Contacts in Salesforce.
Reports provide information about opportunities.
Reports provide information about forecasts.
Reports provide information about products and sales pipeline.
we can get an organization’s lead information through reports.when creating custom or standard reports in Salesforce it is very easy to set up the report layouts. Report layouts can be done by drag and drop feature.
A Standard Report presents what we believe is the most important data for any given domain, subdomain or URL in our index, including your own website or that of a competitor. The Standard Report has three main sections – an overview, a backlinks view, and an anchor text view.
-
Parul
MemberSeptember 30, 2018 at 8:00 PM in reply to: Can we create field in custom object containing some records with master detail relationship in Salesforce?Not possible to create the MD relationship, First create as a lookup then populate each record as a parent then convert into master detail.
-
Parul
MemberSeptember 30, 2018 at 7:56 PM in reply to: Can we convert the lookup relationship to Master Detail relationship in Salesforce?For conversion you need to create first lookup then each child record populate
as a parent record after that with each child having parent and then go back convert the lookup in to master-detail. -
Parul
MemberSeptember 30, 2018 at 7:52 PM in reply to: How to create Rollup summary field on look-up relationship in Salesforce?I think use trigger for rollup summary on lookup.
-
Parul
MemberSeptember 30, 2018 at 7:48 PM in reply to: What things are to be considered in Salesforce “Master-Detail Relationship”?Relationship is optional.
-
Parul
MemberSeptember 30, 2018 at 7:46 PM in reply to: An action is scheduled to be executed in “Time Based Workflow” in Salesforce ,can it be deleted ?Not possiblle to delete if there is any pending action
-
Parul
MemberSeptember 30, 2018 at 7:44 PM in reply to: When you can’t add Time Dependent Action in Workflow Rule in Salesforce?There is a criteria “Every time a record is created or edited” in this you can’t add Time dependent action in Workflow rule.
-
Parul
MemberSeptember 30, 2018 at 7:39 PM in reply to: How to enable “floating report header” in Salesforce?It is hard to remember the headers when you are viewing a report with thousands of rows. Instead of scrolling, create floating headers by freezing columns and rows. After Spring’14 release when you scroll down to read a report, you can choose to have the header rows at the top or on the left of the report stay visibility.
Go to Setup=>Customize=>Reports and Dashboards=>User Interface settings=>Click on enable floating report header.
-
Parul
MemberSeptember 30, 2018 at 2:04 PM in reply to: Why do we use interface in Salesforce Apex Class?Interface is like a class in which none of the methods have been implemented, the method signatures are there, but the body of each method is empty. To use an interface, another class must implement it by providing a body for all of the methods contained in the interface.
-
Parul
MemberSeptember 29, 2018 at 1:18 AM in reply to: How to write test class for code coverage of pagereference method in Salesforce?Apex class:
public with sharing class opportunityController{
public Opportunity opp {get;set;}
public opportunityController(){
opp = new Opportunity ();
}public pageReference save(){
insert opp;
pagereference page =new ApexPages.StandardController(opp).view();//pageReference ('/apex/OpportunityPage');
page.setRedirect(true);
return page;
}
}Test Class:
@isTest
public class testOpportunityController{
public static testMethod void testOpp () {
opportunityController oppC = new opportunityController ();
pageReference pager = page.OpportunityPage;
Test.setCurrentPage(pager);
oppC.opp.Name = 'abc';
oppC.opp.Stagename = 'Prospecting';
oppC.opp.Closedate = system.today();
oppC.save();
system.assert(oppC.opp.Id != null);apexPages.Currentpage().getParameters().put('Id',opp.id);
}
} -
Parul
MemberSeptember 29, 2018 at 1:17 AM in reply to: Delete more than 10000 records using script without limit in Salesforce ApexUse batch class
-
Parul
MemberSeptember 29, 2018 at 1:16 AM in reply to: How to hide or show Salesforce object through the apex code?we can change the current user profile through apex code.
-
Parul
MemberSeptember 29, 2018 at 1:16 AM in reply to: What is BusinessHours Class in Salesforce Apex? And how we can use them?The following are methods for BusinessHours. All methods are static.
add(businessHoursId, startDate, intervalMilliseconds) – Adds an interval of time from a start Datetime traversing business hours only. Returns the result Datetime in the local time zone.
addGmt(businessHoursId, startDate, intervalMilliseconds) – Adds an interval of milliseconds from a start Datetime traversing business hours only. Returns the result Datetime in GMT.
diff(businessHoursId, startDate, endDate) – Returns the difference in milliseconds between a start and end Datetime based on a specific set of business hours.
isWithin(businessHoursId, targetDate) – Returns true if the specified target date occurs within business hours. Holidays are included in the calculation.
nextStartDate(businessHoursId, targetDate) – Starting from the specified target date, returns the next date when business hours are open. If the specified target date falls within business hours, this target date is returned. -
Parul
MemberSeptember 29, 2018 at 1:15 AM in reply to: How to stop a trigger of managed package from failing as it is being envoked by Salesforce Batch Apex?If you want to still update the accounts, you have to use the Salesforce APIs to update accounts OR you can make custom webservice in Salesforce and call it by authenticating salesforce. By that way the context would get change of both transactions. Let me know if you need more detail.