Deepak
IndividualForum Replies Created
-
You have to use Java regex to extract text between tags.
Code snippet for the following is:
final Pattern pattern = Pattern.compile("<tag>(.+?)</tag>");
final Matcher matcher = pattern.matcher("<tag>String I want to extract</tag>");
matcher.find();
System.out.println(matcher.group(1)); // Prints String which you want to extract -
Deepak
MemberJune 2, 2020 at 2:45 pm in reply to: Which standard chart types can be placed on a Salesforce dashboard?Chart Types
You can show data in reports and dashboards in the form of bars, columns, lines, shapes, or other elements. Which is right depends on what the data is about and what you want to show with it.
Bar Charts
A bar chart shows values as horizontal lengths, so this format can be good for comparing distance or time. Use a bar chart when you have a summary report with a single grouping, or you only want to display one grouping.
Column Charts
A column chart is very much like a bar chart, but it can be a better format for showing relative counts of things, such as leads or dollars. Use a column chart when you have a summary report with a single grouping, or you only want to display one grouping.
Line Charts
Line charts are good for showing changes in the value of an item over a series of points in time, such as week to week or quarter to quarter. Use a line chart when you have one important grouping representing an ordered set of data and one value to show.
Pie Charts
Use a pie chart when you have multiple groupings and want to show the proportion of a single value for each grouping against the total.
Donut Charts
Use a donut chart when you have multiple groupings and want to show not only the proportion of a single value for each grouping against the total, but also the total amount itself.
Funnel Charts
Use a funnel chart when you have multiple groupings in an ordered set and want to show the proportions among them.
Scatter Charts
Use scatter charts to show meaningful information using one or two groups of report data plus summaries. -
Deepak
MemberJune 2, 2020 at 2:43 pm in reply to: What is meant by @InvocableMethod in Apex class in Salesforce?Invocable methods are called with REST API and used to invoke a single Apex method. Invocable methods have dynamic input and output values and support describe calls.
-
Standard list controllers allow you to create Visualforce pages that can display or act on a set of records. Examples of existing Salesforce pages that work with a set of records include list pages, related lists, and mass action pages.
-
Deepak
MemberJune 1, 2020 at 5:57 am in reply to: What is the use of interface Lightning:actionOverride in Salesforce?The lightning:actionOverride doesn’t add or require any attributes on components that implement it. Components that implement this interface don’t automatically override any action. You need to manually override relevant actions in Setup.
-
In Salesforce a 'callout' is any https call that accesses an external URL i.e. some other webservice or website. A 'callin' would be the opposite i.e. some external web service or application using the Salesforce API to access Salesforce data
-
A WSDL is an XML-document which contains a standardized description on how to communicate using a web service (the Salesforce API is exposed as a web service). The WSDL is used by developers to aid in the creation of Salesforce integration pieces.
-
Deepak
MemberMay 29, 2020 at 2:27 pm in reply to: How many different ways of deployment in Salesforce?There are three ways to deploy i.e you can deploy in Performance ,Unlimited & Enterprise.But you cannot deploy in Developer Version.
-
Deepak
MemberMay 29, 2020 at 1:31 pm in reply to: What is recordData in Salesforce lightning components?A force:recordData component defines the parameters for accessing, modifying, or creating a record using Lightning Data Service.To load a record, specify its record ID, the component attributes, and a list of fields in your custom component.
-
Deepak
MemberMay 29, 2020 at 1:28 pm in reply to: What is the difference between custom setting and custom labels in Salesforce?Custom settings data is available in the application cache, which enables efficient access without the cost of repeated queries to the database.While Custom labels enable developers to create applications in multiple languages by automatically presenting information in a user's native language.
-
Deepak
MemberMay 28, 2020 at 11:51 am in reply to: How do we create a dynamic dashboard in Salesforce?- Create folders accessible to all dashboard viewers to store dynamic dashboards and corresponding component source reports.
- From the Dashboards tab, create a new dashboard or edit an existing one.
- Click the View dashboard as drop-down button button next to the View dashboard as field.
- Select Run as logged-in user.
- Optionally, select Let authorized users change running user to enable those with permission to change the running user on the dashboard view page.
- Users with “View My Team's Dashboards” can view the dashboard as any user below them in the role hierarchy.
- Users with “View All Data” can edit the dashboard and view it as any user in their organization.
- Click OK.
- In the View dashboard as field, enter a running user.
- Save your dashboard.
-
Deepak
MemberMay 28, 2020 at 11:46 am in reply to: what is use of Database.convertLead() method in salesforce ?Database.convertLead() is used to convert a lead into an account, contact and an opportunity.
-
UserInfo.getSessionId() is used to pass the session id to the class that call http and process the data in external applications.
-
Deepak
MemberMay 27, 2020 at 12:11 pm in reply to: Explain the advantages of Salesforce using the SaaS platform.Customers who use software as a service have no hardware or software to install, maintain, or upgrade. Access to these applications is easy because you just need an internet connection.
-
trigger.new Returns a list of the new versions of the sObject records.
This sObject list is only available in insert, update, and undelete triggers, and the records can only be modified in before triggers. -
Deepak
MemberMay 27, 2020 at 5:28 am in reply to: What is difference between Visualforce Components and Lightning Components ?Visualforce components are small, reusable pieces of functionality—think widgets, panels, user interface elements, that kind of thing—that you use in Visualforce page markup. You can use standard Visualforce components, and create your own custom components.
While The Lightning Component framework is a UI framework for developing single page applications for mobile and desktop devices. As of Spring '20 (API version 48.0), you can build Lightning components using two programming models: the Lightning Web Components model, and the original Aura Components model. -
Deepak
MemberMay 26, 2020 at 2:42 pm in reply to: How can we see which user last logged in Salesforce?You can download the past six months of user logins to your Salesforce org. This report includes logins through the API.
- From Setup, enter Login History in the Quick Find box, then select Login History.
- Select the file format to use.
CSV FileGZIP File—Because the file is compressed, it’s the preferred option for the quickest download time.3. Select the file contents. The All Logins option includes API access logins.4. Click Download Now.
-
HTML Classic Letterhead Email Templates in Salesforce Classic. A letterhead defines the logo, page color, and text settings for your HTML email templates. Use letterheads to ensure a consistent look and feel in your company's emails.
-
Deepak
MemberMay 26, 2020 at 2:33 pm in reply to: What are Bound and Unbound Expressions in Lightning Components ?When you use a bound expression, a change in the attribute in the parent or child component triggers the change handler in both components. When you use an unbound expression, the change is not propagated between components so the change handler is only triggered in the component that contains the changed attribute.
-
Apex is a strongly typed, object-oriented programming language that allows developers to execute flow and transaction control statements on Salesforce servers in conjunction with calls to the API. Using syntax that looks like Java and acts like database stored procedures, Apex enables developers to add business logic to most system events, including button clicks, related record updates, and Visualforce pages. Apex code can be initiated by Web service requests and from triggers on objects.
-
If you want to enable Dx in Salesforce jump to Enable dev hub like below steps:
- Log in as System Administrator to your Developer Edition, trial, or production org (for customers), or your business org (for ISVs).
- From Setup, enter Dev Hub in the Quick Find box and select Dev Hub.
- To enable Dev Hub, click Enable.
-
Salesforce Developer Experience (DX) is a new way to manage and develop apps on the Lightning Platform across their entire life cycle. It brings together the best of the Lightning Platform to enable source-driven development, team collaboration with governance, and new levels of agility for custom app development on Salesforce.
Highlights of Salesforce DX include:- Your tools, your way. With Salesforce DX, you use the developer tools you already know.
- The ability to apply best practices to software development. Source code and metadata exist outside of the org and provide more agility to develop Salesforce apps in a team environment. Instead of the org, your version control system is the source of truth.
- A powerful command-line interface (CLI) removes the complexity of working with your Salesforce org for development, continuous integration, and delivery.
- Flexible and configurable scratch orgs that you build for development and automated environments. This new type of org makes it easier to build your apps and packages.
- You can use any IDE or text editor you want with the CLI and externalized source.
- Salesforce Extensions for VS Code to accelerate app development. These tools provide features for working with scratch orgs, Apex, Lightning components, and Visualforce.
-
Deepak
MemberMay 21, 2020 at 1:27 pm in reply to: If i want Object level accesses then what should i use from Salesforce securityYou can simply use object permissions from the Salesforce security model.
-
Deepak
MemberMay 21, 2020 at 1:25 pm in reply to: How many active users can have two factor authentication security in Salesforce?At a time only one user can be active .
-
MuleSoft can connect any system, application, data, and device to unleash the power of the Customer 360. Together, MuleSoft and Salesforce give companies the ability to unlock data across systems, develop scalable integration framework, and ultimately create differentiated, connected experiences at a rapid pace.