Forum Replies Created

Page 2 of 20
  • Aditya

    Member
    January 5, 2021 at 6:22 am in reply to: What is Subscription renewal in Salesforce CPQ?

    The subscriptions on one contract are near their end dates and your customer wants to renew them for another term of service. To create a renewal quote from your contract, click Renewal Quoted on your contract record. Salesforce CPQ creates a renewal opportunity and renewal quote.

  • Aditya

    Member
    December 24, 2020 at 5:36 pm in reply to: How to use Pub-Sub Model in LWC?

    Publish Subscribe Pattern in LWC (Component Communication). publish-subscribe pattern/model is same like Application Event in Lighting Component. Now we have to create two more components, one will be used to publish an event and another will be used to subscribe the event. ************* Publisher Component Details.

  • Aditya

    Member
    December 24, 2020 at 5:33 pm in reply to: How do I change icon color in LWC?

    Solution – Custom Background Color for LWC Icons

    1. Step 1 : Right click on Icon where you want to change background color and click on inspect. View Source code of LWC Icon in Chrome.
    2. Step 2 : Copy svg tag and paste in your editor and add css. DOnt forget to add div tag as parent to control icons size.
  • Aditya

    Member
    December 24, 2020 at 7:39 am in reply to: What is difference between static and singleton class?

    A singleton allows a class for which there is just one, persistent instance across the lifetime of an application. ... While a static class allows only static methods and and you cannot pass static class as parameter. A Singleton can implement interfaces, inherit from other classes and allow inheritance.

  • connectedCallback() in Lightning Web Component is part of the lifecycle hook which is a callback method triggered at a specific phase of a component instance’s lifecycle.

    • Don’t update a wire adapter configuration object property in `renderedCallback()`
    • Don’t update a public property or field in `renderedCallback()`
  • Aditya

    Member
    December 24, 2020 at 7:22 am in reply to: When should you change your username in Trailhead playground?

    When a Trailhead Playground is linked to your Trailhead account, you can launch it with the click of a button, without logging in to it. You don't even need to choose a username or fill out any information to create a new Trailhead Playground. You do need your username and password every once in a while, however.

  • Aditya

    Member
    December 22, 2020 at 7:38 am in reply to: What are the advantages of using LWC over Lightning components?

    Hi,
    Main advantages of using LWC over Lightning Components, are:

    • LWC is Fast.
    • It automatically provides polyfill for older browsers which yet not support all underlying web standards (shadow dom, web components etc.)
    • Improved API support for third-party APIs.
    • It is light-weight.
  • Aditya

    Member
    December 22, 2020 at 7:37 am in reply to: What is the use of constructors in LWC?

    Hi,Constructor() method fires when a component instance is created. The constructor in LWC flows from parent to child which means Constructor of Parent component will get called first if you have parent child component composition.

  • Aditya

    Member
    December 21, 2020 at 6:51 am in reply to: How to add custom quote template in Salesforce CPQ?

    Hi,Note Salesforce CPQ doesn't support quote templates without template sections. When you're ready to generate your quote document, click Generate Quote to go to the Generate Document page. Here you choose your template, paper size, and document name.

  • Aditya

    Member
    December 21, 2020 at 6:50 am in reply to: What is the use of @track decorators in LWC?

    Decorators dynamically alter the functionality of a property or function. The ability to create decorators is part of ECMAScript, but these three decorators are unique to Lightning Web Components. @api: To expose a public property, decorate it with @api. Public properties define the API for a component.

  • Aditya

    Member
    December 21, 2020 at 6:49 am in reply to: What is the use of @api decorators in LWC?

    Decorators dynamically alter the functionality of a property or function. The ability to create decorators is part of ECMAScript, but these three decorators are unique to Lightning Web Components. @api: To expose a public property, decorate it with @api. Public properties define the API for a component.

  • Aditya

    Member
    December 17, 2020 at 6:31 pm in reply to: How to configure custom quote template in Salesforce CPQ?

    Note Salesforce CPQ doesn't support quote templates without template sections. When you're ready to generate your quote document, click Generate Quote to go to the Generate Document page. Here you choose your template, paper size, and document name.

  • Aditya

    Member
    December 17, 2020 at 6:30 pm in reply to: How to Convert Attachments to Files in Salesforce?
    1. Go to Setup.
    2. Go to Salesforce Files (quick find: type “Salesforce Files”)
    3. Click General setting.
    4. Click Edit.
    5. Check “Files uploaded to the Attachments related list on records are uploaded as Salesforce Files, not as attachments
    6. Click Save.
  • Aditya

    Member
    December 17, 2020 at 6:29 pm in reply to: How to use decorators( wire, track, api) in Lightning Web Component?

    @api: Marks a field as public. Public properties define the API for a component. An owner component that uses the component in its HTML markup can access the component’s public properties. All public properties are reactive, which means that the framework observes the property for changes. When the property’s value changes, the framework reacts and rerenders the component.@track: Tells the framework to observe changes to the properties of an object or to the elements of an array. If a change occurs, the framework rerenders the component. All fields are reactive. If the value of a field changes and the field is used in a template—or in the getter of a property used in a template—the framework rerenders the component. You don’t need to decorate the field`
    `.

  • Aditya

    Member
    December 16, 2020 at 9:25 am in reply to: What is meant by lock contention in Salesforce?

    Salesforce provides complete CRM solutions for all business sizes and needs. We're here to help you through your business needs. Get started today! Boost Sales Productivity. Make Insightful Decisions. 52% Faster Integration.

  • Aditya

    Member
    December 16, 2020 at 9:24 am in reply to: What is meant by locking and unlocking of a record in Salesforce?

    You can lock the record by giving. Validation rules -- throwing error message while someone is trying to edit, Permission Sets -- To assign these permission sets to users, triggers -- in apex you can lock() and unlock() records (Approval.

  • Aditya

    Member
    December 16, 2020 at 9:20 am in reply to: How to share record in Salesforce manually?

    From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings. Click Edit in the Organization-Wide Defaults area. Select the Manual User Record Sharing checkbox to display the Sharing button on user detail pages, which enables users to share their records with others.

  • Aditya

    Member
    December 15, 2020 at 7:47 am in reply to: What is Salesforce billing?

    Salesforce Billing is an add-on package that inherits key records and information from Salesforce CPQ. After a sales rep finalizes a quote and orders it within Salesforce CPQ, Salesforce Billing picks up the order record for invoicing, payment, and revenue recognition.

  • Aditya

    Member
    December 15, 2020 at 7:43 am in reply to: How do you use wrapper class in LWC?

    `public class wrapp{
    @AuraEnabled
    public Contact con{get;set;}
    @AuraEnabled
    public boolean selected{get;set;}

    public wrapp(boolean selected,Contact con){
    this.con = con;
    this.selected = selected;
    }
    }
    `

  • Aditya

    Member
    December 15, 2020 at 7:41 am in reply to: How to call apex method with parameter in the lightning web component?
    1. First, import the Apex method into the JS.
    2. If it is wired, make sure cacheable=true decorator is set.
    3. Parameters are passed as an object.
    4. For simple results: wire to a property.
    5. For some processing: wire to a function.
    6. For controlling when to call: imperative
  • Aditya

    Member
    December 8, 2020 at 8:01 pm in reply to: which community page types support the flow component?

    Add the Flow component to a page in your Lightning community. Flows in Lightning communities are supported through the Flow and Suggested Actions components. Layout: By default, flows display in one column.

  • Aditya

    Member
    December 8, 2020 at 7:58 pm in reply to: how to pass record id to flow salesforce

    First create a Flow Variable linked to an SObject. You do this by selecting SObject variable from the Default Value selection box. Data type as Text and Input/Output Type as Input and Output.

  • The four available actions that can be performed from a workflow rule (either immediately, or time-based) are field update, outbound message, email alert and task creation. A validation rule does fire immediately when a record save is attempted, but it is not associated directly with a workflow rule.

  • Aditya

    Member
    December 8, 2020 at 6:50 am in reply to: What happens if Salesforce goes down?

    In most cases, Salesforce guarantees availability of their service, not the quality of service. If Salesforce is not down but slow, the sales team becomes slow, too, which may lead to losing opportunities and, consequently, revenue.

  • Aditya

    Member
    December 8, 2020 at 6:49 am in reply to: Is data in Salesforce encrypted?

    The Salesforce Shield Platform Encryption solution encrypts data at rest when stored on our servers, in the database, in search index files, and the file system. To encrypt data at rest and preserve functionality, we built the encryption services natively into the Salesforce Platform.

Page 2 of 20