From 7b6554820a5182db6a57d63dce48c441ff77ad49 Mon Sep 17 00:00:00 2001 From: Greg Trevellick Date: Tue, 11 Sep 2018 17:37:37 +0100 Subject: [PATCH] Addition of . to configuration ID in configuration 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 .., 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" ], ` --- widgets/vss-extension.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/widgets/vss-extension.json b/widgets/vss-extension.json index c8c43c5..7fc2b98 100644 --- a/widgets/vss-extension.json +++ b/widgets/vss-extension.json @@ -240,7 +240,7 @@ "type": "ms.vss-dashboards-web.widget", "targets": [ "ms.vss-dashboards-web.widget-catalog", - ".HelloWorldWidget.Configuration" + "fabrikam.vsts-extensions-myExtensions.HelloWorldWidget.Configurationn" ], "properties": { "name": "Hello World Widget 3 (with config)", @@ -305,4 +305,4 @@ "scopes": [ "vso.work" ] -} \ No newline at end of file +}