Use Case - Link Items Using Custom Column

<< Click to Display Table of Contents >>

Navigation:  Custom Actions >

Use Case - Link Items Using Custom Column

LINK ITEMS USING CUSTOM COLUMN

 

People often want to link items in a list. Say a printer is not working, or the internet connection is down -- if 4 people write in about the same issue, that creates 4 tickets. How can we link these?

 

One option is to create a column, for example "Issue ID", and then given each item the same value for that column (all would have the same "Issue ID"). Using this, you could create a workflow that closes all items with the same Issue ID when one of them closes (or create other workflows that act on this group of items). You can also group and view items with the same Issue ID in a list view. This gives you a very useful way to coordinate activity among these items.

 

Configuration

NOTE: If you have not created the column that you want to use to link the items, do that first in List Settings for the list.

 

To link items using a column (e.g., "Issue ID"), go to New Custom Action when in the Custom Actions app.

 

clip0589

 

The Configure Custom Action screen comes up. Configure as follows.

 

clip0590

 

Add a New Action, choosing Update List Item

clip0591

 

The screen to configure this action comes up. Choose a column to update.

(If more than one column is chosen, the user will be given the option to update multiple columns when this action is run.)

 

Note: the "Selected Column(s)" can be any one(s) you want. The example below uses one custom column, "Issue ID".

 

clip0592

 

Click OK to save the Update List Item action, then click Save to save the Custom Action.

 

A link for this Action will now show on the List Ribbon/Items tab for the List.

 

clip0593

 

While in the List View, select the items you want to update.

 

clip0594

 

Pressing the Action you created will allow you to update the column (in this example, "Issue ID") on the items selected in the List View. This could be one item or multiple items, as well as one column or multiple columns.

 

A dialog comes up. Notice the option to "Apply same values to other items(s)". Press OK

 

clip0595

 

A box indicating successful updating of the items comes up:

 

clip0596