Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Layout Customization

  • Last UpdatedJun 10, 2024
  • 2 minute read

You can define have a specific view for a repository so that the defined view appears when you load the work item list control.

You can save a specific layout or global layout by selecting Settings > Global Work Item Layout from the Enterprise Console pull-down menu.

On clicking Global Work Item Layout, the following page will be displayed:

There are two ways to set layouts:

  1. GlobalLayout

  2. CustomLayout

To save Layout as Global Layout

  1. Select Settings > GlobalWorkItem Layout from the Enterprise Console pull-down menu.

  2. In the global layout page, select GlobalLayout from the Layout names drop-down.

  3. Right-click any column fields and select the required column fields, as shown below


  4. Select Apply Changes and then Save Layout.

  5. Go to Inbox. The layout will be displayed with specified column fields defined.

    There may be a scenario where we want to have different layout specific to different processes.

    To save Layout as Specific Layout

    1. Select Settings > GlobalWorkItem Layout from the Enterprise Console menu.

    2. In the global layout page, select CustomLayout from the Layout names drop-down.

    3. Click New Custom layout.

    4. Give a layout name in the New Custom layout name text box. For example, 'Leave Details View'.

    5. Right-click any column and select the required column fields.

    6. Select Apply Changes and then Save Layout.

    7. The following code snippet shows you how to specify a custom layout for the work item control. Set the LayoutViewName property with the custom layout name. For example, 'Leave Details View'.

      Skelta.Entity.UserContext uContext = new Skelta.Entity.UserContext();

      Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorkItemControl wi =  new Skelta.HWS.WorkListChannel.Web.WorkItemListControl.WorkItemControl();

      wi.ApplicationName = uContext.Repository.ApplicationName; //Provide Application or Repository name. This is mandatory.

      wi.UserIdString =uContext.LoggedInUserId; //Provide user id string. This is mandatory.

      System.Collections.Generic.SortedDictionary<int, string> Qdisplay = new System.Collections.Generic.SortedDictionary<int, string>();

      wi.LayoutViewName = "Leave Details View";

      //LayoutViewName property is used to load the specified layout.

       

      Note: If the LayoutViewName has not been specified, then the Global Layout created for the repository will be considered as the default layout for the Work Item list control.

    8. Go to the Work items list Inbox. The layout will be displayed with specified column fields.


      Note: If you save the customized layout with the Actor Name column, this column will be displayed in the Work Item List control only for the Queue view. However, this column will not be displayed for the Inbox and Manager views.

      TitleResults for “How to create a CRG?”Also Available in