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 [console]

Console used in the context of the "Salesforce Console". A Product of service cloud.

3
votes
1answer
51 views

Open Lightning Console tab for edit and view all at once

Using the <lightning:workspaceapi> tag and calling the same reuseable component twice (once for edit and once for view) does not seem to let me open the edit page modal and open a new tab for ...
1
vote
0answers
45 views

DOM Exception JSON.stringify - Error in Console

Updates: ----Latest Update---- I am able to convert the event to a string with dojox and their serializer that allows circular objects to be stringified. I originally tried to include dojox via a ...
3
votes
2answers
59 views

Can a lightning web component know the difference between console and standard view?

I created a LWC which displays a link to an object... and I want that link to "open in a new window" (target "_blank") if the user is viewing it via standard navigation view (non-console). And, if ...
1
vote
0answers
13 views

Capture Browser Click Events from Console Component

I am trying to capture all clicks in the salesforce classic console from a script in a custom console component. The following javascript logs all onclick events in the console in the frame of that ...
0
votes
0answers
14 views

Salesforce Lightning (Console) - Text squished

I have (i think) a lightning console page where the formatting has changed for some reason. This has only changed for me, and not anyone else in my team. The text should appear as it does in the first ...
3
votes
1answer
109 views

LWC: Invalid event type “WireContextEvent” dispatched in element

Updated the question: We are using custom Lightning Console App. Here is a simplified version of our LWC to explain the problem. Any idea? sampleWireContextEventWarning.html <template> ...
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
27 views

How do I make a console footer open a new tab?

I have a console app with footer components Macros, Knowledge, and History. Each of them opens a mini-window next to the respective component. I know how to create a new console component that does ...
1
vote
1answer
60 views

Open parent and child records as primary tab and sub tab in console at the same time

I am trying to open a primary tab and subtab in the console app after user clicks button on visualforce page in custom console component. The subtab would be the opportunity entered in the input field ...
0
votes
0answers
15 views

How to send events from subtab1 to subtab2, after the subtab2 is opened?

I want to send some parameters from one subtab to another subtab. For example, subtab1 has a link which opens subtab2. The parameters cannot be sent in url as the parameters are too long to be sent. ...
9
votes
1answer
2k views

Log to console in a Lightning Web Component

I am attempting to write a Lightning Web Component, but continually run into errors in my Javascript that I can't debug. I've been trying to log my error but when I put console.log() anywhere in the ...
1
vote
2answers
612 views

How to close sub tab from lightning component button click

I have a vf page in which I have embedded a lightning component ( lightning out ). I'm having a lightning button called "Save". On clicking this, I need to close the sub tab ( currently I'm displaying ...
1
vote
0answers
105 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
62 views

Lightning Console

Is it possible to identify whether loggedIn user is viewing lightning component in console or not? In classic, we have isConsole() method, do we have similar method in lightning?
0
votes
0answers
20 views

Tab being opened in a new tab as well overwritting the current tab

I am trying to open a tab in the salesforce console when the user clicks on a link but for some reason the link opens a new tab as well as overwriting the current tab with the new page. I am having a ...
4
votes
1answer
100 views

Salesforce Platform Cache not working in Sales Console

I am using the Platform Cache to store the Id of the customer the salesperson is speaking with on the phone, such that different Lightning Components automatically load the customer's details as the ...
0
votes
0answers
33 views

Auto Select Email Template Apex Class not selecting template automatically.

I had a use case where we want to select an email template automatically, It needs to be either an HTML ( with a letterhead) or in worst case a custom email template (without a letterhead). I've ...
1
vote
1answer
20 views

Please let me know the possible solutions of implementing another Navigation bar in Service Console

By default Service Console built for Salesforce Classic Application has one Navigation bar . We have a requirement in which the users wants to have many navigation bars like one for Cases [by default ...
1
vote
0answers
22 views

Prepopulate Url Parameters on a visualforcepage that is in console app

I am trying to prepopulate my url parameters on the visualforce page that is in the console application This is the url i am trying to use https://my.salesforce.com/console?tsid=consoleappid&...
0
votes
2answers
20 views

Take ownership and open case link on list view

I've created a button called Assign to Me and have gotten it to correctly move a case from a queue to the current user and successfully change status to "Working". I'm struggling to get it to open up ...
0
votes
1answer
247 views

How to open console tab from within a visualforce on a page layout?

Classic console. The visualforce page renders a single button that passes an valueto another visualforce page to launch an existing process that the client does not want to be modified. This code ...
0
votes
2answers
106 views

Finish Button on Flow reloads iFrame holding VF Flow Component

I have maxed out the number of console components I can utilize on a page layout (8). I currently use the flows in custom console component tabs. To workaround this limitation, I have created tabs ...
0
votes
1answer
155 views

getting blank screen while opening iFrame in salesforce VF page

I am facing an issue while opening a webpage in salesforce iFrame. I was able to do that till yesterday, but now I am getting below error. QuoteToEsign is the visualforce page where I am opening ...
2
votes
2answers
230 views

Re-open tab in salesforce console app

I want to create function for reopening(refreshing) component or whole opened tab by clicking on the button. I couldnt find any working example. I am using aura lightning component. cmp: <...
0
votes
1answer
21 views

Service Console Component at the top instead of the footer

I have implemented a customized external search component for the Service Console and I added this VisualForce page to the console using the Choose Console Components from the Console itself in Create ...
1
vote
1answer
73 views

Execute Javascript on VFP from Controller Query Results [closed]

I have a Visualforce Page with inputs, these input values are passed to a controller, query results are returned, and results are displayed in a datatable on the same VFP with inputs. If the list I ...
0
votes
0answers
33 views

CloseTab Callback Function not Executing

Callback function is not executing in console tab method closeTab, but the id provided to the method IS closing. Why? function callback (result) { console.log('in callback'); }...
0
votes
0answers
30 views

Display Output Panel from Console Component to Window.Top

I am trying to display an output panel on the top window from a console component in Salesforce Classic. Is this possible? I've looked into Window.Top, but I am failing to understand how I ...
0
votes
1answer
42 views

How to Execute Function after For Loop? - Console Tabs

I am passing primary tab ids iteratively into a function to get the sub tub ids of each primary tab. At the end of this function I have a list of all primary and sub tabs open. How can I iteratively ...
2
votes
1answer
14 views

Is it possible to object Ids from unfocused console tabs?

I know it is possible to get object ids from focused primary and subtabs, but it is possible for me to use the Ids returned from getPrimaryTabIds, parse through and use those ids to somehow return the ...
0
votes
1answer
214 views

Live Agent liveagent.prechat.findorcreate.map Mapping not working

We're using Live Agent to Map the Contact on the Basis of Email. Below is the Code: <input type="hidden" name="liveagent.prechat.findorcreate.map:Contact" value="FirstName,contactFirstName;...
0
votes
1answer
267 views

Tab focused event in Lightning Console with Visualforce page

I have a Visualforce page that can be displayed pretty much everywhere (tab in classic, console, lightning console, lightning experience). I have some visualisation issues when using the lightning ...
0
votes
0answers
27 views

Open a file in salesforce console when in the community

I have a community, in which I insert some files. When a file is inserted, it create a link that that can redirect to the file inserted. But I need it to redirect to the salesforce console (for ...
0
votes
0answers
29 views

how can i execute console command

I trying to handling DOM Element in Lightning component. because of aura:id need literal value, i can't use find().getElement() in <aura:iteration>. and i attempted to console command. like ...
2
votes
1answer
14 views

Salesforce Console App slow on Leads

When I navigate through our salesforce console app and choose "Leads" it takes quite a while to populate the list of open leads. Is there a way to speed up this process? Maybe indexing some of the ...
0
votes
1answer
77 views

The Code below is Working fine, The problem is i'm Unable change the focus on the page to the Case Detail Subtab

<apex:includeScript value="/support/console/42.0/integration.js"/> <script type="text/javascript" > function testOpenSubtab() { //First find the ID of the primary tab to put ...
0
votes
2answers
19 views

How an End user login into a console [closed]

Hi i am learnig salesforce how an end user login into a console which maybe a sevice or sales console
0
votes
1answer
190 views

Including “isdtp” URL parameter will make sforce.console.isInConsole() return TRUE

I found this funny "issue" the other day and I want to share it here. It's maybe a good reminder why we shouldn't use "hacks" that Salesforce doesn't support. Let's say you have a Visualforce page ...
0
votes
0answers
35 views

Service Console - update tab's pageInfo after redirect

Suppose I have page PageA opened in a Salesforce Classic console tab. Then I use a controller method to redirect to PageB: public PageReference redirect(){ return new PageReference('/apex/PageB');...
0
votes
0answers
24 views

What licenses can access Knowledge, Reporting, and Salesforce Console in Salesforce Classic?

What licenses can access read-only Knowledge, a Visualforce Page, and Reporting through a Custom Salesforce Console in Salesforce Classic? These are the ONLY features this user group needs. My ...
2
votes
0answers
35 views

Access to Lightning Console Developer API from third-party app

I am trying to access to Console Developer API from my third party app in javascript (an Open CTI app). I can do this with no problem in console classic loading this sdk: login.salesforce.com/...
0
votes
1answer
3k views

How to open a custom Lightning component/tab/app in Lightning Service Console?

How to open a Lightning open a custom Lightning component/tab/app in Lightning service console As per doc tab can be opened using console workspace API. But what will be URL for a custom Lightning ...
1
vote
0answers
47 views

Console Attach File - Done button closes tab instead of returning to parent

In the Console, if I attach a File to a Case, the Done button does not return you to that Case. I realized the URL does not have the retURL set like it does in a classic, internal app view. So I ...
0
votes
1answer
463 views

Need Live Agent Console Integration events for Lightning

We are trying to migrate a Live Agent app from classic to Lightning. The classic live agent console integration events are not working in Lightning. We are searching for few Live Agent events and ...
0
votes
1answer
146 views

Cant create console app

So i'm following a tutorial to connect Toky with Salesforce and a console application is needed, but i can't seem to create one. I've checked and I have a sales console user licence unused. So, when ...
0
votes
1answer
321 views

Understanding opensubtab functionality along with javascript

I am trying to implement opensubtab functionality. Below is my code: <apex:page id="pg" controller="testSetRedirect"> <apex:includeScript value="/support/console/41.0/integration.js"/> &...
0
votes
1answer
154 views

Contact record open in a Console tab from Case record

On a Case record I have a contact lookup when you click on the lookup icon a page will open and in that page i have few fields like Name,Email,Phone and New Contact(Link).When I click on New Contact ...
1
vote
1answer
1k views

How to open a Visualforce Page in a tab into the Service Console lightning

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 ...
6
votes
1answer
321 views

Possible to hide or resize inline VF page based on criteria? [closed]

I would like to hide a inline VF page in a console lightning case on record load. Is it possible? If so, how?
1
vote
1answer
2k views

Lightning service console refresh tab

We are trying to refresh a parent tab after an action is taken using the JavaScript API for lightning service console. Here is the controller code: var workspaceAPI = component.find("workspace"); ...