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

335.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_javascriptnorth52config6B4BC5E9-2D2F-E111-BDB9-00155DF5B00D Mon Sep 19 18:20:18 2016 UTC

335.2 Comparison summary

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

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

335.4 Active regular expressions

No regular expressions were active.

335.5 Comparison detail

        1   // JScript  source co de
        2   var ODataP ath;
        3   var North5 2ConfigId;
        4   var North5 2ConfigDat aSet;
        5   var Config Created
        6  
        7  
        8   $(function  () {
        9       Initia liseNorth5 2Config();
        10   });
        11  
        12  
        13   //******** *****Initi alisation  Section*** ********** *
        14   function I nitialiseN orth52Conf ig() {
        15       // Det ermine the  path to t he REST en dpoint
        16         $('# ienote').h ide();
        17         ODat aPath = N5 2.DialogHe lpers.GetS erverUrl()  + "/XRMSe rvices/201 1/Organiza tionData.s vc";
        18         
        19         Retr ieveNorth5 2Config();
        20   }
        21  
        22  
        23   function C reateNorth 52Config()  {
        24       //Call s the REST  endpoint  to Create  a new Nort h52 Config
        25       var js onNorth52C onfig = wi ndow.JSON. stringify( GetNorth52 ConfigFrom UI());
        26  
        27       $.ajax ({ type: " POST",
        28           co ntentType:  "applicat ion/json;  charset=ut f-8",
        29           da tatype: "j son",
        30           ur l: ODataPa th + "/nor th52_confi gurationSe t",
        31           da ta: jsonNo rth52Confi g,
        32           be foreSend:  function ( XMLHttpReq uest) {XML HttpReques t.setReque stHeader(" Accept", " applicatio n/json");
        33           },
        34           su ccess: fun ction (dat a, textSta tus, XmlHt tpRequest)  {
        35               North52Co nfigId = d ata.d.nort h52_config urationId;
        36               DisplaySu ccess("A N orth52 BPA  license h as been in stalled.    ", true);
        37               CallComma ndSetupBul kDelete(No rth52Confi gId);
        38           },
        39           er ror: funct ion (XmlHt tpRequest,  textStatu s, errorTh rown) {
        40                //This f unction wi ll trigger  asyncrono usly if th e Create r eturned an  error
        41              DisplayErr or("North5 2 License  Configurat ion Failed .");
        42           }
        43       });
        44  
        45     
        46   }
        47  
        48   function R etrieveNor th52Config () {
        49     
        50       $.ajax ({
        51           ty pe: "GET",
        52           co ntentType:  "applicat ion/json;  charset=ut f-8",
        53           da tatype: "j son",
        54           ur l: ODataPa th + "/nor th52_confi gurationSe t",
        55  
        56           be foreSend:  function ( XMLHttpReq uest) {
        57                //Specif ying this  header ens ures that  the result s will be  returned a s JSON.      
        58                XMLHttpR equest.set RequestHea der("Accep t", "appli cation/jso n");
        59           },
        60           su ccess: fun ction (dat a, textSta tus, XmlHt tpRequest)  {
        61                //This f unction wi ll trigger  asynchron ously if t he Retriev e was succ essful
        62                var n52c onfig = da ta.d.resul ts;
        63                if (n52c onfig[0] = = null) {
        64                    Conf igCreated  = false;
        65                    $('# ContinueBt n').show() ;
        66                    $('# DeclineBtn ').show();
        67                    $('# info').hid e(); 
        68                    $('# ienote').h ide();
        69                    $('# progress') .hide(); 
        70                }
        71                else {
        72                         North52Con figId = n5 2config[0] .north52_c onfigurati onId;
        73                         DisplaySuc cess("A No rth52 BPA  license ha s been ins talled.    ", false);
        74                  }
        75  
        76           },
        77           er ror: funct ion (XmlHt tpRequest,  textStatu s, errorTh rown) {
        78                //This f unction wi ll trigger  asynchron ously if t he Retriev e returned  an error
        79                DisplayE rror("Nort h52 Licens e Configur ation Fail ed.");
        80           }
        81       });
        82  
        83   }
        84  
        85   function G etNorth52C onfigFromU I()
        86    {
        87  
        88       var no rth52confi g = new Ob ject();
        89  
        90       north5 2config.no rth52_name  = 'North5 2 Configur ation';
        91       north5 2config.no rth52_FM_R efreshCach eIntervalS ecs = 30;
        92       north5 2config.no rth52_FM_L icenseAcce pted = tru e;
        93      
        94       
        95       return  north52co nfig;
        96  
        97   }
        98  
        99  
        100  
        101   function S aveNorth52 Config()
        102   {
        103           $( '#Continue Btn').hide ();
        104           $( '#DeclineB tn').hide( );
        105           $( '#progress ').show();  
        106  
        107           Cr eateNorth5 2Config();
        108   }
        109  
        110   function C onvertNull String(inp utString)  {
        111       //Conv ert any nu ll values  returned b y JQuery i nto string s expected  by MS-CRM
        112       if (in putString  == null) {
        113           re turn "";
        114       }
        115       else {
        116           re turn input String;
        117       }
        118   }
        119  
        120   function C learOutcom eLabel() {
        121       //Clea rs the sta tus label 
        122       $('#Ou tcomeLbl') .text("");
        123   }
        124  
        125   function D isplayErro r(errorMes sage) {
        126       $('#Ou tcomeLbl') .text(erro rMessage);
        127       $('#Ou tcomeLbl') .css("colo r", "Red") ;
        128  
        129       var se rverUrlFin al = "http ://support .north52.c om/knowled gebase/art icles/3918 63-how-to- resolving- accept-lic ense-issue ";
        130       $('#in fo').click (function( ) { window .open(serv erUrlFinal ); return  false; });
        131       $('#in fo').text( 'Click her e for trou bleshootin g article' )
        132       $('#in fo').show( );
        133       $('#pr ogress').h ide(); 
        134   }
        135  
        136   function D isplaySucc ess(succes sMessage,  siteMapMes sage) {
        137       $('#Ou tcomeLbl') .text(succ essMessage );
        138       $('#Ou tcomeLbl') .css("colo r", "Green ");
        139       
        140      
        141       var se rverUrlFin al = N52.D ialogHelpe rs.GetServ erUrl() +  '/main.asp x?etn=nort h52_config uration&pa getype=ent ityrecord& id=' + '%7 B'+ North5 2ConfigId+ '%7D'
        142  
        143       $('#in fo').click (function( ) { if (wi ndow.paren t.Xrm.Util ity) {wind ow.parent. Xrm.Utilit y.openEnti tyForm('no rth52_conf iguration' ,North52Co nfigId );}  else {win dow.open(s erverUrlFi nal);} ret urn false;  });
        144       $('#in fo').text( 'Open the  North52 Co nfiguratio n record.' )
        145  
        146       var se rverUrlFin alHome = " north52_ht ml_bpa";
        147       $('#in fo2').clic k(function () { windo w.open(ser verUrlFina lHome); re turn false ;  });
        148       $('#in fo2').text ('Navigate  to the No rth52 BPA  Home Page. ')
        149  
        150  
        151       $('#ie note').sho w();
        152       $('#in fo').show( );
        153       $('#in fo2').show ();
        154       $('#pr ogress').h ide(); 
        155       $('#li cense').hi de(); 
        156     
        157       if (si teMapMessa ge == true )  
        158           $( '#siteMap' ).show();
        159       
        160   }
        161  
        162  
        163   function C allCommand SetupBulkD elete(conf igurationI d)
        164   {
        165  
        166     var conf iguration  = {};
        167     configur ation.nort h52_Comman d = {"__me tadata": { "type": "M icrosoft.C rm.Sdk.Dat a.Services .OptionSet Value"}, " Value": 21 7890002};
        168  
        169     SDK.JQue ry.updateR ecord(
        170          con figuration Id,
        171          con figuration ,
        172          "no rth52_conf iguration"
        173          con figSuccess ,
        174          con figError
        175      );
        176  
        177   }
        178  
        179   function c onfigSucce ss()
        180   {
        181   }
        182  
        183   function c onfigError (error)
        184   {
        185  
        186      var msg  = error;
        187   }