Questions tagged [workspaceapi]

The tag has no usage guidance.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
115 views

WorkspaceAPI OpenSubTab Focus not working

I am having an issue with the focus feature in the openSubtab method of the workspaceAPI and was wondering if this is working as intended or not. I am following the developer documentation from this ...
1
vote
0answers
25 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
0answers
222 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
1answer
27 views

Is there a alternative for WorkspaceApi in LWC?

Background & The Problem We have a custom grid lwc which i am using to display data from two different objects (EmailMessage & CustomObject). Now, I want to navigate the user to a new tab ...
0
votes
0answers
130 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 ...
0
votes
0answers
56 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
0answers
59 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
59 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 ...
0
votes
0answers
141 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
235 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
0answers
71 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 ...