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

322.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_javascripteditortargetpropertyA0677933-272B-E611-8C6D-00155D011502 Mon Sep 19 18:20:18 2016 UTC

322.2 Comparison summary

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

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

322.4 Active regular expressions

No regular expressions were active.

322.5 Comparison detail

        1   if (typeof  North52 = = 'undefin ed') { Nor th52 = {};  }
        2   if (typeof  North52.T argetPrope rty == 'un defined')  { North52. TargetProp erty = {};  }
        3  
        4   var Target Property =  {}; 
        5   TargetProp erty.paren tReference Property =  "";
        6   TargetProp erty.Cache Key = "";
        7  
        8   North52.Ta rgetProper ty.Disable = function () {  
        9      $("#tar getpropert y").attr(" disabled",  true);
        10   }
        11  
        12   North52.Ta rgetProper ty.Load= f unction(ty pe, entity , parentRe ferencePro perty, add AllPropert iesQuery)  {  
        13     
        14      $("#tar getpropert y").hide() ;
        15     
        16          if  (type == ' load')
        17          {
        18               TargetPro perty.pare ntReferenc eProperty  = parentRe ferencePro perty ;
        19  
        20               North52.T argetPrope rty.LoadLo cal(entity  , parentR eferencePr operty , a ddAllPrope rtiesQuery );
        21          }
        22          els e if (type  == 'query ')
        23          {
        24                 TargetP roperty.pa rentRefere ncePropert y = parent ReferenceP roperty ;
        25  
        26                 North52 .TargetPro perty.Load FromQuery( addAllProp ertiesQuer y); 
        27          }
        28          els e if (type  == 'clear ')
        29              North52.Ta rgetProper ty.Clear()
        30    }
        31  
        32         
        33  
        34  
        35      
        36  
        37   North52.Ta rgetProper ty.Clear=  function()  {  
        38      $("sele ct[id$=tar getpropert y] > optio n").remove ();
        39      N52.HTM LWebResour ceHelper.I nsertOptio nSetItem(" targetprop erty", "", "");
        40  
        41      $('#loa ding-targe tproperty' ).hide(); 
        42      $('#tar getpropert y').show()
        43  
        44   }
        45  
        46   North52.Ta rgetProper ty.Sort =  function(a , b) {  
        47      
        48     if (a.in nerHTML ==  'All Prop erties') {
        49          ret urn -1;
        50     }
        51     else if  (b.innerHT ML == 'All  Propertie s') {
        52        retur n 1;
        53     }
        54  
        55     return ( a.innerHTM L > b.inne rHTML ) ?  1 : -1;
        56   }
        57  
        58   North52.Ta rgetProper ty.LoadLoc al = funct ion(entity , parentRe ferencePro perty, add AllPropert ies) {  
        59  
        60      TargetP roperty.pa rentRefere ncePropert y = parent ReferenceP roperty;
        61      TargetP roperty.Ca cheKey = ' SingleEnti ty' + pare nt.Xrm.Pag e.context. getOrgUniq ueName() +  entity;
        62  
        63  
        64            S DK.Metadat a.Retrieve Entity(SDK .Metadata. EntityFilt ers.Attrib utes, enti ty, null,  false, fun ction (ent ityMetadat a) {
        65   North52.Ta rgetProper ty.success RetrieveAt tributes(e ntityMetad ata, paren tReference Property,  addAllProp erties); } , North52. TargetProp erty.error RetrieveAt tributes);
        66     };
        67  
        68  
        69  
        70   North52.Ta rgetProper ty.success RetrieveAt tributes =  function( entityMeta data,paren tReference Property,  addAllProp erties ) {   
        71  
        72    try
        73    {
        74  
        75      $("sele ct[id$=tar getpropert y] > optio n").remove ();
        76  
        77      if (add AllPropert ies == tru e) {
        78         N52. HTMLWebRes ourceHelpe r.InsertOp tionSetIte m("targetp roperty",  "All Prope rties","") ;
        79      }
        80  
        81      if (ent ityMetadat a.Attribut es != null )
        82      {
        83  
        84     for (var  i = 0; i  < entityMe tadata.Att ributes.le ngth; i++)
        85     {
        86       var at tribute =  entityMeta data.Attri butes[i];
        87  
        88       if (at tribute.Di splayName. UserLocali zedLabel ! = null)     
        89         {
        90               if (attri bute.Displ ayName.Use rLocalized Label.Labe l != null)
        91                 {
        92                         text = att ribute.Dis playName.U serLocaliz edLabel.La bel
        93                         value = at tribute.Lo gicalName;
        94  
        95                      N5 2.HTMLWebR esourceHel per.Insert OptionSetI tem('targe tproperty' , text,val ue);
        96                 }
        97           }
        98       }  
        99     }
        100  
        101       $("#ta rgetproper ty option" ).sort(Nor th52.Targe tProperty. Sort).appe ndTo("#tar getpropert y");
        102       curren tAttribute  = parent. Xrm.Page.g etAttribut e(parentRe ferencePro perty).get Value();
        103       if (cu rrentAttri bute !== n ull && cur rentAttrib ute!=="")  {  
        104                 $("#tar getpropert y").val(cu rrentAttri bute);
        105                North52. TargetProp erty.DropD ownChanged (currentAt tribute  ) ;
        106         }
        107        else  {
        108           $( '#targetpr operty opt ion:first- child').at tr("select ed", "sele cted");         
        109           cu rrentAttri bute = $(" #targetpro perty opti on:selecte d").val();
        110           No rth52.Targ etProperty .DropDownC hanged(cur rentAttrib ute  );
        111       }
        112  
        113         $('# loading-ta rgetproper ty').hide( ); 
        114         $('# targetprop erty').sho w(); 
        115  
        116    }
        117    catch(ex)  
        118    {
        119      alert(' North52 Fo rmula Mana ger Except ion: ' + e x.message) ;
        120    }
        121  
        122   };
        123  
        124  
        125   North52.Ta rgetProper ty.errorRe trieveAttr ibutes = f unction(er ror) {  
        126       alert( "North52 F ormula Man ager : " +  error.mes sage);
        127     };
        128  
        129   North52.Ta rgetProper ty.DropDow nChanged=  function(v alue) {  
        130       if (va lue !== nu ll) { 
        131           pa rent.Xrm.P age.data.e ntity.attr ibutes.get (TargetPro perty.pare ntReferenc eProperty) .setValue( value); 
        132        }
        133   } ; 
        134  
        135   North52.Ta rgetProper ty.Reset=  function()  {  
        136    
        137           $( '#targetpr operty opt ion:first- child').at tr("select ed", "sele cted");      
        138   } ; 
        139  
        140   North52.Ta rgetProper ty.LoadFro mQuery = f unction(qu ery) {  
        141  
        142      $("sele ct[id$=tar getpropert y] > optio n").remove ();
        143  
        144     
        145  
        146      var att ributes =  query.spli t(',');
        147                      
        148      for (va r i = 0; i  < attribu tes.length ; i++) 
        149      {
        150  
        151        N52.H TMLWebReso urceHelper .InsertOpt ionSetItem ('targetpr operty', a ttributes[ i],attribu tes[i]);
        152  
        153        }  
        154  
        155      $("#tar getpropert y option") .sort(Nort h52.Target Property.S ort).appen dTo("#targ etproperty ");   
        156  
        157       curren tAttribute   = parent .Xrm.Page. getAttribu te("north5 2_targeten tityproper ty").getVa lue();
        158       if (cu rrentAttri bute !== n ull && cur rentAttrib ute!=="")  {  
        159                 $("#tar getpropert y").val(cu rrentAttri bute);
        160                 North52 .TargetPro perty.Drop DownChange d(currentA ttribute);
        161         }
        162        else  {
        163           $( '#targetpr operty opt ion:first- child').at tr("select ed", "sele cted");         
        164           cu rrentAttri bute = $(" #targetpro perty opti on:selecte d").val();
        165           No rth52.Targ etProperty .DropDownC hanged(cur rentAttrib ute  );
        166       }
        167  
        168     
        169     $('#load ing-target property') .hide(); 
        170     $('#targ etproperty ').show();  
        171   };