Giter Club home page Giter Club logo

admiralbobbery / lightningflowcomponents Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexed1/lightningflowcomponents

0.0 0.0 0.0 12.85 MB

A collection of unofficial Lightning Components that can be used to enhance Salesforce Lightning Flow and Lightning Pages.

Home Page: https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_intro.htm

License: BSD 3-Clause "New" or "Revised" License

JavaScript 26.06% CSS 0.52% Apex 65.55% Shell 0.04% TeX 0.57% Rich Text Format 0.24% HTML 7.02%

lightningflowcomponents's Introduction

This folder contains a collection of Lightning Components and Invocable Actions that can be used to enhance Lightning Flow from Salesforce. Note that you do not need to write code, read code, or use developer console to install these into your Flow Builder! You can install many of these components as packages over at UnofficialSF site. (See "Installation")

Lightning Flow Screen Components

/flow_screen_components contains lightning components (a mix of aura and lwc) that have been optimized to be inserted into Lightning Flow screens. This mainly means that they:

  1. implement the Flow Screen interface. This causes them to appear in the palette of the Screen Builder in Flow Builder, where they can be dragged into Screen Nodes.
  2. explicitly specify which component attributes will be visible as inputs or outputs in Flow.

Flow Screen Components generally have a visual focus, although they don't absolutely have to.

Lightning Flow Actions

/flow_action_components contains Apex classes and Lightning Components that have been optimized to be added to Lightning Flows as standalone actions.

Apex Actions

The Apex Classes are Invocable Actions. They are non-visual and execute entirely in the Salesforce cloud.

Lightning Component (Javascript) Actions

Lightning Components that are designed to act as actions are referred to as Local actions.

This mainly means that they:

  1. implement the "flowruntime:availableForLocalInvocableActions" interface so they show up in the tools palette of Flow Buider as Local Actions that can be dragged onto the canvas and added to flows as discrete nodes.
  2. provide an #invoke method that allows the Flow engine to call them at the appropriate point during flow execution, and make a callback to the Flow engine when they're done.

Local Actions generally do not have a visual focus, although they have to run inside of Screen Flows to ensure the presence of a client-side javascript runtime.

Important Setup Notes

Before adding any lightning component to your flow, your org must be enabled for lightning components. This means:

  1. you must have My Domain enabled and deployed
  2. you must have the "Enable Lightning Runtime for Flows" checkbox enabled in Setup - Process Automation Settings

You do not need to be using the lightning experience to use these flow extensions.

Submissions Encouraged!

Have you built a useful or interesting Flow Component? We encourage you to make a pull request and add it to this repo. Also feel free to enhance or fix any existing component. General conversations about the components is carried out in the Issues section above or at the Salesforce Automation Trailblazer Community.

lightningflowcomponents's People

Contributors

alexed1 avatar andkraiev avatar cchrisv avatar chewinchaz avatar chexxor avatar datapharmer avatar demarsch avatar ericrsmith35 avatar fabientaillon avatar gouravsood avatar jdpond avatar jeffhwang1 avatar jflowers45 avatar ludocal avatar nnguyen-sfdc avatar realevanponter avatar ryemcc avatar sillyrags avatar spider-bkv avatar tamarer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.