Questions tagged [workspaceapi]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
29 views

How to refresh Primary tab in lightning component

I'm facing with the following issue: Iv'e created lightning component (launched by quick action), then when pressed - opens new sub tabs (opportunity record and vf page). What i'm trying to achieve ...
2
votes
1answer
20 views

Workspace API use OpenTab() to open existing tab using pageReference

I'm opening a tab using workspace API openTab() with pageReference passing some values within state. Then I want to open the same tab by clicking a different link and passing different parameters. ...
0
votes
1answer
19 views

Theme4u Console not getting returned by Quick Action

I am trying to determine whether the user is in Lightning Console when they select a Quick Action (Lightning Component) but it comes back as regular Lightning UI no matter if the user is on a Console ...
0
votes
0answers
18 views

Workspace tab is not refresh after closing subtab

I need to refresh the workspace tab after closing the current subtab. But it's not happening as expected. Below is my code. var workspaceAPI = component.find("workspace"); ...
0
votes
1answer
79 views

How to pass record id to a lightning component when it is opened as subtab [closed]

I want to pass recordId on click of a button which opens a lightning component as subtab. Here is the code I tried, but no luck though recordId attribute is there in sub-tab documentation. Controller:...
1
vote
1answer
91 views

URL Type for Lighting:Datatable opens in new tab in console navigation

I'd like to have my datatable links open in a new sub tab when my users are using console navigation, but somehow they always open in a new tab. Here's the column definition for the link field: { ...
0
votes
0answers
29 views

WorkspaceAPI not working in Lightning component, if component is using lightning out app

as lightning components are not supported in List view button, i have used lightning out to serve the purpose, but WorkspaceAPi is not working in Lightning component as it using lightning out. i need ...
0
votes
0answers
35 views

Workaround/solution to use workspace API in a lightning component(component is inside a vf page)

As list view buttons are not able to open lightning components directly, I used a vf page to show lightning component using lightning out. Now I need to use workspace API to effectively navigate and ...
1
vote
0answers
22 views

lightning :navigation or :workspaceapi? What's my best option?

I see the Lightning docs demonstrate using <lightning:navigation aura:id="navService"/> with workspaceAPI here: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/...
2
votes
1answer
368 views

Aura Wrapper to LWC: record-id of lwc to recordId mapping

I have an AuraComponent that wraps an lwc component for the purpose of using the workspace API. AuraComponent can see the recordId. In LWC component the recordId is always undefined. I have checked ...
0
votes
1answer
103 views

Lightning PageReference Object Passing Field Values in standard__object

I am launching a Subtab using the Lightning Workspace API, and using an Aura pageReference object to specify that I want to create a new Task. I want to pre-populate the WhatId on the Task when the ...
0
votes
0answers
80 views

Lightning Component Getting Fired Twice When Opening via Workspace API

I have a list of items in one component where once you click on a given item it should open another subtab with a second component. For some reason the new subtab opens and the component getting fired ...
0
votes
1answer
110 views

Cannot open multiple times lightning component content as subtab in Lightning Console with different params by using workspaceAPI.openSubtab

I want to open multiple subtabs with lightning component content in lightning Console with different parameters. Each time I call openSubtab, a new subtab should open event if there is already a ...
0
votes
1answer
463 views

how to refresh the source tab when the current tab is closed

I have a button "Create Activity" in a lightning component (say LC1) on the case lightning record page. When I click that button, an another lightning component (say LC2) opens as a sub tab with some ...
0
votes
0answers
60 views

Cannot open Tab from another Primary tab

I am trying to open a primary tab from another primary tab where the url is a flexi page. It is refreshing the URL of new tab but not opening another tab which is my requirement. Using workspace api ...
0
votes
1answer
420 views

Subtab open using workspace API

In one of my scenarios, we need to open a flexipage as a new subtab on click on some text link. Let's take there are list of records like 0001 , 0002, 0003 On click on 0001 we need to open a new ...
1
vote
0answers
180 views

Is it possible to open a Lightning Tab with Workspace API without URL Parameters

I am making a call using the workspaceAPI to open a new tab in a Lightning Workspace. I am passing a number of variables via the state parameter, which appear in the URL as parameters after the tab is ...
0
votes
0answers
86 views

WorkspaceAPI Tab/Subtab IsOpen()

As per workspaceAPI document we don't have any method which checks if any tab/subtab is already opened before opening a new one. Document for getTabInfo() https://developer.salesforce.com/docs/atlas....
3
votes
1answer
407 views

Open New Tab in Lightning Out?

Scenario: I want to create a List Button which displays a Lightning Component. The only way to implement this step is to use a Visualforce Page which uses a Standard Set Controller, then use ...