Sample Components for Lightning Component Actions
Need an easy way to migrate your JavaScript button functionality to Lightning Experience? We have analyzed hundreds of OnClick JavaScript buttons and found some very common patterns on how they are used. For those that require programmatic alternatives via Lightning component actions, we built an open source GitHub repository and package that contains sample code. This gives developers a place to start to accelerate this transition by reducing the amount of initial investment they need to begin this conversion.
This package contains nine sample Lightning components to help you build Lightning component actions. These components address common JavaScript button use cases such as mass updates, dialogues, URL hacks, and more! We’ve also added comments to the component code to guide you in customizing each component for your org and your specific needs.
Once you install the package or check out the code, you can then modify these sample components to fit your needs. You can access the source code via https://github.com/developerforce/LEXComponentsBundle
Further detailed information and usage instructions are available at: https://github.com/developerforce/LEXComponentsBundle/blob/master/README.md
This is the initial introduction of this project, so we will closely monitor feedback to improve upon in the future.
FYI: @Jean-Baptiste Minchelli @Jenea Johnson @Kelly Vida @Michael Orr @Eric Jacobson