Forum Replies Created

Page 5 of 57
  • shariq

    Member
    September 23, 2018 at 11:43 pm in reply to: Is Lightning Components replacing Visualforce in Salesforce?

    No.

  • shariq

    Member
    September 23, 2018 at 11:41 pm in reply to: Explain Workflow in Salesforce?

    Salesforce Workflow is a business logic that evaluates the records as they are created, updated in an object to apply automated process like Assigning Tasks, Emails, Field Update and outbound message sending

  • shariq

    Member
    September 23, 2018 at 11:40 pm in reply to: Workflow Components available in salesforce?

    In salesforce.com. workflows consists of 5 components they are.

    Workflow rules.
    Workflow tasks.
    Workflow Email alerts.
    Workflow field updates.
    Workflow Outbound messages

  • shariq

    Member
    September 23, 2018 at 11:34 pm in reply to: Time-Dependent Workflow – Considerations in Salesforce?

    When defining time dependent workflows in salesforce we have to use standard and custom date and date/time fields defined for the object.

    We have to specify time using days and hours.
    Also add actions to existing time triggers.

  • shariq

    Member
    September 23, 2018 at 11:34 pm in reply to: Limitations of Time-Dependent Workflow rule in Salesforce?

    When defining time dependent workflows in salesforce we have to use standard and custom date and date/time fields defined for the object.

    We have to specify time using days and hours.
    Also add actions to existing time triggers.

  • shariq

    Member
    September 23, 2018 at 11:32 pm in reply to: When can’t you add Time dependent action in Salesforce Workflow?

    Time dependent actions in workflow rules can not be added when the following actions takes place.

    When workflow rule is active.
    When workflow rule is deactivated and has pending actions in the queue.
    When the workflow rule criteria of a record is set to: created, and every time it’s edited.
    When the workflow rule is included in a package.

  • Even after deactivating the the workflow, its action will not be removed. It’s still active in queue.

  • It is not possible to delete the workflow when the workflow is having any pending time dependent actions.

  • shariq

    Member
    September 23, 2018 at 11:22 pm in reply to: What is the list of tools available in Salesforce Lightning?

    Lightning Connect
    Lightning Component Framework
    Lightning Schema Builder
    Lightning Process Builder
    Lightning App Builder

  • shariq

    Member
    September 23, 2018 at 11:20 pm in reply to: What are value providers in Salesforce Lightning?

    Value providers helps use to access data in Lightning Application .They are two value providers as v(View) and c(controller)
    v is component attribute set which helps to access component attribute values in markup
    c is component controller helps us to link with event handlers and action for the component

  • shariq

    Member
    September 23, 2018 at 11:20 pm in reply to: How to make quick lightning action in Salesforce?

    Add the force:lightningQuickAction or force:lightningQuickActionWithoutHeader interface to a Lightning component to enable it to be used as a custom action in Lightning Experience or the Salesforce mobile app. You can use components that implement one of these interfaces as object-specific or global actions in both Lightning Experience and the Salesforce app.

  • Component IDs
    A component has two types of IDs: a local ID and a global ID. You can retrieve a component using its local ID in your JavaScript code. A global ID can be useful to differentiate between multiple instances of a component or for debugging purposes.

    Local IDs
    A local ID is an ID that is only scoped to the component. A local ID is often unique but it’s not required to be unique.
    Create a local ID by using the aura:id attribute. For example:
    Find the button component by calling cmp.find(“button1”) in your client-side controller, where cmp is a reference to the component containing the button.

    Global IDs
    Every component has a unique globalId, which is the generated runtime-unique ID of the component instance. A global ID (1) is not guaranteed to be the same beyond the lifetime of a component, so it should never be relied on. A global ID can be useful to differentiate between multiple instances of a component or for debugging purposes.

  • shariq

    Member
    September 23, 2018 at 11:17 pm in reply to: What is Lightning Design System (SLDS) in Salesforce?

    The Salesforce Lightning Design System (SLDS) component library is actively developed to enable Salesforce developers to create a uniform look and feel across all Salesforce-related applications while adhering to CSS best practices and conventions.

  • ‘force:appHostable’ Allows a component to be used as a custom tab in Lightning Experience or the Salesforce app
    ‘forceCommunity:availableForAllPageTypes’ To appear in Community Builder, a component must implement the forceCommunity:availableForAllPageTypes interface

     

  • Use event.getSource() in the client-side controller to get the button component that was clicked. Call

    getLocalId() to get the aura:id of the clicked button.

  • shariq

    Member
    September 23, 2018 at 11:15 pm in reply to: What is $Resource global value provider in Salesforce?

    It lets you reference images, style sheets, and JavaScript code you’ve uploaded in static resources.

    To obtain a reference to a static resource in JavaScript code, use $A.get(‘$Resource.resourceName’).

     

  • shariq

    Member
    September 23, 2018 at 11:14 pm in reply to: What are the different ways to conditionally display markup in Salesforce?

    Using the <aura:if> tag
    Use CSS to toggle visibility of markup by calling $A.util.toggleClass(cmp, ‘class’) in JavaScript code

  • shariq

    Member
    September 23, 2018 at 11:13 pm in reply to: Use of THIS CSS class in Salesforce?

    This adds namespacing to CSS and helps prevent one component’s CSS from blowing away another component’s styling.

  • shariq

    Member
    September 23, 2018 at 11:13 pm in reply to: Why do we use $A.enqueueAction(action) in Salesforce?

    It adds the server-side controller action to the queue of actions to be executed. Rather than sending a separate request for each individual action, the framework processes the event chain and batches the actions in the queue into one request. The actions are asynchronous and have callbacks

  • shariq

    Member
    September 23, 2018 at 11:12 pm in reply to: Why do we use @AuraEnabled annotation in Salesforce?

    The AuraEnabled annotation provides support for Apex methods and properties to be used with the Lightning Component framework.
    The AuraEnabled annotation is overloaded, and is used for two separate and distinct purposes.
    1. Use @AuraEnabled on Apex class static methods to make them accessible as remote controller actions in your Lightning components.
    2. Use @AuraEnabled on Apex instance methods and properties to make them serializable when an instance of the class is returned as data from a server-side action

  • shariq

    Member
    September 23, 2018 at 11:09 pm in reply to: What is lightning: or ui: in any Salesforce Lightning Component?

    Lightning has provided us with common User Interface components in the ui namespace which are used in the lightning component framework. They are ui:input and ui:output provide easy to implement common user interface.
    Component with lightning namespace also provides us with the user interface but on top of that they include lightning design system CSS by default so we do not have to worry about the styling of these components.

  • shariq

    Member
    September 23, 2018 at 11:08 pm in reply to: How can we communicate between two Salesforce Components?

    In Lightning Component Framework, the communication between two component is accomplished supported in several ways.
    1. Attributes or Methods to pass data down the component hierarchy
    2. Lightning Events to pass data up and around in the component hierarchy

  • shariq

    Member
    September 23, 2018 at 11:06 pm in reply to: How can we subscribe to an event in Salesforce Lightning Component?

    To subscribe to an event in lightning component we need to include tag in the containment hierarchy. Subscription of these event depends on the event type i.e. component event or application event. For Component event we write below code.

    In this ‘name’ attribute in should be exactly as name attribute in tag in the component which has fired the component. The ‘action’ attribute of sets the client-side controller action to handle the event. The ‘event’ attribute specifies the event being handled.
    For Handling Application event we write below code

    ‘Event’ and ‘action’ attribute are same as the component event handling, it is just that we do not include ‘name’ attribute to handle the application event.

  • shariq

    Member
    September 23, 2018 at 11:04 pm in reply to: What is the use of implements in Salesforce Lightning Component?

    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.

  • No it is not necessary to create an Appp Bundle first to develop the lightning component

Page 5 of 57