Produced by Araxis Merge on 1/4/2018 2:42:55 PM Eastern Standard 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 | TMP_Code.zip\TMP_Code\CRM\VA.TMP.WebResources.zip\VA.TMP.WebResources\J Script Functions\Group Resource | GroupResource.RibbonFunctions.js | Wed Nov 22 14:32:16 2017 UTC |
| 2 | TMP_Code.zip\TMP_Code\CRM\VA.TMP.WebResources.zip\VA.TMP.WebResources\J Script Functions\Group Resource | GroupResource.RibbonFunctions.js | Wed Jan 3 23:02:47 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 90 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| 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 | function o penNewmcs_ resource(m cs_type, m cs_related siteid, mc s_relateds iteidname, mcs_resou rcegroupgu id) { | |
| 2 | //vali d values f or type al ign with r esource ty pe flobal option set | |
| 3 | if ((t ypeof Xrm != "undefi ned") && ( typeof Xrm .Utility ! = "undefin ed")) { | |
| 4 | va r p = {}; | |
| 5 | p. mcs_resour cegroupgui d = mcs_re sourcegrou pguid; | |
| 6 | if (mcs_type != 0) | |
| 7 | p.mcs_ty pe = mcs_t ype; | |
| 8 | if (mcs_rela tedsiteid != "") | |
| 9 | p.mcs_re latedsitei d = mcs_re latedsitei d; | |
| 10 | if (mcs_rela tedsiteidn ame != "") | |
| 11 | p.mcs_re latedsitei dname = mc s_relateds iteidname; | |
| 12 | Xr m.Utility. openEntity Form("mcs_ resource", null, p); | |
| 13 | } | |
| 14 | else { | |
| 15 | va r features = "locati on=no,menu bar=no,sta tus=no,too lbar=no,re sizable=ye s"; | |
| 16 | va r extraqs = ["mcs_re sourcegrou pguid=" + mcs_resour cegroupgui d]; | |
| 17 | if (mcs_rela tedsiteid != "") | |
| 18 | extraqs. push("mcs_ relatedsit eid=" + mc s_relateds iteid); | |
| 19 | if (mcs_relat edsiteidna me != "") | |
| 20 | extraqs. push("mcs_ relatedsit eidname=" + mcs_rela tedsiteidn ame); | |
| 21 | if (mcs_type != 0) | |
| 22 | extraqs. push("mcs_ type=" + m cs_type); | |
| 23 | va r url = Xr m.Page.con text.getSe rverUrl(); | |
| 24 | if (url.matc h(/\/$/)) { | |
| 25 | url = ur l.substrin g(0, url.l ength - 1) ; | |
| 26 | } | |
| 27 | if (typeof X rm.Page.co ntext.getC lientUrl ! = "undefin ed") { | |
| 28 | url = Xr m.Page.con text.getCl ientUrl(); | |
| 29 | } | |
| 30 | wi ndow.open( url + "/ma in.aspx?et n=mcs_reso urce&paget ype=entity record&ext raqs=" + e ncodeURICo mponent(ex traqs.join ("&")), "_ blank", fe atures, fa lse); | |
| 31 | } | |
| 32 | ||
| 33 | } | |
| 34 | ||
| 35 | //Example: | |
| 36 | //openNewm cs_resourc e(25192000 1,"{9352b5 12-7686-e2 11-ba96-00 155d010613 }","boston ",105,"wew er");funct ion QuickC reateResou rce() { | |
| 37 | function Q uickCreate Resource() { | |
| 38 | var re latedSite = Xrm.Page .getAttrib ute("mcs_r elatedsite id") != nu ll ? Xrm.P age.getAtt ribute("mc s_relateds iteid").ge tValue()[0 ] : {id:"" ,name:""}; //get the site obje ct or set up an obje ct will em pty values | |
| 39 | var re sourceType = Xrm.Pag e.getAttri bute("mcs_ type") != null ? Xrm .Page.getA ttribute(" mcs_type") .getValue( ) : 0; | |
| 40 | ||
| 41 | if (re sourceType == 999999 99 || reso urceType = = 10000000 0) { | |
| 42 | alert("To Create a P rovider/Te lepresente r, contact NTTHD at PII or email PII "); | |
| 43 | re turn; | |
| 44 | } | |
| 45 | openNe wmcs_resou rce(resour ceType, re latedSite. id, relate dSite.name , Xrm.Page .data.enti ty.getId() ); | |
| 46 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.