Produced by Araxis Merge on 5/9/2017 12:03:00 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Tue May 9 16:03:00 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_html_calculated_hyperlink86112B4F-D83B-E111-BB8A-00155DF5B00D | Mon Sep 19 18:20:18 2016 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 172 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | <html><hea d><title>N orth52 For mula Manag er Calcula ted - Hype rlink</tit le> | |||||
| 2 | <style typ e="text/cs s"> | |||||
| 3 | a {color: #1 160b7; pos ition:abso lute; text -decoratio n:underlin e;font-wei ght:bold; !important ;} | |||||
| 4 | a:link {co lor: #1160 b7; text-d ecoration: underline; font-weigh t:bold; !i mportant;} | |||||
| 5 | a:visited {color: #1 160b7; tex t-decorati on:underli ne;font-we ight:bold; !importan t;} | |||||
| 6 | a:hover {c olor: #116 0b7; text- decoration :underline ;font-weig ht:bold; ! important; } | |||||
| 7 | ||||||
| 8 | html, body { | |||||
| 9 | margin: 0p x; | |||||
| 10 | padding: 0 px; | |||||
| 11 | } | |||||
| 12 | ||||||
| 13 | ||||||
| 14 | </style> | |||||
| 15 | ||||||
| 16 | <script sr c="ClientG lobalConte xt.js.aspx "></script > | |||||
| 17 | ||||||
| 18 | <script ty pe="text/j avascript" src="nort h52_/javas cript/nort h52_dialog _helper">< /script> | |||||
| 19 | ||||||
| 20 | <script ty pe="text/j avascript" src="nort h52_/javas cript/jque ry"></scri pt> | |||||
| 21 | ||||||
| 22 | <script ty pe="text/j avascript" src="nort h52_/javas cript/JSON 2"> | |||||
| 23 | </script> | |||||
| 24 | <link rel= "styleshee t" type="t ext/css" h ref="/_com mon/styles /fonts.css .aspx?lcid =1033"> | |||||
| 25 | <script ty pe="text/j avascript" > | |||||
| 26 | ||||||
| 27 | ||||||
| 28 | function g etQuerystr ing(key) | |||||
| 29 | { | |||||
| 30 | var wo rk = key.r eplace(/[\ []/,"\\\[" ).replace( /[\]]/,"\\ \]"); | |||||
| 31 | var re gex = new RegExp("[\ \?&]"+work +"=([^&#]* )"); | |||||
| 32 | var qs = regex.e xec(window .location. href); | |||||
| 33 | if (qs == null) return nul l; | |||||
| 34 | return qs[1]; | |||||
| 35 | } | |||||
| 36 | ||||||
| 37 | ||||||
| 38 | function P erformCalc ulation() { | |||||
| 39 | ||||||
| 40 | var serverUrl = N52.Dia logHelpers .GetServer Url(); | |||||
| 41 | ||||||
| 42 | O DataPath = serverUrl + "/XRMSe rvices/201 1/Organiza tionData.s vc"; | |||||
| 43 | ||||||
| 44 | ||||||
| 45 | //Call s the REST endpoint to Create a new Nort h52 Config | |||||
| 46 | var js onNorth52C onfig = wi ndow.JSON. stringify( CreateNort h52Formula Calculatio n()); | |||||
| 47 | ||||||
| 48 | $.ajax ({ type: " POST", | |||||
| 49 | co ntentType: "applicat ion/json; charset=ut f-8", | |||||
| 50 | da tatype: "j son", | |||||
| 51 | ur l: ODataPa th + "/nor th52_formu lacalculat ionSet", | |||||
| 52 | da ta: jsonNo rth52Confi g, | |||||
| 53 | be foreSend: function ( XMLHttpReq uest) {XML HttpReques t.setReque stHeader(" Accept", " applicatio n/json"); | |||||
| 54 | }, | |||||
| 55 | su ccess: fun ction (dat a, textSta tus, XmlHt tpRequest) { | |||||
| 56 | result= d ata.d.nort h52_Result ; | |||||
| 57 | ||||||
| 58 | if ( ( ( result != null) || ( result != "") || (r esult != ' NoOp') ) & & (result. indexOf('m ain.aspx') != -1) ) | |||||
| 59 | { | |||||
| 60 | result Url = serv erUrl + "/ " + getUrl (result); | |||||
| 61 | ||||||
| 62 | $('#ca lculatedhy perlink'). attr('href ', resultU rl); | |||||
| 63 | $('#ca lculatedhy perlink'). text(getRe cordName(r esult)); | |||||
| 64 | } | |||||
| 65 | else | |||||
| 66 | $('# calculated hyperlink' ).text('-- '); | |||||
| 67 | ||||||
| 68 | }, | |||||
| 69 | er ror: funct ion (XmlHt tpRequest, textStatu s, errorTh rown) { | |||||
| 70 | $('# calculated hyperlink' ).text("?? "); | |||||
| 71 | $('# calculated hyperlink' ).attr('hr ef', ''); | |||||
| 72 | $('# calculated hyperlink' ).click(fu nction() { alert(docu ment.getEl ementById( "msg").val ue); retur n false;}) ; | |||||
| 73 | $('# calculated hyperlink' ).attr('di sabled', ' '); | |||||
| 74 | var msgfield = document. getElement ById("msg" ); | |||||
| 75 | msg. value = Xm lHttpReque st.respons eText; | |||||
| 76 | } | |||||
| 77 | }); | |||||
| 78 | ||||||
| 79 | EnableD isableCalc ulatedFiel d(); | |||||
| 80 | ||||||
| 81 | } | |||||
| 82 | ||||||
| 83 | function C reateNorth 52FormulaC alculation () | |||||
| 84 | { | |||||
| 85 | ||||||
| 86 | var no rth52Formu laCalculat ion = new Object(); | |||||
| 87 | ||||||
| 88 | var up datefield = getQuery string("da ta"); | |||||
| 89 | var va lue = deco deURICompo nent(updat efield); | |||||
| 90 | var in puts = val ue.split(" |"); | |||||
| 91 | ||||||
| 92 | north5 2FormulaCa lculation. north52_na me = input s[0]; | |||||
| 93 | north5 2FormulaCa lculation. north52_Ta rgetEntity ID = paren t.Xrm.Page .data.enti ty.getId() ; | |||||
| 94 | ||||||
| 95 | return north52Fo rmulaCalcu lation ; | |||||
| 96 | ||||||
| 97 | } | |||||
| 98 | ||||||
| 99 | function o nLoad() | |||||
| 100 | { | |||||
| 101 | try | |||||
| 102 | { | |||||
| 103 | ||||||
| 104 | if ((parent != null) & & (parent. Xrm.Page ! = null) && (parent.X rm.Page.ui != null) ) | |||||
| 105 | { | |||||
| 106 | if (paren t.Xrm.Page .context.i sOutlookOn line() == false) | |||||
| 107 | retur n; | |||||
| 108 | ||||||
| 109 | if ( (pa rent.Xrm.P age.ui.get FormType() == 2) || (parent.X rm.Page.ui .getFormTy pe() == 3) || (paren t.Xrm.Page .ui.getFor mType() == 4) ) | |||||
| 110 | { | |||||
| 111 | Perfor mCalculati on(); | |||||
| 112 | } | |||||
| 113 | } | |||||
| 114 | } | |||||
| 115 | catch(e x) | |||||
| 116 | { | |||||
| 117 | alert ('North52 Formula Ma nager Exce ption: ' + ex.messag e); | |||||
| 118 | } | |||||
| 119 | } | |||||
| 120 | ||||||
| 121 | ||||||
| 122 | function g etRecordNa me(result) | |||||
| 123 | { | |||||
| 124 | var vals = new Arr ay(); | |||||
| 125 | vals = r esult.spli t("="); | |||||
| 126 | ||||||
| 127 | return vals[4]; | |||||
| 128 | } | |||||
| 129 | ||||||
| 130 | function E nableDisab leCalculat edField() | |||||
| 131 | { | |||||
| 132 | ||||||
| 133 | var no rth52Formu laCalculat ion = new Object(); | |||||
| 134 | ||||||
| 135 | var up datefield = getQuery string("da ta"); | |||||
| 136 | var va lue = deco deURICompo nent(updat efield); | |||||
| 137 | var in puts = val ue.split(" |"); | |||||
| 138 | ||||||
| 139 | if (inp uts.length > 1) | |||||
| 140 | { | |||||
| 141 | docume nt.getElem entById("c alculatedf ield").dis abled = in puts[1]; | |||||
| 142 | } | |||||
| 143 | ||||||
| 144 | } | |||||
| 145 | ||||||
| 146 | function g etUrl(resu lt) | |||||
| 147 | { | |||||
| 148 | var vals = new Arr ay(); | |||||
| 149 | vals = r esult.spli t("="); | |||||
| 150 | ||||||
| 151 | return result.r eplace("&r ecordname= "+vals[4], ""); | |||||
| 152 | } | |||||
| 153 | ||||||
| 154 | function d isplayMess age() | |||||
| 155 | { | |||||
| 156 | ||||||
| 157 | if (docum ent.getEle mentById(" msg").valu e != "") | |||||
| 158 | { | |||||
| 159 | al ert(docume nt.getElem entById("m sg").value ); | |||||
| 160 | } | |||||
| 161 | } | |||||
| 162 | ||||||
| 163 | </script> | |||||
| 164 | ||||||
| 165 | <meta char set="utf-8 "> | |||||
| 166 | </head><bo dy onload= "onLoad(); " bgColor= "transpare nt"> | |||||
| 167 | <table cel lSpacing=" 0" cellPad ding="0" w idth="100% "> | |||||
| 168 | <tbody> | |||||
| 169 | <tr> | |||||
| 170 | <td id="ca lculatedhy perlink_td "> &n bsp; &nbs p; &n bsp; <strong><a id="calcu latedhyper link" href ="" target ="_blank"> </a> </str ong></td>< /tr> | |||||
| 171 | <tr> | |||||
| 172 | <td id="ms g_td"><inp ut style=" visibility : hidden;" id="msg" class="ms- crm-Text" req="0"> < /td></tr>< /tbody></t able></bod y></html> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.