Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var urlEvent = $A.get("e.force:navigateToURL");
- urlEvent.setParams({
- "url": url
- });
- }
- workspaceAPI.openSubtab({
- parentTabId: primaryTabId,
- url: urlTmp,
- focus: true
- }).then(function(response) {
- workspaceAPI.focusTab({
- tabId: response
- });
- if(isVforce){urlEvent.fire();}
- }).catch(function(error) {
- console.log(error);
- alert(error);
- });
Add Comment
Please, Sign In to add comment