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.
| # | 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_javascripteditorclientsidepayloadtabDE1A3D67-956B-E611-A206-00155D011502 | 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 | 70 |
| 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 | if (typeof North52 = = 'undefin ed') { Nor th52 = {}; } | |||||
| 2 | if (typeof North52.C lientSideP ayLoadTab == 'undefi ned') { No rth52.Clie ntSidePayL oadTab = { }; } | |||||
| 3 | ||||||
| 4 | ||||||
| 5 | ||||||
| 6 | ||||||
| 7 | ||||||
| 8 | North52.Cl ientSidePa yLoadTab.L oad = func tion() { | |||||
| 9 | ||||||
| 10 | var sourc eEntity = parent.Xrm .Page.data .entity.at tributes.g et("north5 2_sourceen tityname") .getValue( ); | |||||
| 11 | ||||||
| 12 | if ( (sou rceEntity == null) | | (sourceE ntity == " ") ) | |||||
| 13 | sour ceEntity = "account" ; | |||||
| 14 | ||||||
| 15 | var optio ns = ""; | |||||
| 16 | ||||||
| 17 | if (typeo f parent.X rm.Page.ui .clearForm Notificati on != "un defined") | |||||
| 18 | option s = "$sele ct=*&$filt er=ObjectT ypeCode eq " + "'"+ sourceEnti ty + "' an d Type/Val ue eq 2 an d FormActi vationStat e/Value eq 1"; | |||||
| 19 | else | |||||
| 20 | option s = "$sele ct=*&$filt er=ObjectT ypeCode eq " + "'"+ sourceEnti ty + "' an d Type/Val ue eq 2"; | |||||
| 21 | ||||||
| 22 | SDK.REST .retrieveM ultipleRec ords("Syst emForm", o ptions, No rth52.Clie ntSidePayL oadTab.ret rieveFormC allBack, f unction (e rror) { al ert("North 52 Formula Manager: " + error. message); }, North52 .ClientSid ePayLoadTa b.formsRet rieveCompl ete) | |||||
| 23 | } ; | |||||
| 24 | ||||||
| 25 | ||||||
| 26 | North52.Cl ientSidePa yLoadTab.r etrieveFor mCallBack= function( retrievedF orms) | |||||
| 27 | { | |||||
| 28 | ||||||
| 29 | ||||||
| 30 | for (va r i = 0; i < retriev edForms.le ngth; i++) | |||||
| 31 | { | |||||
| 32 | var f ormResult = retrieve dForms[i]; | |||||
| 33 | var x ml = N52.H TMLWebReso urceHelper .GetXmlDoc ument(form Result.For mXml); | |||||
| 34 | var x path = "/f orm/tabs/t ab/@name"; | |||||
| 35 | ||||||
| 36 | var a ttributes = N52.HTML WebResourc eHelper.Ge tXmlNodes( xml , xpat h ); | |||||
| 37 | ||||||
| 38 | N52. HTMLWebRes ourceHelpe r.InsertOp tionSetIte m('formula ClientSide PayLoad', '', '' ) ; | |||||
| 39 | ||||||
| 40 | for (var k = 0 ; k < attr ibutes.len gth; k++) | |||||
| 41 | { | |||||
| 42 | N5 2.HTMLWebR esourceHel per.Insert OptionSetI tem('formu laClientSi dePayLoad' , formRes ult.Name + ': '+ at tributes [ k].value, attributes [k].value ); | |||||
| 43 | } | |||||
| 44 | } | |||||
| 45 | ||||||
| 46 | $('# loading-fo rmulaclien tsidepaylo ad').hide( ); | |||||
| 47 | $('# targetenti ty').show( ); | |||||
| 48 | ||||||
| 49 | }; | |||||
| 50 | ||||||
| 51 | North52.Cl ientSidePa yLoadTab.f ormsRetrie veComplete = function () | |||||
| 52 | { | |||||
| 53 | v ar msg = ' Complete'; | |||||
| 54 | }; | |||||
| 55 | ||||||
| 56 | North52.Cl ientSidePa yLoadTab.D ropDownCha nged= func tion(value ) { | |||||
| 57 | ||||||
| 58 | try | |||||
| 59 | { | |||||
| 60 | if (va lue != nul l) | |||||
| 61 | { | |||||
| 62 | par ent.Xrm.Pa ge.data.en tity.attri butes.get( "north52_c lientsided atapayload ").setValu e(value); | |||||
| 63 | } | |||||
| 64 | ||||||
| 65 | } | |||||
| 66 | catch(e x) | |||||
| 67 | { | |||||
| 68 | aler t('North52 Formula M anager: Co mmunicatio n issue, p lease clic k Ok & the n F5 to re fresh the screen. Me ssage: ' + ex.messag e); | |||||
| 69 | } | |||||
| 70 | } ; |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.