Deepak
IndividualForum Replies Created
-
Metadata in Salesforce describes the structure of objects and their fields, as well as the page layouts associated with them. Metadata in Salesforce describes the structure of salesforce.com and Force.com development artifacts.
-
Custom tabs let you display custom object data or other web content in Salesforce. When you add a custom tab to an app in Salesforce Classic, it displays as a tab. When you add a custom tab to an app in Lightning Experience, it displays as an item in the app’s navigation bar.
Custom tabs display custom object data or other web content embedded in the app. You can create any of these types of custom tabs.
Custom Object Tabs- Custom object tabs (available only at an app level and not on subtab apps) display the data of your custom object. Custom object tabs look and function just like standard tabs.
Web Tabs
- Custom web tabs display any external web-based application or web page. You can design web tabs to include the sidebar or span across the entire page without the sidebar.
Visualforce Tabs
- Visualforce tabs display data from a Visualforce page. Visualforce tabs look and function just like standard tabs.
Lightning Component Tabs
- Lightning component tabs make Lightning components available in the Salesforce mobile apps and in Lightning Experience. Lightning components aren’t supported in Salesforce Classic.
Lightning Page Tabs
- Lightning page tabs let you add Lightning app pages to the Salesforce mobile app and Lightning Experience navigation bars.
- In Salesforce Classic, Lightning page tabs don’t display on the All Tabs page when you click tab plus icon. Lightning page tabs also don’t appear in the Available Tabs list when you customize the tabs for your apps.
-
Customize the Help Menu involves the following steps:
1. If you're not already in Setup, click. and select Setup.
2. In Quick Find, enter help , and then select Help Menu.
3. In the Section Title Label field, enter Acme Company Help . ...
4. Save your changes.
5. Turn on Customize the Help Menu. -
Deepak
MemberMarch 23, 2020 at 4:57 pm in reply to: How many types of Quick Actions are given in Sakesforce?Quick actions come in two flavors:
1.Object-specific quick actions:
Object-specific actions have automatic relationships to other records. Users can quickly create or update records, log calls, send emails, and more in the context of a particular object. For example, you add an object-specific action on the Account object that creates contacts. If a user creates a contact with that action on the detail page for the Acme account, that new contact is associated with Acme.
2.Global quick actions:
You create global quick actions in a different place in Setup than object-specific actions. They’re called global actions because they can be put anywhere actions are supported. Users can log call details, create or update records, or send email, all without leaving the page they’re on. -
Deepak
MemberMarch 11, 2020 at 10:40 am in reply to: What is the meaning of Screen Flow in Salesforce?Hi Aditya,
Screen Flows – as the name suggests includes screen element to gather information from a user, this means that the flow type requires a user interaction. This type of flow can be accessed in a number of places: custom button; custom link; direct URL, Visualforce Page, or Salesforce app action.
-
Deepak
MemberMarch 9, 2020 at 8:17 am in reply to: What is the best method to eliminated nested for loop in a trigger in Salesforce?Hi Anjali,
Try Map instead of List.You will find it will be done using Map.
-
Deepak
MemberMarch 6, 2020 at 2:24 pm in reply to: Where we have to use REST API and where we have to use SOAP API in Salesforce?Hi Pooja,
What is SOAP ?
The Simple Object Access Protocol (SOAP) is an attempt to define a standard for creating web service APIs. It is a pattern, a web service architecture, which specifies the basic rules to be considered while designing web service platforms. It typically uses HTTP as a layer 7 protocol, although this is not mandatory. The SOAP message itself consists of an envelope, inside of which are the SOAP headers and body, the actual information we want to send. It is based on the standard XML format, designed especially to transport and store structured data. SOAP may also refer to the format of the XML that the envelope uses.
SOAP is a mature standard and is heavily used in many systems, but it does not use many of the functionality build in HTTP. While some consider it slow, it provides a heavy set of functionality which is a necessity in many cases. It might now be the best solution for browser-based clients, due to its custom format.
What is REST ?
The Representational State Transfer (REST) is another architectural pattern (resource-oriented), an alternative to SOAP. Unlike SOAP, RESTful applications use the HTTP build-in headers (with a variety of media-types) to carry meta information and use the GET, POST, PUT and DELETE verbs to perform CRUD operations. REST is resource-oriented and uses clean URLs (or RESTful URLs).
For example :
http://www.developingthefuture.com/index.php?page=foo
becomes
http://www.developingthefuture.com/foo
This kind of URLs syntax greatly improves both visibility and usability. It doesn’t use any query strings, and it also provides certain SEO benefits (the crawlers just love plain text). The body of the REST message can be XML, JSON or any other format, although JSON is usually the preferred choice. On the other hand, you can’t use JSON with SOAP. Or at least not entirely, because SOAP uses XML by definition for it’s envelope. It should also mentioned that REST is, by design, protocol-agnostic, although it is usually used with HTTP.
-
HI Kirandeep,
Change Sets. Use change sets to send customizations from one Salesforce org to another. For example, you can create and test a new object in a sandbox org, then send it to your production org using a change set. Change sets can contain only modifications you can make through the Setup menu.
-
Hi Mohit,
The direction in which the generated HTML component should be read. Possible values include "RTL" (right to left) or "LTR" (left to right).
-
Deepak
MemberMarch 6, 2020 at 1:18 pm in reply to: What is the use of implements in lightning component in Salesforce?Hi Aditya,
Implements is use to refer platform interfaces which enables a component to be used in different contexts or to grant access to extra context data, a component can implement more than one interfaces.
-
Deepak
MemberMarch 5, 2020 at 4:09 pm in reply to: What is the use of Onclick attribute in Salesforce?Hi,
<apex:commandbutton action="{!delete}" value="Delete" immediate="true" onclick="dislayErr()"/>
function displayErr(){
if({!Account.name != 'Test User'}){
alert("You are not allowed to delete this credit card entry");
}
} -
Hi,
The Salesforce Lightning Design System (SLDS) helps you build applications with the look and feel of Lightning Experience without writing a single line of CSS. SLDS is a CSS framework that gives you access to the icons, color palettes, and font that our developers use to create Lightning Experience.
-
Deepak
MemberMarch 5, 2020 at 4:05 pm in reply to: what is the use of accesskey attribute in salesforce?Hi Mohit,
The accesskey attribute specifies a shortcut key to activate/focus an element. However, in most browsers the shortcut can be set to another combination of keys.
-
Deepak
MemberMarch 4, 2020 at 1:50 pm in reply to: Can we change the name of standard object in Salesforce?Hi Arun,
Setup -> Customize -> Tab Names and Labels -> Rename Tabs and Labels. Choose the Tab (or Object) you want to rename and click Edit. Change the singular and plural labels and note if it starts with a vowel sound, then click Next to change labels for the Standard Fields.
-
Deepak
MemberMarch 4, 2020 at 1:46 pm in reply to: Can we change the data type of standard fields in Salesforce ?Hi Arun,
No you can't change the datatype of a Standard Field, you'll need to create a new custom Field
-
Deepak
MemberMarch 4, 2020 at 1:32 pm in reply to: What are the uses of connected app in Salesforce?Dear Arun,
A connected app is a framework that enables an external application to integrate with Salesforce using APIs and standard protocols, such as SAML, OAuth, and OpenID Connect. Connected apps use these protocols to authenticate, authorize, and provide single sign-on (SSO) for external apps.
-
Hi Manish,
A quota is the monthly or quarterly sales goal that's assigned to a user or territory. A manager's quota equals the amount that the manager and team are expected to generate together. The quota rollup is done manually by users and managers, and revenue or quantity data can be used.
-
Hi Pooja,
Software-as-a-Service (SaaS) is a licensing and distribution model used to deliver software applications over the Internet i.e. as a service. Users typically access applications on a subscription basis, making SaaS ideal for business software such as email, instant messaging and customer relationship management (CRM).
-
Hi Pooja,
Platform as a service (PaaS) is a proven model for running applications without the hassle of maintaining on-premises hardware and software infrastructure at your company. Salesforce Lightning Platform brings the trust and speed that are at the core of all our products to building and deploying apps in the cloud.
-
Hi Pooja,
Infrastructure as a service (IaaS) is a form of cloud computing that provides virtualized computing resources over the internet. IaaS is one of the three main categories of cloud computing services, alongside software as a service (SaaS) and platform as a service (PaaS).
-
Deepak
MemberFebruary 28, 2020 at 6:47 am in reply to: What is the main difference between trigger and workflow in Salesforce?Hi Pooja,
Workflow is automated process that fired an action based on Evaluation criteria and rule criteria.
We can access a workflow across the object.
Trigger is a piece of code that executes before or after a record is inserted or updated.
-
Deepak
MemberFebruary 28, 2020 at 6:34 am in reply to: What is the need of wrapper class in salesforce ?Hi Kirandeep,
We have collections like “list” which can store only one type of data, suppose we have ‘Account’ or ‘Contact’. List<Account> will hold only accounts and List<Contact> will hold only contacts in it. But what if you want to show data on the table that should show account records as well as address data? iterating over List<Account> will only allow account records and no contact data.
To solve this problem, we can create a wrapper class having variables account and contact and then create the list of that wrapper class. This may sort out your problem easily might look difficult in starting but as soon as you start using wrapper class you will try to again use it.
For more information,checkout my blog available on Forcetalks.
-
Deepak
MemberFebruary 27, 2020 at 8:43 am in reply to: What are the benefits of the Apex unit test in Salesforce?Hi Shweta,
The following are the benefits of Apex unit tests:
- Ensuring that your Apex classes and triggers work as expected.
- Having a suite of regression tests that can be rerun every time classes and triggers are updated to ensure that future updates you make to your app don’t break existing functionality.
- Meeting the code coverage requirements for deploying Apex to production or distributing Apex to customers via packages.
- High-quality apps delivered to the production org, which makes production users more productive.
- High-quality apps delivered to package subscribers, which increase your customers trust.
-
Hi Aditya,
Before legend tag you should know about fieldset tag i.e.
<fieldset> - It is used to group related elements in a form.
<legend> - It defines a caption for the <fieldset> element.
Let's take an example :
<aura:component> <form> <fieldset> <legend>Select your gender</legend> <lightning:input type="radio" label="Male" name="gender" value="0" /> <lightning:input type="radio" label="Female" name="gender" value="1"/> </fieldset> </form> </aura:component>
You can see, fieldset border missing and legends are not also aligned properly.
Fixes:
To resolve this problem I am using some custom CSS code on <fieldset> and <legend> HTML tag
.THIS .clsFieldset { margin-left: 2px; margin-right: 2px; padding-top: 0.35em; padding-bottom: 0.625em; padding-left: 0.75em; padding-right: 0.75em; border: 2px groove; display: block; } .THIS .clsLegend { padding-left: 2px; padding-right: 2px; border: none; display: block; }
After this you will get,
-
Deepak
MemberFebruary 27, 2020 at 8:21 am in reply to: What is assertNotEqual() method in Salesforce?HI Aditya,
System.assertNotEqual() asserts that the first two arguments are different. If they are the same, a fatal error is returned that causes code execution to halt.