Is it possible to launch a Lightning page that was created in the Lightning App builder (composed of two sibling components) from the button click of another custom component? Any help would be greatly appreciated. Thanks
Controller code is shown below:
openApp: function(component, event, helper) {
var workspaceAPI = component.find("workspace");
debugger;
workspaceAPI.openTab({
url:'lightning/n/ProductSelector_PopUp.app',
focus: true
}).then(function(response) {
workspaceAPI.getTabInfo({
tabId: response
}).then(function(tabInfo){
console.log("The recordId for this tab is: " + tabInfo.recordId);
});
}).catch(function(error) {
console.log(error);
});
},