Skip to content

Extension Data Storage IExtensionDataService does not work correctly when following docs #140

@TheAtomAnt

Description

@TheAtomAnt

I am using the following page to understand how to store user settings as part of my extensions functionality.
https://learn.microsoft.com/en-us/azure/devops/extend/develop/data-storage?view=azure-devops

In that documentation the proper backend call should be as follows:
GET _apis/ExtensionManagement/InstalledExtensions/{publisherName}/{extensionName}/Data/Scopes/User/Me/Collections/%24settings/Documents/myKey

However using the azure-devops-extension-api the following request is made instead:
GET _apis/ExtensionManagement/InstalledExtensions/{extensionName}/Data/Scopes/User/Me/Collections/%24settings/Documents/myKey

Notice that the publisher name is MISSING - and the call will fail. I can capture this easily enough on the Chrome Dev tools Network tab, export the request, import into PostMan, alter the URL by adding the publisher name, and see the call work correctly.

I am not sure where this issue is ultimately rooted. Following the code back leads to a cross frame request pretty quickly and the rest is abstracted away from my eyes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions