Closed q-nicolechoi closed 3 weeks ago
Is there a way to navigate from the workload app to the product home page (https://app.fabric.microsoft.com/home?experience=XXX)?
https://app.fabric.microsoft.com/home?experience=XXX
I tried using the NavigationAPI like so but I'm not sure if it is the correct way:
private workloadClient: WorkloadClientAPI = createWorkloadClient(); this.workloadClient.client.navigation.navigate('host', { path: '/home' }).catch(err => console.error(err)); // error: {error: '3p extensions cannot navigate to host target'}
Also tried target="workload" but it takes me to https://app.fabric.microsoft.com/workloads/XXX?experience=XXX, where this path /workloads/XXX does not exist in our workload
https://app.fabric.microsoft.com/workloads/XXX?experience=XXX
/workloads/XXX
this.client.client.navigation.navigate('workload', { path: '' }).catch(err => console.error(err));
Nope, this is not supported. (as the error suggests).
Is there a way to navigate from the workload app to the product home page (
https://app.fabric.microsoft.com/home?experience=XXX
)?I tried using the NavigationAPI like so but I'm not sure if it is the correct way:
Also tried target="workload" but it takes me to
https://app.fabric.microsoft.com/workloads/XXX?experience=XXX
, where this path/workloads/XXX
does not exist in our workload