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

332.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_javascriptn52restAE7D562B-5F69-E211-BEE9-00155DF5B00D Mon Sep 19 18:20:18 2016 UTC

332.2 Comparison summary

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

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

332.4 Active regular expressions

No regular expressions were active.

332.5 Comparison detail

        1   "undefined "==typeof  N52&&(N52= {__namespa ce:!0}),N5 2.REST={_c ontext:fun ction(){if ("undefine d"!=typeof  GetGlobal Context)re turn GetGl obalContex t();if("un defined"!= typeof Xrm )return Xr m.Page.con text;throw  new Error ("Context  is not ava ilable.")} ,_getServe rUrl:funct ion(){var  e="Unknown ";return"u ndefined"! =typeof th is._contex t().getCli entUrl?e=t his._conte xt().getCl ientUrl(): "undefined "!=typeof  this._cont ext().getS erverUrl&& (e=this._c ontext().g etServerUr l(),e=e.re place(/^(h ttp|https) :\/\/([_a- zA-Z0-9\-\ .]+)(:([0- 9]{1,5}))? /,window.l ocation.pr otocol+"// "+window.l ocation.ho st),e=e.re place(/\/$ /,"")),e}, _ODataPath :function( ){return t his._getSe rverUrl()+ "/XRMServi ces/2011/O rganizatio nData.svc/ "},_errorH andler:fun ction(e){i f(12029==e .status)re turn new E rror("The  attempt to  connect t o the serv er failed. ");if(1200 7==e.statu s)return n ew Error(" The server  name coul d not be r esolved.") ;var t;try {t=N52JSON .parse(e.r esponseTex t).error.m essage.val ue}catch(r ){t=e.resp onseText}r eturn new  Error("Err or : "+e.s tatus+": " +e.statusT ext+": "+t )},_dateRe viver:func tion(e,t){ var r;retu rn"string" ==typeof t &&(r=/Date \(([-+]?\d +)\)/.exec (t))?new D ate(parseI nt(t.repla ce("/Date( ","").repl ace(")/"," "),10)):t} ,_paramete rCheck:fun ction(e,t) {if("undef ined"==typ eof e||nul l===e)thro w new Erro r(t)},_str ingParamet erCheck:fu nction(e,t ){if("stri ng"!=typeo f e)throw  new Error( t)},_callb ackParamet erCheck:fu nction(e,t ){if("func tion"!=typ eof e)thro w new Erro r(t)},crea teRecord:f unction(e, t,r,a){thi s._paramet erCheck(e, "N52.REST. createReco rd require s the obje ct paramet er."),this ._stringPa rameterChe ck(t,"N52. REST.creat eRecord re quires the  type para meter is a  string.") ,this._cal lbackParam eterCheck( r,"N52.RES T.createRe cord requi res the su ccessCallb ack is a f unction.") ,this._cal lbackParam eterCheck( a,"N52.RES T.createRe cord requi res the er rorCallbac k is a fun ction.");v ar s=new X MLHttpRequ est;s.open ("POST",en codeURI(th is._ODataP ath()+t+"S et"),!0),s .setReques tHeader("A ccept","ap plication/ json"),s.s etRequestH eader("Con tent-Type" ,"applicat ion/json;  charset=ut f-8"),s.on readystate change=fun ction(){4= =this.read yState&&(2 01==this.s tatus?r(N5 2JSON.pars e(this.res ponseText, N52.REST._ dateRevive r).d):a(N5 2.REST._er rorHandler (this)))}, s.send(N52 JSON.strin gify(e))}, retrieveRe cord:funct ion(e,t,r, a,s,i){thi s._stringP arameterCh eck(e,"N52 .REST.retr ieveRecord  requires  the id par ameter is  a string." ),this._st ringParame terCheck(t ,"N52.REST .retrieveR ecord requ ires the t ype parame ter is a s tring."),n ull!=r&&th is._string ParameterC heck(r,"N5 2.REST.ret rieveRecor d requires  the selec t paramete r is a str ing."),nul l!=a&&this ._stringPa rameterChe ck(a,"N52. REST.retri eveRecord  requires t he expand  parameter  is a strin g."),this. _callbackP arameterCh eck(s,"N52 .REST.retr ieveRecord  requires  the succes sCallback  parameter  is a funct ion."),thi s._callbac kParameter Check(i,"N 52.REST.re trieveReco rd require s the erro rCallback  parameter  is a funct ion.");var  n="";if(n ull!=r||nu ll!=a){if( n="?",null !=r){var c ="$select= "+r;null!= a&&(c=c+", "+a),n+=c} null!=a&&( n=n+"&$exp and="+a)}v ar o=new X MLHttpRequ est;o.open ("GET",enc odeURI(thi s._ODataPa th()+t+"Se t(guid'"+e +"')"+n),! 0),o.setRe questHeade r("Accept" ,"applicat ion/json") ,o.setRequ estHeader( "Content-T ype","appl ication/js on; charse t=utf-8"), o.onreadys tatechange =function( ){4==this. readyState &&(200==th is.status? s(N52JSON. parse(this .responseT ext,N52.RE ST._dateRe viver).d): i(N52.REST ._errorHan dler(this) ))},o.send ()},update Record:fun ction(e,t, r,a,s){thi s._stringP arameterCh eck(e,"N52 .REST.upda teRecord r equires th e id param eter."),th is._parame terCheck(t ,"N52.REST .updateRec ord requir es the obj ect parame ter."),thi s._stringP arameterCh eck(r,"N52 .REST.upda teRecord r equires th e type par ameter."), this._call backParame terCheck(a ,"N52.REST .updateRec ord requir es the suc cessCallba ck is a fu nction."), this._call backParame terCheck(s ,"N52.REST .updateRec ord requir es the err orCallback  is a func tion.");va r i=new XM LHttpReque st;i.open( "POST",enc odeURI(thi s._ODataPa th()+r+"Se t(guid'"+e +"')"),!0) ,i.setRequ estHeader( "Accept"," applicatio n/json"),i .setReques tHeader("C ontent-Typ e","applic ation/json ; charset= utf-8"),i. setRequest Header("X- HTTP-Metho d","MERGE" ),i.onread ystatechan ge=functio n(){4==thi s.readySta te&&(204== this.statu s||1223==t his.status ?a():s(N52 .REST._err orHandler( this)))},i .send(N52J SON.string ify(t))},d eleteRecor d:function (e,t,r,a){ this._stri ngParamete rCheck(e," N52.REST.d eleteRecor d requires  the id pa rameter.") ,this._str ingParamet erCheck(t, "N52.REST. deleteReco rd require s the type  parameter ."),this._ callbackPa rameterChe ck(r,"N52. REST.delet eRecord re quires the  successCa llback is  a function ."),this._ callbackPa rameterChe ck(a,"N52. REST.delet eRecord re quires the  errorCall back is a  function." );var s=ne w XMLHttpR equest;s.o pen("POST" ,encodeURI (this._ODa taPath()+t +"Set(guid '"+e+"')") ,!0),s.set RequestHea der("Accep t","applic ation/json "),s.setRe questHeade r("Content -Type","ap plication/ json; char set=utf-8" ),s.setReq uestHeader ("X-HTTP-M ethod","DE LETE"),s.o nreadystat echange=fu nction(){4 ==this.rea dyState&&( 204==this. status||12 23==this.s tatus?r(): a(N52.REST ._errorHan dler(this) ))},s.send ()},retrie veMultiple Records:fu nction(e,t ,r,a,s){th is._string ParameterC heck(e,"N5 2.REST.ret rieveMulti pleRecords  requires  the type p arameter i s a string ."),null!= t&&this._s tringParam eterCheck( t,"N52.RES T.retrieve MultipleRe cords requ ires the o ptions par ameter is  a string." ),this._ca llbackPara meterCheck (r,"N52.RE ST.retriev eMultipleR ecords req uires the  successCal lback para meter is a  function. "),this._c allbackPar ameterChec k(a,"N52.R EST.retrie veMultiple Records re quires the  errorCall back param eter is a  function." ),this._ca llbackPara meterCheck (s,"N52.RE ST.retriev eMultipleR ecords req uires the  OnComplete  parameter  is a func tion.");va r i;null!= t&&(i="?"! =t.charAt( 0)?"?"+t:t );var n=ne w XMLHttpR equest;n.o pen("GET", this._ODat aPath()+e+ "Set"+i,!0 ),n.setReq uestHeader ("Accept", "applicati on/json"), n.setReque stHeader(" Content-Ty pe","appli cation/jso n; charset =utf-8"),n .onreadyst atechange= function() {if(4==thi s.readySta te)if(200= =this.stat us){var t= N52JSON.pa rse(this.r esponseTex t,N52.REST ._dateRevi ver).d;if( r(t.result s),null!=t .__next){v ar i=t.__n ext.substr ing((N52.R EST._OData Path()+e+" Set").leng th);N52.RE ST.retriev eMultipleR ecords(e,i ,r,a,s)}el se s()}els e a(N52.RE ST._errorH andler(thi s))},n.sen d()},retri eveMultipl eRecordsSy nc:functio n(e,t,r,a, s){this._s tringParam eterCheck( e,"N52.RES T.retrieve MultipleRe cords requ ires the t ype parame ter is a s tring."),n ull!=t&&th is._string ParameterC heck(t,"N5 2.REST.ret rieveMulti pleRecords  requires  the option s paramete r is a str ing."),thi s._callbac kParameter Check(r,"N 52.REST.re trieveMult ipleRecord s requires  the succe ssCallback  parameter  is a func tion."),th is._callba ckParamete rCheck(a," N52.REST.r etrieveMul tipleRecor ds require s the erro rCallback  parameter  is a funct ion."),thi s._callbac kParameter Check(s,"N 52.REST.re trieveMult ipleRecord s requires  the OnCom plete para meter is a  function. ");var i;n ull!=t&&(i ="?"!=t.ch arAt(0)?"? "+t:t);var  n=new XML HttpReques t;n.open(" GET",this. _ODataPath ()+e+"Set" +i,!1),n.s etRequestH eader("Acc ept","appl ication/js on"),n.set RequestHea der("Conte nt-Type"," applicatio n/json; ch arset=utf- 8"),n.onre adystatech ange=funct ion(){if(4 ==this.rea dyState)if (200==this .status){v ar t=N52JS ON.parse(t his.respon seText,N52 .REST._dat eReviver). d;if(r(t.r esults),nu ll!=t.__ne xt){var i= t.__next.s ubstring(( N52.REST._ ODataPath( )+e+"Set") .length);N 52.REST.re trieveMult ipleRecord s(e,i,r,a, s)}else s( )}else a(N 52.REST._e rrorHandle r(this))}, n.send()}, associateR ecords:fun ction(e,t, r,a,s,i,n) {this._str ingParamet erCheck(e, "N52.REST. associateR ecords req uires the  parentId p arameter i s a string ."),this._ stringPara meterCheck (t,"N52.RE ST.associa teRecords  requires t he parentT ype parame ter is a s tring."),t his._strin gParameter Check(r,"N 52.REST.as sociateRec ords requi res the re lationship Name param eter is a  string."), this._stri ngParamete rCheck(a," N52.REST.a ssociateRe cords requ ires the c hildId par ameter is  a string." ),this._st ringParame terCheck(s ,"N52.REST .associate Records re quires the  childType  parameter  is a stri ng."),this ._callback ParameterC heck(i,"N5 2.REST.ass ociateReco rds requir es the suc cessCallba ck paramet er is a fu nction."), this._call backParame terCheck(n ,"N52.REST .associate Records re quires the  errorCall back param eter is a  function." );var c=ne w XMLHttpR equest;c.o pen("POST" ,encodeURI (this._ODa taPath()+t +"Set(guid '"+e+"')/$ links/"+r) ,!0),c.set RequestHea der("Accep t","applic ation/json "),c.setRe questHeade r("Content -Type","ap plication/ json; char set=utf-8" ),c.onread ystatechan ge=functio n(){4==thi s.readySta te&&(204== this.statu s||1223==t his.status ?i():n(N52 .REST._err orHandler( this)))};v ar o={};o. uri=this._ ODataPath( )+"/"+s+"S et(guid'"+ a+"')",c.s end(N52JSO N.stringif y(o))},dis associateR ecords:fun ction(e,t, r,a,s,i){t his._strin gParameter Check(e,"N 52.REST.di sassociate Records re quires the  parentId  parameter  is a strin g."),this. _stringPar ameterChec k(t,"N52.R EST.disass ociateReco rds requir es the par entType pa rameter is  a string. "),this._s tringParam eterCheck( r,"N52.RES T.disassoc iateRecord s requires  the relat ionshipNam e paramete r is a str ing."),thi s._stringP arameterCh eck(a,"N52 .REST.disa ssociateRe cords requ ires the c hildId par ameter is  a string." ),this._ca llbackPara meterCheck (s,"N52.RE ST.disasso ciateRecor ds require s the succ essCallbac k paramete r is a fun ction."),t his._callb ackParamet erCheck(i, "N52.REST. disassocia teRecords  requires t he errorCa llback par ameter is  a function .");var n= new XMLHtt pRequest;n .open("POS T",encodeU RI(this._O DataPath() +t+"Set(gu id'"+e+"') /$links/"+ r+"(guid'" +a+"')"),! 0),n.setRe questHeade r("Accept" ,"applicat ion/json") ,n.setRequ estHeader( "Content-T ype","appl ication/js on; charse t=utf-8"), n.setReque stHeader(" X-HTTP-Met hod","DELE TE"),n.onr eadystatec hange=func tion(){4== this.ready State&&(20 4==this.st atus||1223 ==this.sta tus?s():i( N52.REST._ errorHandl er(this))) },n.send() },__namesp ace:!0};