Forum Replies Created

Page 34 of 53
  • Process Builder
    The Lightning Process Builder is a new workflow tool that helps you easily automate your business processes by providing a powerful and user-friendly visual representation of your process as you build it. Instead of doing this repetitive work manually, you can configure processes to do it automatically. The Process Builder’s simple and powerful design allows you to automate processes

    You can use the Process Builder to perform more actions than with workflow:Create a record
    Update any related record
    Use a quick action to create a record, update a record, or log a call
    Launch a flow
    Send an email
    Post to Chatter
    Submit for approval
    Call apex methods
    But the process builder doesn’t support outbound messages.

    Workflow
    Workflow is business logic that evaluates records as they are created and updated and determines if an automated action needs to occur. In a way it allows records to speak up or do something – update data, notify people or external systems.

    Workflow does only 4 actionsCreate Task
    Update Fiel
    Email Alert
    Outbound Message

     

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 12:00 pm in reply to: What is the difference between SaaS and PaaS concepts in Salesforce?

    SaaS is the most familiar form of cloud service for consumers. SaaS moves the task of managing software and its deployment to third-party services. Among the most familiar SaaS applications for business are customer relationship management applications like Salesforce, productivity software suites like Google Apps, and storage solutions brothers like Box and Dropbox.

    Use of SaaS applications tends to reduce the cost of software ownership by removing the need for technical staff to manage install, manage, and upgrade software, as well as reduce the cost of licensing software. SaaS applications are usually provided on a subscription model.

    PaaS functions at a lower level than SaaS, typically providing a platform on which software can be developed and deployed. PaaS providers abstract much of the work of dealing with servers and give clients an environment in which the operating system and server software, as well as the underlying server hardware and network infrastructure are taken care of, leaving users free to focus on the business side of scalability, and the application development of their product or service.

    Examples of PaaS providers include Heroku, Google App Engine, and Red Hat’s OpenShift.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 11:28 am in reply to: How is Marketing Cloud different from Sales Cloud in Salesforce?

    Salesforce Sales Cloud is a customer relationship management (CRM) platform designed to support sales, marketing and customer support in both business-to-business (B2B) and business-to-customer (B2C) contexts.

    Sales Cloud is a fully customizable product that brings all the customer information together in an integrated platform that incorporates marketing, lead generation, sales, customer service and business analytics and provides access to thousands of applications through the AppExchange.

    Salesforce Marketing Cloud is a customer relationship management (CRM) platform for marketers that allows them to create and manage marketing relationships and campaigns with customers.

    The Marketing Cloud incorporates integrated solutions for customer journey management, email, mobile, social media, web personalization, advertising, content creation, content management and data analysis.The software includes predictive analytics to help make decisions such as, for example, what channel would be preferable for a given message.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 10:49 am in reply to: How can I access javascript function in lightning component?

    A helper function can be called from any JavaScript code in a component’s bundle, such as from a client-side controller or renderer.

    for ex:

    <aura:handler event="aura:doneRendering" action="{!c.higlightCurrentRecordId}"/>

    Thanks

  • Parul

    Member
    September 18, 2018 at 10:45 am in reply to: What is aura in Salesforce lightning experience ?

    hi

    Aura is an open-source UI framework built by Salesforce for developing dynamic web apps for mobile and desktop devices. The lightning component framework is not different from the Aura framework rather it is a subset of the Aura framework.  The Lightning Component framework is built on the open-source Aura framework. However, the open-source Aura framework has some features that aren’t available to Lightning Component framework.

  • Parul

    Member
    September 18, 2018 at 10:42 am in reply to: What are Extension Controller's?

    You want extend existing controller's functionality, leverage the native controller's actions or Custom controller's enhanced functionality.

    Controller Extensions are also useful as a way to organize functionality, providing more modularity and readability.

    <apex:page controller="Account" extensions="AccountControllerExtension[,extension2,extension...]">

     

    thanks

  • Parul

    Member
    September 18, 2018 at 10:36 am in reply to: What are the types of custom settings in Salesforce?

    HI

    Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. All custom settings data is exposed in the application cache, which enables efficient access without the cost of repeated queries to the database. This data can then be used by formula fields, validation rules, Apex, and the SOAP API.

    There are two Types of Custom settings
    List Custom Settings : A type of custom setting that provides a reusable set of static data that can be accessed across your organization. If you use a particular set of data frequently within your application, putting that data in a list custom setting streamlines access to it.

    Hierarchy Custom Settings : Hierarchy settings allow you to personalize your application for different profiles and/or users. A type of custom setting that uses a built-in hierarchical logic that lets you “personalize” settings for specific profiles or users. The hierarchy logic checks the organization, profile, and user settings for the current user and returns the most specific, or “lowest,” value. In the hierarchy, settings for an organization are overridden by profile settings, which, in turn, are overridden by user settings.

     

    Thanks

  • Hi,

    Step 1: Create a Visualforce page called SamplePage1

    <apex:page >
    <apex:outputlink value="/apex/SamplePage2"> Click Here <apex:param name="msg" value="success"/> </apex:outputlink>
    </apex:page>

    Step 2: Create a Visualforce page called SamplePage2

    <apex:page controller="Sampleclass"> </apex:page>

    Step 3: On SamplePage1 Click on the " Click Here" link. You will see that when you click on the link you will navigate to the SamplePage2. Check the URL now..

    https://na5.salesforce.com/apex/SamplePage2?msg=success

    You can see that the parameter " msg" with value "success" has been passed to the new page.

    Retrieve Parameter Values in Apex Class:

    public class Sampleclass
    {
    Public String message = System.currentPagereference().getParameters().get('msg');
    }

    Thanks

  • Hi,

    A possible cause is you are hitting governor limits for Async transactions.

    Suggested solution is to make the batch size bigger (like the default of 200).

    Thanks

  • HI

    Custom settings are similar to custom objects and enable application developers to create custom sets of data, as well as create and associate custom data for an organization, profile, or specific user. All custom settings data is exposed in the application cache, which enables efficient access without the cost of repeated queries to the database. This data can then be used by formula fields, validation rules, Apex, and the SOAP API.

    There are two Types of Custom settings
    List Custom Settings : A type of custom setting that provides a reusable set of static data that can be accessed across your organization. If you use a particular set of data frequently within your application, putting that data in a list custom setting streamlines access to it.

    Hierarchy Custom Settings : Hierarchy settings allow you to personalize your application for different profiles and/or users. A type of custom setting that uses a built-in hierarchical logic that lets you “personalize” settings for specific profiles or users. The hierarchy logic checks the organization, profile, and user settings for the current user and returns the most specific, or “lowest,” value. In the hierarchy, settings for an organization are overridden by profile settings, which, in turn, are overridden by user settings.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 8:04 am in reply to: What is the use of instrumentation console in lightning experience?

    Instrumentation console is something which helps us to see the time lapsed since last load time , previous page url , session time , etc . Also , to we can record the interactions and download them in JSON format. Instrumentation Console is a tool used internally within Salesforce.

     

    thanks

     

  • Parul

    Member
    September 18, 2018 at 8:00 am in reply to: How to include stylesheet in visualforce page rendered as pdf ?

    When you remove render as pdf then bootstrap is available. Also keep in mind that there many css which will not work with renderAs=pdf so best to use inline CSS.

     

    Thanks

     

  • Hi suyash,

    Marketing Cloud is the platform for delivering relevant, personalized journeys across channels and devices — enabling marketers to deliver the right message at the right time throughout all phases of the relationship. Marketing Cloud includes integrated solutions for customer journey management, email, mobile, social, web personalization, advertising, content creation and management, and data analysis. Every imaginable customer interaction and engagement is covered, and guiding customers on their 1-to-1 journeys with your brand has never been easier or more effective.

    Thanks

  • Parul

    Member
    September 18, 2018 at 7:46 am in reply to: Can I access Remote Site List from Apex?

    Hi,

    The remote sites list is not currently exposed in Apex.
    Thanks

  • Parul

    Member
    September 18, 2018 at 7:39 am in reply to: What is @RemoteAction annotation?

    Hi,

    Remote action function in salesforce allows user to access any method from any class through javasrcipt methods, and get the result as a javascript object for further manipulation.

    Points to remember while implementing remote action function:

    1.Remote action method should have @RemoteAction annotation.
    2.The method should also be Global and Static

    Thanks

  • Parul

    Member
    September 18, 2018 at 7:36 am in reply to: Is the method trigger:old only used for the event "before delete"?

    No you can't used the trigger:old for the event “before delete”

     

    Thanks

  • Trigger.OldMap: A map of IDs to the old versions of the sObject records. Note that this map is only available in update and delete triggers.

    Trigger.newMap: Trigger.newMap is a map with key as ID of the record and value as the record itself. Just like the above explanation, in case of accounts when we say trigger.newMap we are talking about a map of key-value pairs where the key is the account ID and the value is the account record itself.

    A map of IDs to the new versions of the sObject records.Note that this map is only available in before update, after insert, and after update triggers.
    oldMap
    A map of IDs to the old versions of the sObject records.Note that this map is only available in update and delete triggers.

     

    Thanks

  • Hi

    Please declare Variable of XMLStreamWriter wrapper class as Transient.

    Note -:   Transient keyword to declare instance variable that can not be saved and should not transmitted as part of view state for visual force page.

    Thanks

  • Parul

    Member
    September 18, 2018 at 7:30 am in reply to: What is a Model-View-Controller (MVC) Paradigm in Salesforce Visualforce?

    Below is a diagram that outlines the Salesforce model-view-controller pattern along with where each element fits into it. We'll dive into each of them.

     

    Thanks.

  • Hi

    It is always a best practice to write a single trigger on object and process all operation in apex class (we called it as handler) instead of writing logic in trigger. In handler you can specify the order of event based on different context variables. If you write many triggers in on object,
    then you cannot control the order in which triggers gets executed.

    For best practice, use below suggestion:

    1. Pass all trigger context variables to static method (say “OperationManager”)in handler class.
    2. Create different static methods for different operations which you need to perform.
    3. Control the order of different operation in “OperationManager” static method based on context variables.
    4. Also you can create different apex classes and call them from “OperationManager” static method.

     

    Thanks.

  • Hi,

    Yes,Through LiginHistory we fetch detail of user to know how long he was active for a particular day.

    Thanks

  • Parul

    Member
    September 18, 2018 at 7:27 am in reply to: What are the advantages of using Handler classes in Trigger?

    HI,

    Advantages of trigger Handler are:

    Facilitates logic-less triggers and One Trigger Per Object, which itself has many benefits(including fine grained control over order of execution)
    improves readability and Separation of Concerns(this improved readability makes version control more fruitful as well)
    optionally facilitates selective disablement.

     

    Thanks

  • Parul

    Member
    September 18, 2018 at 7:26 am in reply to: What is Sharing Rule in Salesforce?

    Hi Satyakam,

    Sharing rules can be based on who owns the record or on the values of fields in the record. For example, use sharing rules to extend sharing access to users in public groups or roles. As with role hierarchies, sharing rules can never be stricter than your org-wide default settings. They just allow greater access for particular users.

    Each sharing rule has three components.Share which records?
    You can share records owned by certain users or meeting certain criteria. Criteria-based sharing rules determine what records to share based on field values other than ownership.
    With which users?
    You can define groups of users by role or by defining a public group. A public group is an admin-defined grouping of users that can be used to simplify the creation of sharing rules. Each public group can be a combination of:individual users
    roles
    roles and subordinates
    other public groups
    What kind of access?
    You can assign either Read-Only or Read/Write access.
    Sharing rules work best when they're defined for a particular group of users that you can determine or predict in advance, rather than a set of users that frequently changes. For example, in the Recruiting app, it’s important to share every position, candidate, job application, and review with every recruiter. Since recruiters all belong to either the Recruiting Manager or Recruiter roles in the role hierarchy, we can easily use a sharing rule to share those objects with the Recruiting Manager role and its subordinates.

    Alternatively, consider another use case from the Recruiting app: interviewers need read access on the candidates and job applications for people they're interviewing. In this case, the set of interviewers is a lot harder to predict in advance—hiring managers might use different sets of interviewers depending on the position for which they're hiring, and the interviewers might come from different groups in the role hierarchy. So, this use case probably shouldn't be handled with sharing rules—the team of interviewers for any given manager is just too hard to predict.
    Thanks

  • Parul

    Member
    September 18, 2018 at 7:24 am in reply to: What is the use of Junction Object in Salesforce?

    Hi satyakam,

    Instead of creating a relationship field on the Position object that directly links to the Employment Website object, we can link them using a junction object . A junction object is a custom object with two master-detail relationships, and is the key to making a many-to-many relationship.

    Thanks

  • Parul

    Member
    September 18, 2018 at 7:22 am in reply to: Is it possible to Cast sObject dynamically?

    Hi

    Firstly we have to find out all sObject present in our Org -:

    Map<String, Schema.SObjectType> mapofallSObject = Schema.getGlobalDescribe();

    Schema.SobjectType objecttobeCast = mapofallSObject.get(‘Account’);

    Account object_instance = (Account)oType.newSObject();

    Thanks

Page 34 of 53