Closed cytron201 closed 6 years ago
Hey cytron201,
you only need to write the following code to your wit xml. My example is for OneClick. You must change the correct Id´s and Descriptions.
(Extensions)
<WebLayout ShowEmptyReadOnlyFields="true">
<!--**********************Work Item Extensions**********************
Extension:
Name: witoneclickactions
Id: mohitbagra.witoneclickactions
Group contribution:
Id: mohitbagra.witoneclickactions.work-item-oneclick-group-hub
Description: Work item form one click group
Note: For more information on work item extensions use the following topic:
http://go.microsoft.com/fwlink/?LinkId=816513
-->
<Extensions>
<Extension Id="mohitbagra.witoneclickactions" />
</Extensions>
<SystemControls>
Later at the xml input the following:
(GroupContribution)
</SystemControls>
<Page Label="xxx" LayoutMode="FirstColumnWide">
<Section>
<Group Label="Status">
</Group>
<Group Label="Classification">
</Group>
<GroupContribution Label="Work item form one click group" Id="mohitbagra.witoneclickactions.work-item-oneclick-group-hub" />
</Section>
Best regards Robert
@TFSRobert Superb thank you; works like a charm!
Thanks @TFSRobert :)
Can anyone share what the proper code is for TFS for checklist? I'm unaware of how to grab these extension names directly, so the example above doesn't provide enough for me to implement.
Hi! We're not seeing the checklist in the TFS Template it's configured for. The add-in is installed, and a Checklist has been created against a work item (not mandatory) in the TFS Web UI.
Looking at a Work Item Template from the default process configuration (or the current project), I see what looks like a placeholder within the weblayout xml:
Extension: Name: workitem-checklist Id: mohitbagra.workitem-checklist
Note: For more information on work item extensions use the following topic: http://go.microsoft.com/fwlink/?LinkId=816513 -->
But besides that, there is no other reference to the checklist add-in.
Hoping this is just a setting as we'd really like to use this and build our own such customisation in future.