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/sforce_api_console_lightning_open_pagereference.htm

but show <lightning:workspaceAPI aura:id="workspace"/> with the example here: https://developer.salesforce.com/docs/component-library/bundle/lightning:workspaceAPI/documentation

Anyone know which is best here?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.