344. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 5/9/2017 12:03:03 PM Eastern Daylight 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.

344.1 Files compared

# Location File Last Modified
1 Tue May 9 16:03:03 2017 UTC
2 OSCIF_HEC_v1.4_Sprint23_build4_Apr_2017.zip\CRM_solutions\Managed\North52BPA_1_0_0_506_managed_2013_2015_2016..zip\WebResources north52_javascriptnorth52schedulehelperC508A8E8-AAFC-E111-B45E-00155DF5B00D Mon Sep 19 18:20:18 2016 UTC

344.2 Comparison summary

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

344.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

344.4 Active regular expressions

No regular expressions were active.

344.5 Comparison detail

        1   //If the S DK namespa ce object  is not def ined, crea te it.
        2   if (typeof  (N52) ==  "undefined ")
        3   { N52 = {} ; }
        4   // Create  Namespace  container  for functi ons in thi s library;
        5   N52.Helper s = {
        6  
        7  
        8   GetServerU rl: functi on()
        9   {
        10       var co ntext, crm ServerUrl;   
        11       if (ty peof GetGl obalContex t != "unde fined") {   
        12           co ntext = Ge tGlobalCon text();  
        13       }  
        14       else i f (typeof  Xrm != "un defined")  {  
        15           co ntext = Xr m.Page.con text;  
        16       }  
        17       else {   
        18           th row new Er ror("CRM c ontext is  not availa ble.");  
        19       }  
        20     
        21  
        22     
        23       if (ty peof conte xt.getClie ntUrl != " undefined"
        24       {
        25          crm ServerUrl  = context. getClientU rl();
        26       }
        27       else
        28       {
        29            c rmServerUr l = contex t.getServe rUrl();  
        30            c rmServerUr l = crmSer verUrl.rep lace(/^(ht tp|https): \/\/([_a-z A-Z0-9\-\. ]+)(:([0-9 ]{1,5}))?/ , window.l ocation.pr otocol + " //" + wind ow.locatio n.host);  
        31            c rmServerUr l = crmSer verUrl.rep lace(/\/$/ , ""); //  remove tra iling slas h if any  
        32        }
        33     
        34       return  crmServer Url; 
        35   },
        36  
        37  
        38   OpenConfig uration: f unction()
        39   {
        40      var con figuration Id = N52.H elpers.Get Configurat ionId();
        41         if ( configurat ionId != n ull)             
        42         {
        43              var server UrlFinal =  N52.Helpe rs.GetServ erUrl() +  '/main.asp x?etn=nort h52_config uration&pa getype=ent ityrecord& id=' + '%7 B'+ config urationId+ '%7D'
        44  
        45              window.ope n(serverUr lFinal);
        46          }
        47  
        48   },
        49  
        50  
        51   GetConfigu rationId:  function()
        52   {
        53        OData Path = N52 .Helpers.G etServerUr l() + "/XR MServices/ 2011/Organ izationDat a.svc";
        54  
        55        var r etrieveRec ordsReq =  new XMLHtt pRequest() ;
        56        var c onfigurati onId = nul l;        
        57  
        58        retri eveRecords Req.open(' GET', ODat aPath+"/no rth52_conf igurationS et",false) ;
        59        retri eveRecords Req.setReq uestHeader ("Accept",  "applicat ion/json") ;
        60        retri eveRecords Req.setReq uestHeader ("Content- Type", "ap plication/ json; char set=utf-8" );
        61        retri eveRecords Req.send() ;
        62  
        63        var n 52config =   JSON.par se(retriev eRecordsRe q.response Text).d.re sults;
        64        
        65        if (n 52config[0 ] == null)  {
        66                 alert(" The North5 2 configur ation reco rd could n ot be foun d. This is  probably  because yo u have not  yet accep ted the li cense. Ple ase naviga te to the  North52 So lution, cl ick on the  Informati on link &  then accep t the lice nse which  will creat e the conf iguration  record. ") ;
        67         }
        68         else  {
        69                         configurat ionId= n52 config[0]. north52_co nfiguratio nId;
        70                  }
        71      return  configurat ionId;
        72   },
        73  
        74   SearchTrac eLog: func tion()
        75   {   
        76      var fin alUrl = N5 2.Helpers. GetServerU rl() + '/a dvancedfin d/advfind. aspx?etn=n orth52_tra ce';
        77      window. open(final Url);
        78   },
        79  
        80  
        81  
        82   CallComman dStartSche dule: func tion(comma nd, record id)
        83   {
        84  
        85   try{
        86           
        87       if (re cordid ==  null) {
        88               alert('No rth52 Form ula Manage r : Please  select a  Schedule t o start.') ;
        89       }
        90       else i f ( naviga tor.userAg ent.search ('iPad') >  0)
        91           al ert("North 52 Formula  Manager:  Feature no t supporte d on this  device.");
        92        else 
        93       {
        94          var  finalUrl  = N52.Help ers.GetSer verUrl() +  '/WebReso urces/nort h52_html_s chedule_pr ocessing?i d=' +recor did + '&da ta=' + com mand;
        95  
        96              if ( (navi gator.user Agent.sear ch('MSIE')  > 0) || ( navigator. userAgent. search('Tr ident/') >  0) )
        97                   windo w.showModa lDialog(fi nalUrl, se lf, 'dialo gWidth: 40 0px;dialog Height:200 px');
        98           el se
        99                   windo w.open(fin alUrl, sel f, 'top=30 0, left=30 0, width=4 00, height =200');
        100  
        101          
        102       }
        103       
        104    }
        105    catch (ex )
        106    {
        107      alert(' North52 Fo rmula Mana ger Fail:  ' + ex.mes sage);
        108    }
        109  
        110   },
        111  
        112  
        113   CallComman dStopSched ule: funct ion(comman d, recordi d)
        114   {
        115  
        116   try{
        117           
        118       if (re cordid ==  null) {
        119               alert('No rth52 Form ula Manage r : Please  select a  Schedule t o stop.');
        120       }
        121       else i f ( naviga tor.userAg ent.search ('iPad') >  0)
        122           al ert("North 52 Formula  Manager:  Feature no t supporte d on this  device.");
        123       else 
        124       {
        125          var  finalUrl  = N52.Help ers.GetSer verUrl() +  '/WebReso urces/nort h52_html_s chedule_pr ocessing?i d=' +recor did + '&da ta=' + com mand;
        126  
        127              if ( (navi gator.user Agent.sear ch('MSIE')  > 0) || ( navigator. userAgent. search('Tr ident/') >  0) )
        128                   windo w.showModa lDialog(fi nalUrl, se lf, 'dialo gWidth: 40 0px;dialog Height:200 px');
        129           el se
        130                   windo w.open(fin alUrl, sel f, 'top=30 0, left=30 0, width=4 00, height =200');
        131  
        132       }
        133       
        134    }
        135    catch (ex )
        136    {
        137      alert(' North52 Fo rmula Mana ger Fail:  ' + ex.mes sage);
        138    }
        139  
        140   },
        141  
        142  
        143   CallComman dCloneSche dule: func tion(comma nd, record id)
        144   {
        145  
        146   try{
        147           
        148       if (re cordid ==  null) {
        149               alert('No rth52 Form ula Manage r : Please  select a  Schedule t o clone.') ;
        150       }
        151       else i f ( naviga tor.userAg ent.search ('iPad') >  0)
        152           al ert("North 52 Formula  Manager:  Feature no t supporte d on this  device.");
        153        else 
        154       {
        155          var  finalUrl  = N52.Help ers.GetSer verUrl() +  '/WebReso urces/nort h52_html_c lone_sched ule?id=' + recordid +  '&data='  + command;
        156  
        157                if ( (na vigator.us erAgent.se arch('MSIE ') > 0) ||  (navigato r.userAgen t.search(' Trident/')  > 0) )
        158                   windo w.showModa lDialog(fi nalUrl, se lf, 'dialo gWidth: 40 0px;dialog Height:200 px');
        159           el se
        160                   windo w.open(fin alUrl, sel f, 'top=30 0, left=30 0, width=4 00, height =200');
        161       }
        162       
        163    }
        164    catch (ex )
        165    {
        166      alert(' North52 Fo rmula Mana ger Fail:  ' + ex.mes sage);
        167    }
        168  
        169   },
        170  
        171   CallComman dBuildSche dule: func tion(comma nd, record id)
        172   {
        173  
        174   try{
        175           
        176       if (re cordid ==  null) {
        177               alert('No rth52 Form ula Manage r : Please  select a  Schedule t o build.') ;
        178       }
        179       else 
        180       {
        181               var final Url = N52. Helpers.Ge tServerUrl () + '/Web Resources/ north52_ht ml_buildsu bschedule? id=' +reco rdid + '&d ata=' + co mmand;
        182  
        183               if ( (nav igator.use rAgent.sea rch('MSIE' ) > 0) ||  (navigator .userAgent .search('T rident/')  > 0) )
        184                   windo w.showModa lDialog(fi nalUrl, se lf, 'dialo gWidth: 40 0px;dialog Height:275 px');
        185           el se
        186                   windo w.open(fin alUrl, sel f, 'top=30 0, left=30 0, width=4 00, height =275');
        187            
        188       }
        189       
        190    }
        191    catch (ex )
        192    {
        193      alert(' North52 Fo rmula Mana ger Fail:  ' + ex.mes sage);
        194    }
        195  
        196   },
        197  
        198    showHelp:  function  ()
        199    {                   
        200           al ert('North 52 Formula  Manager:  Online hel p coming s oon...');
        201     }
        202  
        203   }
        204  
        205   if (!this. JSON) { th is.JSON =  {}; } (fun ction () {  function  f(n) { ret urn n < 10  ? '0' + n  : n; } if  (typeof D ate.protot ype.toJSON  !== 'func tion') { D ate.protot ype.toJSON  = functio n (key) {  return isF inite(this .valueOf() ) ? this.g etUTCFullY ear() + '- ' + f(this .getUTCMon th() + 1)  + '-' + f( this.getUT CDate()) +  'T' + f(t his.getUTC Hours()) +  ':' + f(t his.getUTC Minutes())  + ':' + f (this.getU TCSeconds( )) + 'Z' :  null; };  String.pro totype.toJ SON = Numb er.prototy pe.toJSON  = Boolean. prototype. toJSON = f unction (k ey) { retu rn this.va lueOf(); } ; } var cx  = /[\u000 0\u00ad\u0 600-\u0604 \u070f\u17 b4\u17b5\u 200c-\u200 f\u2028-\u 202f\u2060 -\u206f\uf eff\ufff0- \uffff]/g,  escapable  = /[\\\"\ x00-\x1f\x 7f-\x9f\u0 0ad\u0600- \u0604\u07 0f\u17b4\u 17b5\u200c -\u200f\u2 028-\u202f \u2060-\u2 06f\ufeff\ ufff0-\uff ff]/g, gap , indent,  meta = { ' \b': '\\b' , '\t': '\ \t', '\n':  '\\n', '\ f': '\\f',  '\r': '\\ r', '"': ' \\"', '\\' : '\\\\' } , rep; fun ction quot e(string)  { escapabl e.lastInde x = 0; ret urn escapa ble.test(s tring) ? ' "' + strin g.replace( escapable,  function  (a) { var  c = meta[a ]; return  typeof c = == 'string ' ? c : '\ \u' + ('00 00' + a.ch arCodeAt(0 ).toString (16)).slic e(-4); })  + '"' : '" ' + string  + '"'; }  function s tr(key, ho lder) { va r i, k, v,  length, m ind = gap,  partial,  value = ho lder[key];  if (value  && typeof  value ===  'object'  && typeof  value.toJS ON === 'fu nction') {  value = v alue.toJSO N(key); }  if (typeof  rep === ' function')  { value =  rep.call( holder, ke y, value);  } switch  (typeof va lue) { cas e 'string' : return q uote(value ); case 'n umber': re turn isFin ite(value)  ? String( value) : ' null'; cas e 'boolean ': case 'n ull': retu rn String( value); ca se 'object ': if (!va lue) { ret urn 'null' ; } gap +=  indent; p artial = [ ]; if (Obj ect.protot ype.toStri ng.apply(v alue) ===  '[object A rray]') {  length = v alue.lengt h; for (i  = 0; i < l ength; i + = 1) { par tial[i] =  str(i, val ue) || 'nu ll'; } v =  partial.l ength ===  0 ? '[]' :  gap ? '[\ n' + gap +  partial.j oin(',\n'  + gap) + ' \n' + mind  + ']' : ' [' + parti al.join(', ') + ']';  gap = mind ; return v ; } if (re p && typeo f rep ===  'object')  { length =  rep.lengt h; for (i  = 0; i < l ength; i + = 1) { k =  rep[i]; i f (typeof  k === 'str ing') { v  = str(k, v alue); if  (v) { part ial.push(q uote(k) +  (gap ? ':  ' : ':') +  v); } } }  } else {  for (k in  value) { i f (Object. hasOwnProp erty.call( value, k))  { v = str (k, value) ; if (v) {  partial.p ush(quote( k) + (gap  ? ': ' : ' :') + v);  } } } } v  = partial. length ===  0 ? '{}'  : gap ? '{ \n' + gap  + partial. join(',\n'  + gap) +  '\n' + min d + '}' :  '{' + part ial.join(' ,') + '}';  gap = min d; return  v; } } if  (typeof JS ON.stringi fy !== 'fu nction') {  JSON.stri ngify = fu nction (va lue, repla cer, space ) { var i;  gap = '';  indent =  ''; if (ty peof space  === 'numb er') { for  (i = 0; i  < space;  i += 1) {  indent +=  ' '; } } e lse if (ty peof space  === 'stri ng') { ind ent = spac e; } rep =  replacer;  if (repla cer && typ eof replac er !== 'fu nction' &&  (typeof r eplacer != = 'object'  || typeof  replacer. length !==  'number') ) { throw  new Error( 'JSON.stri ngify'); }  return st r('', { '' : value }) ; }; } if  (typeof JS ON.parse ! == 'functi on') { JSO N.parse =  function ( text, revi ver) { var  j; functi on walk(ho lder, key)  { var k,  v, value =  holder[ke y]; if (va lue && typ eof value  === 'objec t') { for  (k in valu e) { if (O bject.hasO wnProperty .call(valu e, k)) { v  = walk(va lue, k); i f (v !== u ndefined)  { value[k]  = v; } el se { delet e value[k] ; } } } }  return rev iver.call( holder, ke y, value);  } text =  String(tex t); cx.las tIndex = 0 ; if (cx.t est(text))  { text =  text.repla ce(cx, fun ction (a)  { return ' \\u' + ('0 000' + a.c harCodeAt( 0).toStrin g(16)).sli ce(-4); }) ; } if (/^ [\],:{}\s] *$/.test(t ext.replac e(/\\(?:[" \\\/bfnrt] |u[0-9a-fA -F]{4})/g,  '@').repl ace(/"[^"\ \\n\r]*"|t rue|false| null|-?\d+ (?:\.\d*)? (?:[eE][+\ -]?\d+)?/g , ']').rep lace(/(?:^ |:|,)(?:\s *\[)+/g, ' '))) { j =  eval('('  + text + ' )'); retur n typeof r eviver ===  'function ' ? walk({  '': j },  '') : j; }  throw new  SyntaxErr or('JSON.p arse'); };  } } ());