Produced by Araxis Merge on 10/18/2017 8:22:15 AM Central 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 | RAMS.zip\RAMS\UI\R2.1\siteAssets\JS | rams-environment.js | Wed Oct 18 12:48:34 2017 UTC |
2 | RAMS.zip\RAMS\UI\R2.1\siteAssets\JS | rams-environment.js | Wed Oct 18 13:02:40 2017 UTC |
Description | Between Files 1 and 2 |
|
---|---|---|
Text Blocks | Lines | |
Unchanged | 11 | 198 |
Changed | 10 | 30 |
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 | var protoc ol = "http s://"; | |
2 | var port = " PORT "; | |
3 | ||
4 | /* | |
5 | Pl ease updat e the belo w server w ith the co rrect serv er name | |
6 | Re place the server nam e with the se values by uncomme nting the server nam e needed f or the env ironment a nd comment ing the se rver names not neede d. | |
7 | DE V: | |
8 | re portsServe rName=vaww .rpt.idev. ram.msp. DNS | |
9 | TE ST: | |
10 | re portsServe rName=vaww .rpt.itst. ram.msp. DNS | |
11 | SQ A: | |
12 | re portsServe rName=vaww .rpt.itst. ram.msp. DNS | |
13 | Pr e-prod: | |
14 | re portsServe rName=Unkn own | |
15 | Pr od: | |
16 | re portsServe rName=Unkn own | |
17 | */ | |
18 | ||
19 | var report sServerNam e=""; | |
20 | var mySite sServerNam e=""; | |
21 | ||
22 | var RAMSAp p = "RAMS- 2.1.0"; | |
23 | var env = window.loc ation.host name; | |
24 | var siteCo llection=" /sites/IRB Applicatio ns/"; | |
25 | ||
26 | var dynami cSharepoin tURL=""; | |
27 | var dynami cWebServic eURL=""; | |
28 | ||
29 | var dynami cReportURL =""; | |
30 | ||
31 | if ( (env. indexOf("i dev") != - 1) || (e nv.indexOf ("itst") ! = -1) ) { | |
32 | pr otocol="ht tps://"; | |
33 | po rt=" PORT "; | |
34 | dy namicShare pointURL = protocol + env + si teCollecti on; | |
35 | dy namicWebSe rviceURL = protocol + env + ": " + port + "/" + RAM SApp + "/" ; | |
36 | } | |
37 | else { | |
38 | dy namicShare pointURL = protocol + env + si teCollecti on; | |
39 | dy namicWebSe rviceURL = protocol + env + ": " + port + "/" + RAM SApp + "/" ; | |
40 | } | |
41 | ||
42 | ||
43 | if (env.in dexOf("ide v") != -1) { | |
44 | re portsServe rName="vaw w.rpt.idev .ram.msp. DNS "; | |
45 | my SitesServe rName=prot ocol + "va ww.mysites .idev.ram. msp. DNS "; | |
46 | } else if (env.index Of("itst") != -1) { | |
47 | re portsServe rName="vaw w.rpt.itst .ram.msp. DNS "; | |
48 | my SitesServe rName=prot ocol + "va ww.mysites .itst.ram. msp. DNS "; | |
49 | } else if (env.index Of("sqa") != -1) { | |
50 | re portsServe rName="vaw w.rpt.sqa. ram.msp. DNS "; | |
51 | my SitesServe rName=prot ocol +"vaw w.mysites. sqa.ram.ms p. DNS "; | |
52 | } else if (env.index Of("ppd") != -1) { | |
53 | re portsServe rName="vaw w.rpt.ppd. ram.msp. DNS "; | |
54 | my SitesServe rName=prot ocol +"vaw w.mysites. ppd.ram.ms p. DNS "; | |
55 | } else { | |
56 | re portsServe rName="vaw w.rpt.ram. msp. DNS "; | |
57 | my SitesServe rName=prot ocol + "va ww.mysites .ram.msp. DNS "; | |
58 | ||
59 | } | |
60 | ||
61 | dynamicRep ortURL= pr otocol + r eportsServ erName + " /Reports/P ages/Folde r.aspx?Ite mPath=%2fR AMS+Report s&ViewMode =List"; | |
62 | ||
63 | ||
64 | // Define environmen tal consta nts for RA MS web-app s. | |
65 | window.RAM S = window .RAMS || { }; | |
66 | RAMS.Envir onment = { | |
67 | Sh arePoint: { | |
68 | //de v and test site | |
69 | //UR L: "http:/ /" + windo w.location .hostname + "/sites/ IRBApplica tions/", | |
70 | ||
71 | //SQ A site | |
72 | URL: dynamicSh arepointUR L, | |
73 | Cent ralIRBSite : "Central IRB", | |
74 | List : {} // Co lumn mappi ngs define d below. | |
75 | }, | |
76 | We bService: { | |
77 | ||
78 | //de v and test site | |
79 | //UR L: "http:/ /" + windo w.location .hostname + ":8889/R AMS-2.1.0/ " | |
80 | ||
81 | //SQ A site | |
82 | URL: dynamicWe bServiceUR L | |
83 | // F orm mappin gs defined below. | |
84 | }, | |
85 | Re ports: { | |
86 | URL: dynamicRe portURL | |
87 | } | |
88 | ||
89 | }; | |
90 | ||
91 | ||
92 | //////// ////////// | |
93 | // REPLAC E HERE // | |
94 | ////////// //////// | |
95 | RAMS.Envir onment.Sha rePoint.Li st.Applica tion = { | |
96 | Fa cilityLook upId: "F acilityLoo kupId", | |
97 | Si teLookupId : "SiteL ookupId", | |
98 | Li nkToApplic ation: "L inktoAppli cation", | |
99 | Pr incipalInv estigatorI d: "Principal Investigat orId", | |
100 | CoPrin cipalInves tigatorId: "CoPIId" , | |
101 | Pr imaryRevie wersId: "P rimaryRevi ewersId" | |
102 | }; | |
103 | ||
104 | RAMS.Envir onment.Web Service.Fo rm = { | |
105 | Pa rent: 53, 53: "Parent", | |
106 | Lo cal: 54, 54: "Local", | |
107 | Ad verse: 55, 55 : "Adverse ", | |
108 | Co ntReview: 56, 56 : "ContRev iew", | |
109 | Cl oseout: 57 , 57 : "Closeou t", | |
110 | Ad ministrati veUpdate: 58, 58: "Admin istrativeU pdate" | |
111 | }; | |
112 | //////// ////////// | |
113 | // REPLAC E HERE // | |
114 | ////////// //////// |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.