29. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 11/9/2018 12:16:35 PM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

29.1 Files compared

# Location File Last Modified
1 RAMS-2.3.0.zip\RAMS-2.3.0\ps UpdateTMSAllItemsView.ps1 Tue Jul 10 05:15:06 2018 UTC
2 RAMS-2.3.0.zip\RAMS-2.3.0\ps UpdateTMSAllItemsView.ps1 Fri Nov 9 14:54:12 2018 UTC

29.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 130
Changed 1 2
Inserted 0 0
Removed 0 0

29.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

29.4 Active regular expressions

No regular expressions were active.

29.5 Comparison detail

  1   <#
  2   .SYNOPSIS
  3           Cr eate TMS A ll Items V iew.
  4       
  5   .DESCRIPTI ON
  6           Th is creates  TMS All I tems View.   
  7       
  8   .EXAMPLE
  9           #w hen run fr om deploym entDriver. ps1
  10           Ru n-Script 1 70 UpdateT MSAllItems View.ps1
  11  
  12   .EXAMPLE
  13           #w hen run fr om the pow ershell co mmand prom pt.
  14           .\ UpdateTMSA llItemsVie w.ps1
  15    #>
  16  
  17   function M odifyTMSAl lItemsView () 
  18   <#
  19   .SYNOPSIS
  20           Mo difyTMSAll ItemsView  Function.
  21       
  22   .DESCRIPTI ON
  23           Th is creates  TMS All I tems View.   
  24       
  25   .EXAMPLE
  26           #w hen run fr om the thi s script.
  27           Mo difyTMSAll ItemsView. ps1
  28    #>
  29  
  30   {
  31   $defaultVi ew = $list .DefaultVi ew;
  32  
  33   #Delete Al l Fields O n All Item s View
  34   #Delete Fi elds Match ed On SQA
  35   $defaultVi ew.ViewFie lds.delete ("Completi onDate")
  36   $defaultVi ew.ViewFie lds.delete ("Completi onStatus")
  37   $defaultVi ew.ViewFie lds.delete ("Created" )
  38   $defaultVi ew.ViewFie lds.delete ("FirstNam e")
  39   $defaultVi ew.ViewFie lds.delete ("ItemDesc ription")
  40   $defaultVi ew.ViewFie lds.delete ("ItemID")
  41   $defaultVi ew.ViewFie lds.delete ("ItemRevi sionDate")       
  42   $defaultVi ew.ViewFie lds.delete ("LastName ")               
  43   $defaultVi ew.ViewFie lds.delete ("TMSUserI D")                       
  44  
  45   #Recreate  view with  new Expira tionDate F ield
  46   $defaultVi ew.ViewFie lds.Add("F irstName")  > $null
  47   $defaultVi ew.ViewFie lds.Add("L astName")  > $null
  48   $defaultVi ew.ViewFie lds.Add("T rainee") >  $null
  49   $defaultVi ew.ViewFie lds.Add("C ompletionS tatus") >  $null
  50   $defaultVi ew.ViewFie lds.Add("I temDescrip tion") > $ null
  51   $defaultVi ew.ViewFie lds.Add("I temID") >  $null
  52   $defaultVi ew.ViewFie lds.Add("C ompletionD ate") > $n ull
  53   $defaultVi ew.ViewFie lds.Add("E xpirationD ate") > $n ull
  54  
  55  
  56   #Create th e view in  the destin ation list
  57   $defaultVi ew.Update( );
  58   write-log  -message " $($default View.Title ) View has  be update d in $($li st.Title)  list on si te $($w.Ur l)" -conso leForegrou nd Green
  59  
  60   }
  61     
  62   #This is t o test the  driver co ntains a $ siteUrl
  63   #$siteUrl= "https:// DNS . URL /sites/IRB Applicatio ns/";
  64   $w = Get-S PWeb $site Url;
  65   $list = $w .GetList($ w.ServerRe lativeUrl. TrimEnd("/ ") + "/Lis ts/TMS")
  66   ModifyTMSA llItemsVie w