답변 3개
hi Shweta Garg you can do this task by using Quick Action, first create a lightning component with implements="force:lightningQuickActionWithoutHeader,force:hasRecordId" interface and then add this lightning component with quick action .when you click on the quick action button ,on the load of the component you can navigate to URL by using force:navigateToURL event. https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_navigateToURL.htm (http://https://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/ref_force_navigateToURL.htm)https://trailhead.salesforce.com/lex_javascript_button_migration/javascript_buttons_to_lightning_actions let me inform if it helps you .
thanks http://sfdcmonkey.com