Displaying Comment History

In the Sharepoint Helpdesk, to display comment history in dispform.aspx, replace the following:
<xsl:value-of select="@SRDetail" disable-output-escaping="yes"/>
with :
<SharePoint:AppendOnlyHistory runat="server" FieldName="SRDetail" ControlMode="Display"/>

Filtering SharePoint List by SharePoint Group and Status

In order to display only not closed (Abgeschlossen) items assigned to the group that one is a member of, I added the following where clause to the form query, where "Gruppe" is the group that one is a member of and "Status" is the state for all not closed items.

Where&gt;&lt;
    And&gt;&lt;
        Neq&gt;&lt;FieldRef Name="Status"/&gt;&lt;Value Type="Text"&gt;Abgeschlossen&lt;/Value&gt;&lt;/Neq&gt;&lt;
        Or&gt;&lt;
            Membership Type="CurrentUserGroups"&gt;&lt;FieldRef Name="Gruppe"/&gt;&lt;/Membership&gt;&lt;
            Eq&gt;&lt;
                FieldRef Name="Gruppe"/&gt;&lt;Value Type="Integer"&gt;&lt;UserID Type="Integer"/&gt;&lt;/Value&gt;&lt;
            /Eq&gt;&lt;

        /Or&gt;&lt;
    /And&gt;&lt;
/Where&gt;&lt;

Changing SharePoint’s HelpDesk Service Request Status

Just in case that I forget, in order to change the service request status, one has to modify or add a SRStatus_Choice in:

%programfiles%Common FilesMicrosoft SharedWeb Server Extensions12Resourceshlpdsk.resx

In this example, I renamed existing ones and added two more:

  <data name="SRStatus_Choice1" xml:space="preserve">
    <value>Nicht Begonnen</value>
  </data>
  <data name="SRStatus_Choice2" xml:space="preserve">
    <value>Warteschlange</value>
  </data>
  <data name="SRStatus_Choice3" xml:space="preserve">
    <value>In Bearbeitung</value>
  </data>
  <data name="SRStatus_Choice4" xml:space="preserve">
    <value>Abgeschlossen</value>
  </data>
  <data name="SRStatus_Choice5" xml:space="preserve">
    <value>Zurückgestellt</value>
  </data>
  <data name="SRStatus_Choice6" xml:space="preserve">
    <value>Wartet auf jemand anderen</value>
  </data>

For additions need to be appended in this schema:

%programfiles%Common FilesMicrosoft SharedWeb Server Extensions12TEMPLATEFEATURESHelpDeskServiceRequestsListservicerequestschema.xml

In this example, I added choices 4 and 5:

            <Default>$Resources:hlpdsk,SRStatus_Choice1;</Default>
            <CHOICES>
              <CHOICE>$Resources:hlpdsk,SRStatus_Choice1;</CHOICE>
              <CHOICE>$Resources:hlpdsk,SRStatus_Choice2;</CHOICE>
              <CHOICE>$Resources:hlpdsk,SRStatus_Choice3;</CHOICE>
              <CHOICE>$Resources:hlpdsk,SRStatus_Choice4;</CHOICE>
              <CHOICE>$Resources:hlpdsk,SRStatus_Choice5;</CHOICE>
              <CHOICE>$Resources:hlpdsk,SRStatus_Choice6;</CHOICE>
            </CHOICES>

After making the changes, restart the IIS.