Skip to main content
This functionality is working perfectly in classic(achieved by using custom button URL via URL hacking) but it is not working as expected in Lightning. 

Any help would be appreciated :)
1 answer
  1. Oct 24, 2017, 11:13 AM
    HI jayanth,

     URL hacking or custom javaScript buttons are not supported in lightning experience. for achieving this functionality in lightning you have need to create lightning components and create quick actions/button in lightning record detail page.

    For reference check below link : Lightning Alternatives to JavaScript Buttons

       https://trailhead.salesforce.com/en/modules/lex_javascript_button_migration

    i hope it helps you.

    Let me inform if it helps you and kindly mark it best answer if it helps you so it make proper solution for others

    thanks 

    sfdcmonkey.com