Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [workspaceapi]

The tag has no usage guidance.

0
votes
0answers
7 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
17 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/...
1
vote
1answer
45 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
28 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
37 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
0answers
26 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
111 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
21 views

openSubtab not working with encoded URL

The openTab in Salesforce workspace API does not work with encoded url. Here the strEncodedURL is the return result from : window.encodeURIComponent(strUrl) if (objWorkspaceAPI) { ...
0
votes
0answers
38 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
219 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
113 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
38 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
339 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 ...