0

we are having JavaScript Button in salesforce classic that contains functionality of

{!requireScript("/soap/ajax/31.0/connection.js")}
{!requireScript("/support/console/31.0/integration.js")}
{!REQUIRESCRIPT("/xdomain/xdomain.js")}

and also using this functionality to open funtion in sub tab

sforce.console.getEnclosingPrimaryTabId(function (result) {
 sforce.console.openSubtab();
}

But now we are migrating to lightning. how to achieve this type of functionality in lightning Component, is there any work around process

1
  • I think it is not possible. I suggest you to use lightning quickAction check this post webkul.com/blog/…
    – Ratan Paul
    Commented Jun 9, 2017 at 7:46

1 Answer 1

1

There is a Lightning Console JavaScript API for Lightning Experience in Pilot right now, I think it will be the way to go once it's GA.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .