locked
Standard Form Customization - Not Appearing/Working RRS feed

  • Question

  • Hi there,

    Encountered a strange issue recently when attempting to Customize the Manual Activity Form.
     - No Form customization I do on a particular form appears when the form is loaded.
    This is Customization via the default tool - and working with the default form (no custom forms).

    • I create a new Management Pack in the Authoring Tool.
    • Go-to the Form Browser
    • Load the Form: Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Forms.ManualActivityForm
    • Click 'Customize', and choose to save these Customizations to the new Management Pack
    • Edit something simple in the form - in this case made the [Title:] Bold and Red.
    • Save, and import into Service Manager.

    xml below:

    <ManagementPack ContentReadable="true" SchemaVersion="2.0" OriginalSchemaVersion="1.1" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <Manifest>
        <Identity>
          <ID>SCSM_INT_AM_Manual_Formsdata</ID>
          <Version>1.0.0.0</Version>
        </Identity>
        <Name>SCSM_INT_AM_Manual_Formsdata</Name>
        <References>
          <Reference Alias="System">
            <ID>System.Library</ID>
            <Version>7.5.8501.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Console">
            <ID>Microsoft.EnterpriseManagement.ServiceManager.UI.Console</ID>
            <Version>7.5.3079.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_c8b80161_e090_4b79_9a9a_0cd7e81212a7">
            <ID>ServiceManager.ActivityManagement.Library</ID>
            <Version>7.5.3079.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_00429f70_5551_44b0_9ff8_783455e69da7">
            <ID>System.WorkItem.Activity.Library</ID>
            <Version>7.5.3079.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
          <Reference Alias="Alias_6d1260d5_7121_4f80_beba_c32c2fef56f6">
            <ID>System.WorkItem.Library</ID>
            <Version>7.5.3079.0</Version>
            <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
          </Reference>
        </References>
      </Manifest>
      <TypeDefinitions>
        <EntityTypes>
          <TypeProjections>
            <TypeProjection ID="CustomForm_03e30ff4_29e6_4591_9647_4b758062d63f_TypeProjection" Accessibility="Public" Type="Alias_00429f70_5551_44b0_9ff8_783455e69da7!System.WorkItem.Activity.ManualActivity">
              <Component Path="$Context/Path[Relationship='Alias_00429f70_5551_44b0_9ff8_783455e69da7!System.WorkItemContainsActivity' SeedRole='Target']$" Alias="ParentWorkItem" />
              <Component Path="$Context/Path[Relationship='Alias_6d1260d5_7121_4f80_beba_c32c2fef56f6!System.WorkItemCreatedByUser']$" Alias="ActivityCreatedBy" />
              <Component Path="$Context/Path[Relationship='Alias_6d1260d5_7121_4f80_beba_c32c2fef56f6!System.WorkItemAssignedToUser']$" Alias="ActivityAssignedTo" />
              <Component Path="$Context/Path[Relationship='Alias_6d1260d5_7121_4f80_beba_c32c2fef56f6!System.WorkItemAboutConfigItem']$" Alias="ActivityAboutConfigItem" />
            </TypeProjection>
          </TypeProjections>
        </EntityTypes>
      </TypeDefinitions>
      <Categories>
        <Category ID="SCSM_INT_AM_Manual_Formsdata.Category" Value="Console!Microsoft.EnterpriseManagement.ServiceManager.ManagementPack">
          <ManagementPackName>SCSM_INT_AM_Manual_Formsdata</ManagementPackName>
          <ManagementPackVersion>1.0.0.0</ManagementPackVersion>
        </Category>
      </Categories>
      <Presentation>
        <Forms>
          <Form ID="CustomForm_03e30ff4_29e6_4591_9647_4b758062d63f" Accessibility="Public" Target="CustomForm_03e30ff4_29e6_4591_9647_4b758062d63f_TypeProjection" BaseForm="Alias_c8b80161_e090_4b79_9a9a_0cd7e81212a7!Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Forms.ManualActivityForm" TypeName="Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Forms.ManualActivityForm">
            <Category>Form</Category>
            <Customization>
              <PropertyChange Object="Label7" Property="FontWeight">
                <NewValue>Bold</NewValue>
              </PropertyChange>
              <PropertyChange Object="Label7" Property="Foreground">
                <NewValue>#FFFF0000</NewValue>
              </PropertyChange>
            </Customization>
          </Form>
        </Forms>
      </Presentation>
      <LanguagePacks>
        <LanguagePack ID="ENA" IsDefault="true">
          <DisplayStrings>
            <DisplayString ElementID="SCSM_INT_AM_Manual_Formsdata">
              <Name>SCSM_INT_AM_Manual_Formsdata</Name>
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
        <LanguagePack ID="ENU" IsDefault="false">
          <DisplayStrings>
            <DisplayString ElementID="SCSM_INT_AM_Manual_Formsdata">
              <Name>SCSM_INT_AM_Manual_Formsdata</Name>
            </DisplayString>
            <DisplayString ElementID="CustomForm_03e30ff4_29e6_4591_9647_4b758062d63f">
              <Name>Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Forms.ManualActivityForm  (Customized)</Name>
              <Description>Microsoft.EnterpriseManagement.ServiceManager.ActivityManagement.Forms.ManualActivityForm  (Customized)</Description>
            </DisplayString>
          </DisplayStrings>
        </LanguagePack>
      </LanguagePacks>
    </ManagementPack>

    I repeat the same steps with the Review Activity form - it works...
    There are no other class or form extensions of the Manual Activity that could conflict.


    Apart from that, I'm stumped.

    Friday, August 15, 2014 6:15 AM

Answers

  • Confirmed - it's the Preview pane Cireson mp for the Manual Activity.
    Removed it, and my form customisation works...

    • Proposed as answer by Mickey Gousset Tuesday, August 26, 2014 6:25 PM
    • Marked as answer by eli_roberto Monday, October 20, 2014 2:42 AM
    Sunday, August 17, 2014 10:52 PM

All replies

  • Have you restarted the console after the import? If the form is already loaded once in the console changes to it will not appear before after a restart.

    http://codebeaver.blogspot.dk/

    Friday, August 15, 2014 8:02 AM
  • Yep - tried that Anders.
    Funny thing is - I replicate the process with the Review Activity form (or any other activity form), and it works.

    At this stage I'm testing whether the Cireson mp packs we have in 3 of our 4 environments is causing it.
    This management pack works in the 1 env that does not have the cireson packs..
    Will update.
    Sunday, August 17, 2014 10:31 PM
  • Confirmed - it's the Preview pane Cireson mp for the Manual Activity.
    Removed it, and my form customisation works...

    • Proposed as answer by Mickey Gousset Tuesday, August 26, 2014 6:25 PM
    • Marked as answer by eli_roberto Monday, October 20, 2014 2:42 AM
    Sunday, August 17, 2014 10:52 PM
  • I had the exact same thing happen in my environment.
    Tuesday, August 26, 2014 6:25 PM