1

How can I open a Visualforce Page in a tab into the Service Console lightning?

I tried with the workspaceAPI openSubTab() method, but the documentation says that Visualforce is not supported as URL parameter.

I also tried launching a force:navigateToUrl event in the openSubTab callback, but it opens the page in the current tab.

Is there any way to open it in a new tab?

4
  • Which document indicates you can't use Visualforce as a parameter in openSubtab? In the "URL" parameter you should be able to simply use a relative URL value like "/apex/myVFPage" if you want to open a VF page.
    – Paul H.
    Dec 1, 2017 at 22:47
  • developer.salesforce.com/docs/atlas.en-us.api_console.meta/… Say "Visualforce page are not supported"
    – Andrea P.
    Dec 4, 2017 at 8:26
  • Ah, sorry. I was looking at the classic API and not the Lightning one. I am not sure if there is another way to do it if the API doesn't support it yet.
    – Paul H.
    Dec 4, 2017 at 22:25
  • Depending on how good of a fit it is to your requirements, you could use the VF page as a component in a lightning page and open that flexipage in the console. trailhead.salesforce.com/en/projects/…
    – Mark Pond
    Jan 11, 2018 at 16:56

1 Answer 1

2

Try api 42, as per release notes the disclaimer regarding Visualforce pages has been removed: now you can even open other domain urls via CSP.

0

You must log in to answer this question.

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