Skip to main content
4 votes

window.postMessage does not work in lightning console app. Any workaround?

This is an expected behaviour since postMessage with targetOrigin '*' sends the message with no target preference and your tabs are in the same lightning container. The window.postMessage() method ...
tugce's user avatar
  • 2,737
3 votes

Choose target location for force:createRecord event

I faced a similar issue working in lightning service console. I used workspace api to close the tab before firing the force:createRecord event. This helped me to tackle it. Do check out the code ...
Nitish Giri's user avatar
2 votes

Application event scope in Lightning Console Apps across console tabs?

My POC shows that this is indeed true, probably by design (I guess it makes sense, sort of). Lightning-console apps consider every LOADED tab in scope of an application event. To further complicate ...
tsalb's user avatar
  • 3,735
1 vote

In Lightning: Record Edit modal box is not opening for first time [using $A.get("e.force:navigateToURL");]

Use navigation api in combination with your workspace api. Like this: handleRecordTypeSelection: function (component, event, helper) { var recordTypeName = event.getSource().get("v.value"); ...
Nagendra Singh's user avatar
1 vote

Can Omni-Channel be used with Sales Cloud using Service Cloud feature license?

Yes we can use omni-channel with lead using service cloud license. In my current project we have service cloud license and we are using omnichannel to route leads to agent. Make sure on user record ...
manish porwal's user avatar
1 vote

Navigate to another page in LEX? (PrimaryTab or SubTab)

As of 3-19-18, the best supported way to accomplish opening a Lightning Component programatically as a workspace or subtab is using the navigateToComponent event:
John Kucera's user avatar
1 vote

Lightning Refresh Console Tab to New Record Type Flexipage

I do find that one way to force recent Apex updates to be "seen" by the client-side cache is by forcing Lightning Data Service to reload the record. So the same component that is calling the Apex ...
Charles T's user avatar
  • 11k
1 vote

Salesforce lightning Standard Navigation openPrimaryTab() not working

Lightning already offers lightning:workspaceAPI, which provides access to console controls. Here you can see an example: ({ openTab : function(component, event, helper) { var workspaceAPI =...
Ricardo Pereira's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible