locked
Missing Fields in Visual Studio Work Item RRS feed

  • Question

  • I added some custom fields to a work item (story).  I have run an IIS reset and the fields show up in the web browser.  However the fields do not show up within visual studio.

    What do I have to do to get the fields to show up in visual studio?
    Monday, May 18, 2009 5:16 PM

Answers

  • I found the problem.  It is a difference between the parsing engine for the web and visual studio.  The first section works the 2nd does not

    1 st -------
              <Tab Label="Release Notes">
                <Group>
                  <Column PercentWidth="100">
        <Control FieldName="P2P.Synopsis" Type="FieldControl" Label="Description of change for business:" LabelPosition="Left" />
                  </Column>
                </Group>
                <Group>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentPerson" Type="FieldControl" Label="Deployment Person(s):" LabelPosition="Left" />
                  </Column>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentComplete" Type="FieldControl" Label="Deployment Complete:" LabelPosition="Left" />
                  </Column>
                </Group>
                <Control FieldName="Release.Procedure" Type="HtmlFieldControl" Label="&amp;Steps to deploy:" LabelPosition="Top" Dock="Fill" />
              </Tab>
            </TabGroup>

    2 nd ----
              <Tab Label="Release Notes">
        <Control FieldName="P2P.Synopsis" Type="FieldControl" Label="Description of change for business:" LabelPosition="Left" />
                  </Column>
                <Group>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentPerson" Type="FieldControl" Label="Deployment Person(s):" LabelPosition="Left" />
                  </Column>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentComplete" Type="FieldControl" Label="Deployment Complete:" LabelPosition="Left" />
                  </Column>
                </Group>
                <Control FieldName="Release.Procedure" Type="HtmlFieldControl" Label="&amp;Steps to deploy:" LabelPosition="Top" Dock="Fill" />
              </Tab>
            </TabGroup>

    • Marked as answer by inetnerd Wednesday, May 20, 2009 6:45 PM
    Wednesday, May 20, 2009 6:45 PM

All replies

  • Hi inetnerd

    A quick question, have you refreshed the Work Items node of the team project in the Team Explorer after changed the work item type?

    If refreshing the Work Items node doesn't help, would you mind clarify the question a bit? Based on my understanding, you added some custom fields to a work item type, then you added several controls to display them. In the TSWA, the custom fields are displayed when you edit a work item of that type. In Visual Studio however, the custom fields are not displayed.

    Have you changed the Target property of the Layout element in the work item definition. If so, please take a look at Q: Work Item Definition - Layout Target Not Working.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Send us any feedback you have about the help from MSFT at fbmsdn@microsoft.com.
    Tuesday, May 19, 2009 2:25 AM
  • I found the problem.  It is a difference between the parsing engine for the web and visual studio.  The first section works the 2nd does not

    1 st -------
              <Tab Label="Release Notes">
                <Group>
                  <Column PercentWidth="100">
        <Control FieldName="P2P.Synopsis" Type="FieldControl" Label="Description of change for business:" LabelPosition="Left" />
                  </Column>
                </Group>
                <Group>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentPerson" Type="FieldControl" Label="Deployment Person(s):" LabelPosition="Left" />
                  </Column>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentComplete" Type="FieldControl" Label="Deployment Complete:" LabelPosition="Left" />
                  </Column>
                </Group>
                <Control FieldName="Release.Procedure" Type="HtmlFieldControl" Label="&amp;Steps to deploy:" LabelPosition="Top" Dock="Fill" />
              </Tab>
            </TabGroup>

    2 nd ----
              <Tab Label="Release Notes">
        <Control FieldName="P2P.Synopsis" Type="FieldControl" Label="Description of change for business:" LabelPosition="Left" />
                  </Column>
                <Group>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentPerson" Type="FieldControl" Label="Deployment Person(s):" LabelPosition="Left" />
                  </Column>
                  <Column PercentWidth="50">
                    <Control FieldName="Release.DeploymentComplete" Type="FieldControl" Label="Deployment Complete:" LabelPosition="Left" />
                  </Column>
                </Group>
                <Control FieldName="Release.Procedure" Type="HtmlFieldControl" Label="&amp;Steps to deploy:" LabelPosition="Top" Dock="Fill" />
              </Tab>
            </TabGroup>

    • Marked as answer by inetnerd Wednesday, May 20, 2009 6:45 PM
    Wednesday, May 20, 2009 6:45 PM