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

Addition of <publisher>.<extension-id> to configuration ID sample #106

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 11, 2018

  1. Addition of <publisher>.<extension-id> to configuration ID in configu…

    …ration contribution's "targets" array
    
    According to the [Hello World with Configuration](https://docs.microsoft.com/en-us/azure/devops/extend/develop/add-dashboard-widget?view=vsts#step-5-extension-manifest-updates-1) sample extension widget, the array of targets for the widget needs to contain the ID for the configuration in the form <publisher>.<extension-id>.<configuration-id>, which in the case of the sample would be `fabrikam.vsts-extensions-myExtensions.HelloWorldWidget.Configuration`
    
    However the sample source code [here](https://github.com/Microsoft/vsts-extension-samples/blob/master/widgets/vss-extension.json) appears not to following this ID naming convention.
    
    The vss-extension.json file currently contains 
    
    `
                "targets": [
                    "ms.vss-dashboards-web.widget-catalog",
                    ".HelloWorldWidget.Configuration"
                ],
    `
    
    but I suspect it should contain the following
    
    `
                "targets": [
                    "ms.vss-dashboards-web.widget-catalog",
                    "fabrikam.vsts-extensions-myExtensions.HelloWorldWidget.Configuration"
                ],
    `
    GregTrevellick authored Sep 11, 2018
    Configuration menu
    Copy the full SHA
    7b65548 View commit details
    Browse the repository at this point in the history