Implementation

To implement an evidence types own workspace, for use from the evidenceFlow widget, the 3 pages mentioned must be implemented, that is the main list page, the verifications and the issues list pages.

The following vim files are provided by the infrastructure to support evidence type workspaces

Evidence_typeWorkspace.vim
Contains a list of evidence objects of a given type.
Evidence_listIssuesForEvidenceType.vim
Lists all Issues for a given evidence type.
Evidence_typeVerifications.vim
Lists all verifications for a given evidence type.

The main page should use the Evidence_typeWorkspace.vim and have one parameter called caseID. To include the other pages, they should be linked using in-page navigation.

The following sample file shows how to implement the main workspace page. The other pages follow a similar pattern.

<PAGE
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:noNamespaceSchemaLocation="file://Curam/UIMSchema.xsd"
  PAGE_ID="MyProduct_listMyEvidenceType"
>

  <PAGE_PARAMETER NAME="caseID"/>
  
  <CONNECT>
    <SOURCE PROPERTY="caseID" NAME="PAGE"/>
    <TARGET PROPERTY="key$caseID" NAME="DISPLAY"/>
  </CONNECT>
  <CONNECT>
    <SOURCE PROPERTY="SampleAsset.EvidenceType" NAME="CONSTANT"/>
    <TARGET PROPERTY="key$evidenceType" NAME="DISPLAY"/>
  </CONNECT>
  
  <!-- Page Title, Action Controls etc -->
  <MENU MODE="IN_PAGE_NAVIGATION">
    <!-- Link here to Issues and Verifications List -->
   </MENU>

  <INCLUDE FILE_NAME="Evidence_typeWorkspace.vim"/>
        
</PAGE>