You need to sign in to do that
Don't have an account?
Ab
NavigationMixin is not retreived by workspace api
Hello,
I have below function , when users clicks,
a new sub tab is opended and the URL is retrived by lightning workspace api which gets the correct url.
But when users clicks on it second time, it get the URL of the tab instead of subtype
how can i force the worksapce API to get the correct url paramenter
thank you for suggestion
I have below function , when users clicks,
a new sub tab is opended and the URL is retrived by lightning workspace api which gets the correct url.
But when users clicks on it second time, it get the URL of the tab instead of subtype
fnname(event){ this[NavigationMixin.Navigate]({ type: 'standard__objectPage', attributes: { objectApiName: 'Account', actionName: 'new' }, state: { recordTypeId:t001XXX } });
how can i force the worksapce API to get the correct url paramenter
thank you for suggestion
Why don't you try the following instead to get the subtab info?
Reference: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_getTabInfo.htm