Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

[VSS SDK ERROR] Host Page Navigation is throwing an error in a scenario #138

Open
syedharishassan opened this issue Apr 16, 2019 · 0 comments

Comments

@syedharishassan
Copy link

We are using VSTS extensions having multiple hubs (menus). As per our need, we have to set some hash values in the main URL. We are using host page navigation APIs (https://docs.microsoft.com/en-us/azure/devops/extend/develop/host-navigation?view=azure-devops) for this purpose.
When we click our hub from the TFS for the first time, it sets the hash correctly, but, when we click any other hub, the hash gets lost. The main issue is now if we try to set the hash from the API, then it throws an error (SCRIPT70: Permission denied) in IE /Edge only.

We have noticed that the command navigationService.SetHash() is throwing an error when it is trying to use “_postToWindow” method from an internal call.
The same code is working fine when we use Dev Azure server. It is only occurring in on-premises TFS servers irrespective of their versions.

Please suggest the suitable solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant