Update a Shared Custom Attribute

You can modify a shared custom attribute at runtime either manually using AgilePoint Enterprise Manager or programmatically using the Managed Code C# Snippet.

To update a shared custom attribute using Enterprise Manager, do the following.

Navigation

  1. On the Enterprise Manager Main Page, click Shared Custom Attributes.
  2. On the Custom Attributes window, select the shared custom attribute you want to modify.
  3. Click Edit.
    Note: This page can only be used by administrators and users with the Modify Shared Custom Attributes access right.

Instructions

  1. On the Custom Attributes window, edit the fields as required.
    Field Name Definition

    Name

    Definition:
    Specifies the shared custom attribute you want to update.
    Allowed Values:
    Read only.

    Type

    Definition:
    Determines the data type for the shared custom attribute.
    Allowed Values:
    • String
    • Int32
    • DateTime
    • Decimal
    • Boolean
    Default Value:
    String

    Value

    Definition:
    The value that is applied to the shared custom attribute at runtime.
    Allowed Values:
    A number or a text string that can contain spaces.
    Default Value:
    None

To update a shared custom attribute programmatically using the Managed Code C# Snippet, do the following:

For example, you have defined a shared custom process attribute called "Something" in Enterprise Manager. You set the value of the shared custom process attribute in Enterprise Manager. You now want to use a Managed Code C# Snippet to dynamically change the value of the shared custom process attribute "Something". 

The following is the syntax to update the value of the shared custom  process attribute "Something".