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_formulaeditorE608F91D-0F5A-E411-8363-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 | 1647 |
| 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> | |||||
| 2 | <head> | |||||
| 3 | </head> | |||||
| 4 | <body> | |||||
| 5 | ||||||
| 6 | ||||||
| 7 | <scrip t src="Cli entGlobalC ontext.js. aspx"></sc ript> | |||||
| 8 | ||||||
| 9 | <scrip t src="nor th52_/java script/wij mo/jquery" type="tex t/javascri pt"></scri pt> | |||||
| 10 | <scrip t src="nor th52_/java script/wij mo/jqueryu i" type="t ext/javasc ript"></sc ript> | |||||
| 11 | <scrip t src="nor th52_/java script/JSO N2" type=" text/javas cript"></s cript> | |||||
| 12 | <scrip t src="nor th52_/java script/sdk .rest" typ e="text/ja vascript"> </script> | |||||
| 13 | <scrip t src="nor th52_/Java script/sdk .metadata. js" type=" text/javas cript"></s cript> | |||||
| 14 | <scrip t src="nor th52_/java script/nor th52.htmlw ebresource .helper" t ype="text/ javascript "></script > | |||||
| 15 | <scrip t src="nor th52_/java script/nor th52_dialo g_helper" type="text /javascrip t"></scrip t> | |||||
| 16 | <scrip t src="nor th52_/java script/wij mo/open" t ype="text/ javascript "></script > | |||||
| 17 | <scrip t src="nor th52_/java script/wij mo/pro" ty pe="text/j avascript" ></script> | |||||
| 18 | <scrip t src="nor th52_/java script/for mulaeditor " type="te xt/javascr ipt"></scr ipt> | |||||
| 19 | <scrip t src="nor th52_/java script/wij mo/spreadj s" type="t ext/javasc ript"></sc ript> | |||||
| 20 | <scrip t src="nor th52_/java script/cod emirror" t ype="text/ javascript "></script > | |||||
| 21 | <scrip t src="nor th52_/java script/sdk _jquery" t ype="text/ javascript " ></scrip t> | |||||
| 22 | <scrip t src="nor th52_/java script/edi tor/source entity" ty pe="text/j avascript" ></script > | |||||
| 23 | <scrip t src="nor th52_/java script/edi tor/source property" type="text /javascrip t" ></scri pt> | |||||
| 24 | <scrip t src="nor th52_/java script/edi tor/target entity" ty pe="text/j avascript" ></script > | |||||
| 25 | <scrip t src="nor th52_/java script/edi tor/target property" type="text /javascrip t" ></scri pt> | |||||
| 26 | <scrip t src="nor th52_/java script/edi tor/source relationsh ip" type=" text/javas cript" ></ script> | |||||
| 27 | <scrip t src="nor th52_/java script/edi tor/deploy mentsoluti on" type=" text/javas cript" ></ script> | |||||
| 28 | <scrip t src="nor th52_/java script/edi tor/client sidepayloa dtab" type ="text/jav ascript" > </script> | |||||
| 29 | <scrip t type="te xt/javascr ipt" src=" north52_/j avascript/ north52.fo rmula.load alpha"></s cript> | |||||
| 30 | ||||||
| 31 | ||||||
| 32 | <link href="nort h52_/css/w ijmo/sprea djs" rel=" stylesheet " type="te xt/css"> | |||||
| 33 | <link href="nort h52_/css/w ijmo/core" rel="styl esheet" ty pe="text/c ss"> | |||||
| 34 | <link href="nort h52_/css/w ijmo/arist o" rel="st ylesheet" type="text /css"> | |||||
| 35 | <link href="nort h52_/css/f ormulaedit or" rel="s tylesheet" type="tex t/css"> | |||||
| 36 | <link href="nort h52_/css/c odemirror" rel="styl esheet" ty pe="text/c ss"> | |||||
| 37 | ||||||
| 38 | <s tyle type= "text/css" > | |||||
| 39 | .C odeMirror { | |||||
| 40 | border: 1px solid silver; | |||||
| 41 | margin-b ottom: 1em ; | |||||
| 42 | width: 9 9.7%; | |||||
| 43 | height: 91%; | |||||
| 44 | top: -1p x; | |||||
| 45 | } | |||||
| 46 | .s tyled-back ground { b ackground- color: #ff 7; } | |||||
| 47 | </styl e> | |||||
| 48 | ||||||
| 49 | ||||||
| 50 | <scrip t id="mode code"> | |||||
| 51 | ||||||
| 52 | Co deMirror.d efineSimpl eMode("sim plemode", { | |||||
| 53 | ||||||
| 54 | start: [ | |||||
| 55 | ||||||
| 56 | ||||||
| 57 | { rege x: /"(?:[^ \\]|\\.)*? "/, token: "string" }, | |||||
| 58 | { rege x: /(?:add customview |adddays|a ddhours|ad dminutes|a ddmonths|a ddprefilte rlookup|ad dseconds|a ddyears|al ert|alertc lear|appen dformat|au tonumber|a ssociateen tities|bas e64decode| base64enco de|between |callresta pi|case|cd ate|cdecim al|cdecima ltoint32|c double|cfl oattoint32 |chainfunc tions|cint |cint32|ci nt64|findt emplateid| cjsonarray toentityco llection|c lear|clear attribute| clearcontr olnotifica tion|clear fields|cle arformnoti fication|c lone|cnode toxml|coll apsetabs|c ompress|co nfirmdialo g|contains |containsd ata|contai nsdataandn otzero|cop tionsetval ue|countch aracters|c reateattac hment|crea tedate|cre atehtmllis t|createht mltable|cr eatehtmltw ocolumn|cr eatejarray |createjar raychildre n|createjo bject|crea tejpropert y|createno te|createn oteifexist s|createre cord|creat exmlattrib ute|create xmlattribu tes|create xmlchildre n|createxm ldeclarati on|createx mlelement| createxmlr ootattribu te|createx mlrootnode |currentre cord|curre ntrecordin nerloop|cu rrentrecor douterloop |dameraule venshteind istance|da tediff|dat ediffdescr iption|dat ediffelaps ed|datedif felapsedde scription| decisionta ble|decomp ress|defau lt|deleter ecord|dele terecordif exists|del eterecords fd|depth|d iffdays|di ffmonths|d iffworking days|diffy ears|disab lefields|d isassociat eentities| displaymul tiplerecor ds|doesnot containdat a|doloop|s harepoints etitemmeta data|doloo pindex|dol ooptotal|e nablefield s|endswith |executeac tion|execu tedialog|e xecutework flow|expan dtabs|find avg|findav gfd|findco unt|findco untfd|find eccount|fi ndentityco llectionco unt|findja rrayitem|f indlistval ues|findma x|findmaxf d|findmin| findminfd| findrecord s|findreco rdsfd|find recordsfet chxml|find recordsval ue|findrec ordvalue|f indsum|fin dsumfd|fin dvalue|fin dvalueex|f indvaluefd |findxmlit em|firstre cord|first words|fore achrecord| foreachrec orddouble| gcd|genera tedoc|gene rateguid|g enerateinv oicefromop portunity| generatequ otefromopp ortunity|g eneratesal esorderfro mopportuni ty|geocode bing|getas sociationr elatedenti tyreferenc eid|getass ociationre lationship name|getat tributedis playname|g etcurrency symbol|get day|getdat eonly|getd ayofweekna me|getdayo fweeknumbe r|getdaysi nmonth|get entityname |getexchan gerate|get fetchxml|g etfirstday ofmonth|ge tfirstdayo fweek|getf irstdayofq uarter|get lastdayofm onth|getla stdayofqua rter|getla youtxml|ge tmonth|get nextworkin gday|getne xtworkingt ime|getopt ionsetname |getparamf romurl|get partylistc ount|getpa rtylistite mid|getpar tylistitem name|getpa rtylistite mtype|getu serroles|g etuserteam s|getvar|g etvarjsone c|getvarjs onvalue|ge tvarxpathe c|getvarxp athvalue|g etweek|get weekelapse d|getyear| hidefields |hidelefth andnavitem s|hidesect ions|hidet abs|iftrue |indexof|i nsert|isem pty|isleap year|isuse rinsecurit yroles|isw orkingday| lastrecord |lcm|left| let|letret urn|levens hteindista nce|levens hteindista ncefast|li nkdialogur l|linkhype rlinkurl|l inkrawurl| localdate| localdatet ime|localt imefromutc time|longe stcommonsu bsequence| loopuntilt rue|lower| matchlist| maxof|md5| mergerecor ds|minof|m ultiplecli entside|pa dleft|padr ight|prior value|roun d|random|r ecordindex |recordsha re|recordt otal|recor dunshare|r ecordunsha reall|refr eshform|re freshsubgr id|refresh webresourc e|regexism atch|regex match|rege xreplace|r emove|remo veattribut e|removepr efilterloo kup|replac e|reverse| right|sele ctform|sen demail|set attribute| setattribu teaction|s etattribut eactionloo kup|setatt ributecust omer|setat tributeloo kup|setatt ributepart ylist|seta ttributest atus|setau thenticati onoauth|se tauthentic ationoauth 2|setclien tsidedate| setclients idefield|s etclientsi delookup|s etcolumnor der|setcon trolnotifi cation|set currencysy mbol|setcu stomerlook up|setdefa ultview|se tfindand|s etfindsele ct|setfocu s|setformn otificatio n|setifram e|setlooku p|setnotre quiredfiel ds|setowne rteam|seto wneruser|s etparams|s etpartylis t|setparty listcombin ed|setpick listvalues |setrefere nce|setreg ardinglook up|setrequ estactionf ail|setreq uestaction pass|setre questauthe nticationb asic|setre questauthe nticationn one|setreq uestbaseur l|setreque stdetails| setrequest expected|s etrequestf ile|setreq uestfiles| setrequest headers|se trequestpa rams|setre questresou rce|setreq uiredfield s|setrespo nseprefix| setstate|s ettwocolum norder|set var|setvar concat|set watermarks tring|sha1 |sharepoin tcreatefil e|sharepoi ntcreatefo lder|share pointcreat esite|shar epointdele tefile|sha repointfin ddocuments byfetchxml |sharepoin tgetfile|s harepointg etitemmeta data|share pointupdat eitemmetad ata|showfi elds|showl efthandnav items|show sections|s howtabs|si ft3|simila rity|slice |smartflow |smartflow return|spl it|startsc hedule|sta rtswith|st opschedule |capitaliz e|stringfo rmat|strin gformatgd| metaphone3 |totitleca se|trim|st riphtml|su bstring|th en|thrower ror|tostri ng|transfo rmentity|t ranslate|u pdateactiv itypartybu lk|updatec reaterecor d|updatere cord|updat erecordife xists|uppe r|utcdate| utcdatetim e|utctimef romlocalti me|when|wh oami|whoam iname|xcac headdcalcu latedfield local|xcac heget|xcac hecalculat elocal|xca chefilterl ocal|xcach egetglobal |xcacheget local|xcac heloadloca l|getactio noutputpar ameter|in| if|break|s etclientsi defieldapp end|abs|ce iling|exp| floor|gcd| lcm|maxof| minof|sign |sqrt|trun cate|findr ecordsaudi thtml|open window|ope nentityfor m|bpsetact iveprocess |bpsetacti vestage|bp movenextst age|bpmove previousst age|findbp processid| findbpgets tageid|cre ateemailfr omtemplate |multipled ecisiontab le|doesuse rhaveprivi lege)\b/i, token: "k eyword" }, | |||||
| 59 | { rege x: /true|f alse|null| undefined/ , token: " atom" }, | |||||
| 60 | { rege x: /0x[a-f \d]+|[-+]? (?:\.\d+|\ d+\.?\d*)( ?:e[-+]?\d +)?/i, tok en: "numbe r" }, | |||||
| 61 | { rege x: /\/\/.* /, token: "comment" }, | |||||
| 62 | { rege x: /'(.*?) '/, token: "singlequ ote" }, | |||||
| 63 | { rege x: /\[(.*? )\]/, toke n: "dynami cvalue" }, | |||||
| 64 | { rege x: /\/\*/, token: "c omment", n ext: "comm ent" }, | |||||
| 65 | { rege x: /[-+\/* =<>!]+/, t oken: "ope rator" }, | |||||
| 66 | { rege x: /[\{\[\ (]/, inden t: true }, | |||||
| 67 | { rege x: /[\}\]\ )]/, deden t: true }, | |||||
| 68 | { rege x: /[a-z$] [\w$]*/, t oken: "var iable" } | |||||
| 69 | ||||||
| 70 | ], | |||||
| 71 | ||||||
| 72 | comment: [ | |||||
| 73 | { rege x: /.*?\*\ //, token: "comment" , next: "s tart" }, | |||||
| 74 | { rege x: /.*/, t oken: "com ment" } | |||||
| 75 | ], | |||||
| 76 | meta: { | |||||
| 77 | dont IndentStat es: ["comm ent"], | |||||
| 78 | line Comment: " //" | |||||
| 79 | } | |||||
| 80 | }) ; | |||||
| 81 | </scri pt> | |||||
| 82 | ||||||
| 83 | <scrip t id="scri ptInit" ty pe="text/j avascript" > | |||||
| 84 | ||||||
| 85 | $( document). ready(func tion () { | |||||
| 86 | ||||||
| 87 | North52. FormulaEdi tor.Inject HyperLinkH elp(); | |||||
| 88 | ||||||
| 89 | var sc = document. getElement ById("mode code"); | |||||
| 90 | var code = documen t.getEleme ntById("fo rmula"); | |||||
| 91 | var edit orFormula = CodeMirr or(code, { mode: "si mplemode", lineWrapp ing: true, matchBrac kets: true }); | |||||
| 92 | ||||||
| 93 | ||||||
| 94 | $("#spli tter").wij splitter({ orientati on: "verti cal", full Split: tru e, splitte rDistance: 425, size d: functio n () { Nor th52.Formu laEditor.R esizeSS(); }, collap sed: funct ion () { N orth52.For mulaEditor .ResizeSS( ); }, expa nded: func tion () { North52.Fo rmulaEdito r.ResizeSS (); } }); | |||||
| 95 | $("#tabs alpha").wi jtabs(); | |||||
| 96 | $("#tree functions" ).wijtree( { autoColl apse: fals e }); | |||||
| 97 | $("#acco rdion").wi jaccordion ({ header: "h5", req uireOpened Pane: fals e, beforeS electedInd exChanged: function (events, d ata) { } } ); | |||||
| 98 | $("#tree explore"). wijtree({ autoCollap se: true, showCheckB oxes: true , nodeExpa nding: fun ction (eve nts, data) { North52 .FormulaEd itor.Expan dTreeExplo re(events, data); } }); | |||||
| 99 | $("#tree source").w ijtree({ a utoCollaps e: true }) ; | |||||
| 100 | $("#tree related"). wijtree({ autoCollap se: true, nodeExpand ing: funct ion (event s, data) { North52.F ormulaEdit or.LoadRel ated(event s, data); } }); | |||||
| 101 | $("#tree relatednn" ).wijtree( { autoColl apse: true , nodeExpa nding: fun ction (eve nts, data) { North52 .FormulaEd itor.LoadR elated(eve nts, data) ; } }); | |||||
| 102 | $("#tree forms").wi jtree({ au toCollapse : true }); | |||||
| 103 | $("#tree detail").w ijtree({ a utoCollaps e: true, n odeExpandi ng: functi on (events , data) { North52.Fo rmulaEdito r.LoadForm ulaDetails (events, d ata); } }) ; | |||||
| 104 | $("#targ etContaine r [title]" ).wijtoolt ip({ showD elay: 1200 , hideDela y: 1500 }) ; | |||||
| 105 | $("#ribb on").wijri bbon(); | |||||
| 106 | $("#tree xcache").w ijtree({ a utoCollaps e: true }) ; | |||||
| 107 | $("#tree processes" ).wijtree( { autoColl apse: true }); | |||||
| 108 | $("#tree calculatio ns").wijtr ee({ autoC ollapse: t rue }); | |||||
| 109 | $("#tree decisionca lculations ").wijtree ({ autoCol lapse: tru e }); | |||||
| 110 | $("#tree actions"). wijtree({ autoCollap se: true } ); | |||||
| 111 | ||||||
| 112 | $("li.fo lder").wij treenode(" option", " collapsedI conClass", "ui-icon- folder-col lapsed").w ijtreenode ("option", "expanded IconClass" , "ui-icon -folder-op en"); | |||||
| 113 | ||||||
| 114 | $("#dial ogFunction Wizard").w ijdialog({ | |||||
| 115 | auto Open: fals e, | |||||
| 116 | cont entUrl: 'n orth52_htm l_function wizard', | |||||
| 117 | resi zable: fal se, | |||||
| 118 | heig ht: 325, | |||||
| 119 | widt h: 375, | |||||
| 120 | moda l: false, | |||||
| 121 | butt ons: { | |||||
| 122 | "Generate" : function () { | |||||
| 123 | $(this ).wijdialo g("close") ; | |||||
| 124 | setTim eout(funct ion () { N orth52.For mulaEditor .InsertTex tAtCursor( North52.Fo rmulaEdito r.Retrieve CacheFunct ion(), Nor th52.Formu laEditor.R etrieveCac heFunction ()); }, 15 00); | |||||
| 125 | ||||||
| 126 | }, | |||||
| 127 | Cancel: fu nction () { | |||||
| 128 | $(this ).wijdialo g("close") ; | |||||
| 129 | } | |||||
| 130 | } | |||||
| 131 | ||||||
| 132 | }); | |||||
| 133 | ||||||
| 134 | $("#dial ogExecuteC ommand").w ijdialog({ | |||||
| 135 | auto Open: fals e, | |||||
| 136 | cont entUrl: 'n orth52_htm l_executec ommand', | |||||
| 137 | resi zable: fal se, | |||||
| 138 | heig ht: 300, | |||||
| 139 | widt h: 350, | |||||
| 140 | moda l: false, | |||||
| 141 | butt ons: { | |||||
| 142 | "Close": f unction () { | |||||
| 143 | $(this ).wijdialo g("close") ; | |||||
| 144 | ||||||
| 145 | ||||||
| 146 | } | |||||
| 147 | } | |||||
| 148 | ||||||
| 149 | }); | |||||
| 150 | ||||||
| 151 | $("#flyo utmenu").r emoveClass ("ui-helpe r-hidden-a ccessible" ); | |||||
| 152 | localSto rage.remov eItem("n52 _firstClic k"); | |||||
| 153 | ||||||
| 154 | var form ulaDescrip tion = par ent.Xrm.Pa ge.data.en tity.attri butes.get( "north52_f ormuladesc ription"). getValue() ; | |||||
| 155 | ||||||
| 156 | North52. FormulaEdi tor.Insert TextAtCurs or(formula Descriptio n, formula Descriptio n); | |||||
| 157 | ||||||
| 158 | $('#tree calculatio ns').hide( ); | |||||
| 159 | $('#tree decisionca lculations ').hide(); | |||||
| 160 | $('#tree actions'). hide(); | |||||
| 161 | ||||||
| 162 | ||||||
| 163 | ||||||
| 164 | North52. Deployment Solution.L oad(); | |||||
| 165 | North52. ClientSide PayLoadTab .Load(); | |||||
| 166 | North52. FormulaEdi tor.TabSel ection(); | |||||
| 167 | North52. FormulaEdi tor.Regist erInit(); | |||||
| 168 | North52. FormulaEdi tor.Events Init(); | |||||
| 169 | North52. FormulaEdi tor.LoadSo urceTree() ; | |||||
| 170 | ||||||
| 171 | if ((for mulaDescri ption != n ull) && (f ormulaDesc ription.le ngth > 0) && (formul aDescripti on.indexOf ("8.40.201 51.5") > 0 )) | |||||
| 172 | Nort h52.Formul aEditor.To ggleDecisi onTableMod e(); | |||||
| 173 | ||||||
| 174 | ||||||
| 175 | }) ; | |||||
| 176 | ||||||
| 177 | ||||||
| 178 | fu nction Sho w(entity) { | |||||
| 179 | ||||||
| 180 | North52. FormulaEdi tor.LoadSo urce(entit y); | |||||
| 181 | ||||||
| 182 | North52. FormulaEdi tor.ClearN odes("#tre erelated") ; | |||||
| 183 | var node = $("#tre erelated") .wijtree(" findNodeBy Text", 'Re lated (N:1 )'); | |||||
| 184 | node.ele ment.wijtr eenode("ad d", { text : "Loading ..." }, 0) ; | |||||
| 185 | node.ele ment.wijtr eenode("co llapse"); | |||||
| 186 | ||||||
| 187 | North52. FormulaEdi tor.ClearN odes("#tre eforms"); | |||||
| 188 | node = $ ("#treefor ms").wijtr ee("findNo deByText", 'Forms'); | |||||
| 189 | node.ele ment.wijtr eenode("ad d", { text : "Loading ..." }, 0) ; | |||||
| 190 | node.ele ment.wijtr eenode("co llapse"); | |||||
| 191 | ||||||
| 192 | ||||||
| 193 | North52. FormulaEdi tor.ClearN odes("#tre erelatednn "); | |||||
| 194 | node = $ ("#treerel atednn").w ijtree("fi ndNodeByTe xt", 'Rela ted (N:N)' ); | |||||
| 195 | node.ele ment.wijtr eenode("ad d", { text : "Loading ..." }, 0) ; | |||||
| 196 | node.ele ment.wijtr eenode("co llapse"); | |||||
| 197 | ||||||
| 198 | }; | |||||
| 199 | ||||||
| 200 | fu nction Sav eFormula() { | |||||
| 201 | ||||||
| 202 | if ($('# formula'). is(":visib le") != tr ue) { | |||||
| 203 | ||||||
| 204 | var spread = $ ('#ss').da ta('spread '); | |||||
| 205 | var jsonStr = JSON.strin gify(sprea d.toJSON() ); | |||||
| 206 | var generateFo rmula = No rth52.Form ulaEditor. DTGenerate Master() + '\n\n\n' + '/*' + j sonStr + ' */'; | |||||
| 207 | ||||||
| 208 | $('. CodeMirror ')[0].Code Mirror.set Value(gene rateFormul a); | |||||
| 209 | ||||||
| 210 | pare nt.Xrm.Pag e.data.ent ity.attrib utes.get(" north52_fo rmuladescr iption").s etValue(ge nerateForm ula); | |||||
| 211 | ||||||
| 212 | ||||||
| 213 | } | |||||
| 214 | ||||||
| 215 | North52. FormulaEdi tor.Regist erSync(); | |||||
| 216 | North52. FormulaEdi tor.SetDef aultName() ; | |||||
| 217 | ||||||
| 218 | }; | |||||
| 219 | ||||||
| 220 | ||||||
| 221 | fu nction Get SaveModeIn fo() { | |||||
| 222 | ||||||
| 223 | var sele ctedValues = $("#for mulaClient SideSaveMo de").val() || []; | |||||
| 224 | var sele ctedValues ServerSide = []; | |||||
| 225 | ||||||
| 226 | ||||||
| 227 | for (var i = 0; i < selected Values.len gth; i++) { | |||||
| 228 | sele ctedValues ServerSide .push(sele ctedValues [i]); | |||||
| 229 | } | |||||
| 230 | ||||||
| 231 | return s electedVal uesServerS ide.join(" ;") + ':' + $("#form ulaGetData Xml").val( ) + ':' + $("#formul aClientSid eSyncAsync ").val() + ':' + $(" #formulaCl ientSidePr eventDefau ltAction") .val(); | |||||
| 232 | ||||||
| 233 | }; | |||||
| 234 | ||||||
| 235 | ||||||
| 236 | fu nction Sel ectionChan gedBuildTr ees(sender , args) { | |||||
| 237 | ||||||
| 238 | North52. FormulaEdi tor.BuildT rees(args. sheetName) ; | |||||
| 239 | }; | |||||
| 240 | ||||||
| 241 | ||||||
| 242 | ||||||
| 243 | ||||||
| 244 | ||||||
| 245 | </scri pt> | |||||
| 246 | ||||||
| 247 | <title ></title> | |||||
| 248 | <div cl ass="conta iner" id=" n52Contain er"> | |||||
| 249 | <d iv id="spl itter"> | |||||
| 250 | <div id= "panel1alp ha"> | |||||
| 251 | <!-- -Panel1--- > | |||||
| 252 | <div id="tabsa lpha"> | |||||
| 253 | <ul> | |||||
| 254 | <li><a cl ass="ui-li nk" href=" #tabs-regi ster">Regi ster</a></ li> | |||||
| 255 | <li><a class="ui -link" hre f="#tabs-f unctions"> Functions< /a></li> | |||||
| 256 | <li><a class="ui -link" hre f="#tabs-s ource">Sou rce</a></l i> | |||||
| 257 | <li><a class="ui -link" hre f="#tabs-e xplore">Ex plore</a>< /li> | |||||
| 258 | <li><a class="ui -link" hre f="#tabs-f etchxml">F etch-Xml</ a></li> | |||||
| 259 | </ul> | |||||
| 260 | ||||||
| 261 | <div id="tabs-r egister"> | |||||
| 262 | ||||||
| 263 | <div i d="targetC ontainerRe gister" cl ass="targe t-Containe r-Register " style=" height: 98 %; overflo w: auto"> | |||||
| 264 | ||||||
| 265 | <div id= "accordion "> | |||||
| 266 | ||||||
| 267 | ||||||
| 268 | <h 5 style="b ackground: none; bor der: none; outline:0 ; box-shad ow: none;" > | |||||
| 269 | <a href= "#">Formul a Settings </a> | |||||
| 270 | </ h5> | |||||
| 271 | ||||||
| 272 | <d iv> | |||||
| 273 | ||||||
| 274 | <div i d="control GroupFormu laName" cl ass="contr ol-group"> | |||||
| 275 | <lab el class=" control-la bel requir ed" for="f ormulaName ">Name</la bel> | |||||
| 276 | <div cl ass="contr ols"> | |||||
| 277 | <input i d="formula Name" name ="formulaN ame" type= "text" cla ss="contro ls-input" > | |||||
| 278 | </div> | |||||
| 279 | </div> | |||||
| 280 | ||||||
| 281 | ||||||
| 282 | <div id= "controlGr oupFormula Type" clas s="control -group"> | |||||
| 283 | <label class="co ntrol-labe l required " for="for mulaType1" >Formula T ype</label > | |||||
| 284 | <div c lass="cont rols"> | |||||
| 285 | <sel ect id="fo rmulaType" class="c ontrols-in put-select " onchange ="North52. FormulaEdi tor.Regist erFormulaT ype(false) "> | |||||
| 286 | <o ption valu e="2178900 05">Auto N umber</opt ion> | |||||
| 287 | <o ption valu e="2178900 00">Calcul ated Field </option> | |||||
| 288 | <o ption valu e="2178900 14">Client Side - Cal culation</ option> | |||||
| 289 | <o ption valu e="2178900 15">Client Side - Per form Actio n</option> | |||||
| 290 | <o ption valu e="2178900 17">Comman d Console< /option> | |||||
| 291 | <o ption valu e="2178900 18">N:N As sociate</o ption> | |||||
| 292 | <o ption valu e="2178900 19">N:N Di sassociate </option> | |||||
| 293 | <o ption valu e="2178900 16">Proces s Genie</o ption> | |||||
| 294 | <o ption valu e="2178900 13">Save - Perform A ction</opt ion> | |||||
| 295 | <o ption valu e="2178900 03" select ed>Save - To Current Record</o ption> | |||||
| 296 | <o ption valu e="2178900 01">Save - To Parent </option> | |||||
| 297 | <o ption valu e="2178900 04">Valida tion</opti on> | |||||
| 298 | ||||||
| 299 | </se lect> | |||||
| 300 | </div> | |||||
| 301 | </div> | |||||
| 302 | ||||||
| 303 | ||||||
| 304 | <div id= "controlGr oupFormula Mode" clas s="control -group"> | |||||
| 305 | <label class="co ntrol-labe l required " for="for mulaMode"> Mode</labe l> | |||||
| 306 | <div c lass="cont rols"> | |||||
| 307 | <sel ect id="fo rmulaMode" class="c ontrols-in put-select " onchange ="North52. FormulaEdi tor.Regist erModeChan ge()"> | |||||
| 308 | <o ption valu e="2178900 01">Client Side</opt ion> | |||||
| 309 | <o ption valu e="2178900 02">Server Side</opt ion> | |||||
| 310 | <o ption valu e="2178900 00">Client Side & ; Server S ide</optio n> | |||||
| 311 | </se lect> | |||||
| 312 | </div> | |||||
| 313 | </div> | |||||
| 314 | ||||||
| 315 | ||||||
| 316 | <div id= "controlGr oupFormula Event" cla ss="contro l-group"> | |||||
| 317 | <label class="co ntrol-labe l required " for="for mulaEvent" >Event</la bel> | |||||
| 318 | <div c lass="cont rols"> | |||||
| 319 | <sel ect id="fo rmulaEvent " class="c ontrols-in put-select "> | |||||
| 320 | <o ption valu e="2178900 00">Create </option> | |||||
| 321 | <o ption valu e="2178900 05">Create & Del ete</optio n> | |||||
| 322 | <o ption valu e="2178900 02">Create & Upd ate</optio n> | |||||
| 323 | <o ption valu e="2178900 04">Create , Update & amp; Delet e</option> | |||||
| 324 | <o ption valu e="2178900 03">Delete </option> | |||||
| 325 | <o ption valu e="2178900 01">Update </option> | |||||
| 326 | <o ption valu e="2178900 06">Update & Del ete</optio n> | |||||
| 327 | </se lect> | |||||
| 328 | </div> | |||||
| 329 | </div> | |||||
| 330 | ||||||
| 331 | ||||||
| 332 | <div id= "controlGr oupFormula AutoNumber " class="c ontrol-gro up"> | |||||
| 333 | <label class="co ntrol-labe l required " for="for mulaAutoNu mber">Auto No. Value </label> | |||||
| 334 | <div c lass="cont rols"> | |||||
| 335 | <inp ut id="for mulaAutoNu mber" name ="formulaA utoNumber" type="tex t" class=" controls-i nput" onke ypress='re turn event .charCode >= 48 && e vent.charC ode <= 57' onchange= "North52.F ormulaEdit or.Registe rFieldSync AutoNumber ()" > | |||||
| 336 | ||||||
| 337 | </div> | |||||
| 338 | </div> | |||||
| 339 | ||||||
| 340 | ||||||
| 341 | <div id= "controlGr oupFormula DisplayFor mat" class ="control- group"> | |||||
| 342 | <label class="co ntrol-labe l required " for="for mulaDispla yFormat">D isplay For mat</label > | |||||
| 343 | <div c lass="cont rols"> | |||||
| 344 | <sel ect id="fo rmulaDispl ayFormat" class="con trols-inpu t-select" onchange= "North52.F ormulaEdit or.Registe rFieldSync DisplayFor mat()"> | |||||
| 345 | <o ption valu e="2178900 06">Boolea n</option> | |||||
| 346 | <o ption valu e="2178900 02">Curren cy</option > | |||||
| 347 | <o ption valu e="2178900 04">Date</ option> | |||||
| 348 | <o ption valu e="2178900 01">Date & amp; Time< /option> | |||||
| 349 | <o ption valu e="2178900 03">Decima l</option> | |||||
| 350 | <o ption valu e="2178900 00">String </option> | |||||
| 351 | <o ption valu e="2178900 05">Whole Number</op tion> | |||||
| 352 | </se lect> | |||||
| 353 | </div> | |||||
| 354 | </div> | |||||
| 355 | ||||||
| 356 | </di v> | |||||
| 357 | ||||||
| 358 | <h 5 style="b ackground: none; bor der: none; outline:0 ; box-shad ow: none;" > | |||||
| 359 | <a href= "#">Source & Tar get</a> | |||||
| 360 | < /h5> | |||||
| 361 | ||||||
| 362 | < div> | |||||
| 363 | ||||||
| 364 | <div id= "controlGr oupFormula SourceEnti ty" class= "control-g roup"> | |||||
| 365 | <label class="co ntrol-labe l required " for="for mulaSource Entity">So urce Entit y</label> | |||||
| 366 | <div i d="loading -sourceent ity" class ="controls "> <img st yle="float : left;" i d='loading -image-sou rceentity' alt="Load ing" src=" north52_im age_progre ss"> </div > | |||||
| 367 | ||||||
| 368 | <div i d="main-so urceentity "> | |||||
| 369 | <se lect class ="controls -input-sel ect" id=" sourceenti ty" onchan ge="North5 2.SourceEn tity.DropD ownChanged (this.valu e,this[thi s.selected Index].tex t)"></sele ct> </div> | |||||
| 370 | </div> | |||||
| 371 | ||||||
| 372 | ||||||
| 373 | <div id= "controlGr oupFormula SourceProp erty" clas s="control -group"> | |||||
| 374 | <label class="co ntrol-labe l required " for="for mulaSource Property"> Source Pro perty</lab el> | |||||
| 375 | <div i d="loading -sourcepro perty" cla ss="contro ls"> <img style="flo at: left;" id='loadi ng-image-s ourceprope rty' alt=" Loading" s rc="north5 2_image_pr ogress"> < /div> | |||||
| 376 | <div id="m ain-source property"> <select cl ass="contr ols-input- select" id ="metadata property" onchange=" North52.Me tadataProp erty.DropD ownChanged (this.valu e)" ondbl click="con sole.log(J SON.string ify(Metada taProperty .entityMet adata));" multiple=" " size="10 " name="me tadataprop erty" req= "2" height ="10"></se lect></div > | |||||
| 377 | </div> | |||||
| 378 | ||||||
| 379 | ||||||
| 380 | <div id= "controlGr oupFormula SourceRela tionship" class="con trol-group "> | |||||
| 381 | <label class="co ntrol-labe l required " for="for mulaSource Relationsh ip">Relati onship</la bel> | |||||
| 382 | <div c lass="cont rols"> | |||||
| 383 | <div id= "loading-s ourcerelat ionship">< img id='lo ading-imag e-sourcere lationship ' alt="Loa ding" src= "north52_i mage_progr ess"> </di v> | |||||
| 384 | <div id= "Div1"><se lect class ="controls -input-sel ect" id="s ourcerelat ionship" o nchange="N orth52.Sou rceRelatio nship.Drop DownChange d(this.val ue,true)"> </select> </div> | |||||
| 385 | ||||||
| 386 | </div> | |||||
| 387 | </div> | |||||
| 388 | ||||||
| 389 | ||||||
| 390 | <div id= "controlGr oupFormula TargetEnti ty" class= "control-g roup"> | |||||
| 391 | <label class="co ntrol-labe l required " for="for mulaTarget Entity">Ta rget Entit y</label> | |||||
| 392 | <div c lass="cont rols"> | |||||
| 393 | <div id="loadi ng-targete ntity"><im g id='load ing-image- targetenti ty' alt="L oading" sr c="north52 _image_pro gress"> </ div> | |||||
| 394 | <div id="m ain"><sele ct class=" controls-i nput-selec t" id="tar getentity" onchange= "North52.T argetEntit y.DropDown Changed(th is.value)" ></select> </div> | |||||
| 395 | </div> | |||||
| 396 | </div> | |||||
| 397 | ||||||
| 398 | ||||||
| 399 | <div id= "controlGr oupFormula TargetProp erty" clas s="control -group"> | |||||
| 400 | <label class="co ntrol-labe l required " for="for mulaTarget Property"> Target Pro perty</lab el> | |||||
| 401 | <div c lass="cont rols"> | |||||
| 402 | <div id= "loading-t argetprope rty"><img id='loadin g-image-ta rgetproper ty' alt="L oading" sr c="north52 _image_pro gress"> </ div> | |||||
| 403 | <div id= "main"><se lect class ="controls -input-sel ect" id="t argetprope rty" oncha nge="North 52.TargetP roperty.Dr opDownChan ged(this.v alue)"></s elect> </d iv> | |||||
| 404 | </div> | |||||
| 405 | </div> | |||||
| 406 | ||||||
| 407 | ||||||
| 408 | ||||||
| 409 | < /div> | |||||
| 410 | ||||||
| 411 | ||||||
| 412 | <h5 st yle="backg round: non e; border: none; out line:0; bo x-shadow: none;"> | |||||
| 413 | <a href= "#">Deploy ment Setti ngs</a> | |||||
| 414 | </ h5> | |||||
| 415 | ||||||
| 416 | ||||||
| 417 | <div> | |||||
| 418 | ||||||
| 419 | <di v id="cont rolGroupFo rmulaDeplo ymentSolut ion" class ="control- group"> | |||||
| 420 | <label class="co ntrol-labe l required " for="for mulaDeploy ment">Solu tion Deplo yment</lab el> | |||||
| 421 | <div i d="loading -formulade ploymentso lution" cl ass="contr ols"> <img style="fl oat: left; " id='load ing-image- formuladep loymentsol ution' alt ="Loading" src="nort h52_image_ progress"> </div> | |||||
| 422 | <d iv id="mai n-formulad eployments olution"> | |||||
| 423 | <se lect class ="controls -input-sel ect" id=" formulaDep loymentSol ution" onc hange="Nor th52.Deplo ymentSolut ion.DropDo wnChanged( this.value )"></selec t> </div> | |||||
| 424 | </ div> | |||||
| 425 | ||||||
| 426 | <div id= "controlGr oupPipelin eStage" cl ass="contr ol-group"> | |||||
| 427 | <label class="co ntrol-labe l required " for="for mulaType1" >Pipeline Stage</lab el> | |||||
| 428 | <div c lass="cont rols"> | |||||
| 429 | <sel ect id="fo rmulaPipel ineStage" class="co ntrols-inp ut-select" > | |||||
| 430 | <o ption valu e="2178900 00">Pre-Va lidation</ option> | |||||
| 431 | <o ption valu e="2178900 02" select ed>Pre-Ope ration</op tion> | |||||
| 432 | <o ption valu e="2178900 01">Post-O peration</ option> | |||||
| 433 | </se lect> | |||||
| 434 | </div> | |||||
| 435 | </div> | |||||
| 436 | ||||||
| 437 | ||||||
| 438 | <div id ="controlG roupFormul aTraceLeve l" class=" control-gr oup"> | |||||
| 439 | <label class="co ntrol-labe l required " for="for mulaType1" >Trace Lev el</label> | |||||
| 440 | <div c lass="cont rols"> | |||||
| 441 | <sel ect id="fo rmulaTrace Level" cl ass="contr ols-input- select" > | |||||
| 442 | <o ption valu e="2178900 00" select ed>Off</op tion> | |||||
| 443 | <o ption valu e="2178900 01">Inform ation</opt ion> | |||||
| 444 | <o ption valu e="2178900 04">Inform ation (Sho w Exceptio n Details) </option> | |||||
| 445 | <o ption valu e="2178900 02">Error< /option> | |||||
| 446 | </se lect> | |||||
| 447 | </div> | |||||
| 448 | </div> | |||||
| 449 | </div> | |||||
| 450 | ||||||
| 451 | ||||||
| 452 | <h5 s tyle="back ground: no ne; border : none; ou tline:0; b ox-shadow: none;"> | |||||
| 453 | <a href= "#">Advanc ed Setting s</a> | |||||
| 454 | </ h5> | |||||
| 455 | ||||||
| 456 | <d iv> | |||||
| 457 | ||||||
| 458 | ||||||
| 459 | <d iv id="con trolGroupF ormulaCate gory" clas s="control -group"> | |||||
| 460 | <lab el class=" control-la bel" for=" formulaCat egory">Cat egory</lab el> | |||||
| 461 | <div cl ass="contr ols"> | |||||
| 462 | <input i d="formula Category" name="form ulaCategor y" type="t ext" class ="controls -input" > | |||||
| 463 | </div> | |||||
| 464 | </div> | |||||
| 465 | ||||||
| 466 | <div id="contr olGroupFor mulaSubCat egory" cla ss="contro l-group"> | |||||
| 467 | <lab el class=" control-la bel" for=" formulaSub Category"> Sub-Catego ry</label> | |||||
| 468 | <div cl ass="contr ols"> | |||||
| 469 | <input i d="formula SubCategor y" name="f ormulaSubC ategory" t ype="text" class="co ntrols-inp ut" > | |||||
| 470 | </div> | |||||
| 471 | </div> | |||||
| 472 | ||||||
| 473 | ||||||
| 474 | ||||||
| 475 | <div i d="control GroupFormu laExecutio nOrder" cl ass="contr ol-group"> | |||||
| 476 | <lab el class=" control-la bel" for=" formulaExe cutionOrde r">Executi on Order</ label> | |||||
| 477 | <div cl ass="contr ols"> | |||||
| 478 | <input i d="formula ExecutionO rder" name ="formulaE xecutionOr der" type= "text" cla ss="contro ls-input" > | |||||
| 479 | </div> | |||||
| 480 | </div> | |||||
| 481 | ||||||
| 482 | ||||||
| 483 | < div id="co ntrolGroup FormulaCli entSideSav eMode" cla ss="contro l-group"> | |||||
| 484 | <label class="co ntrol-labe l" for="fo rmulaSourc eProperty" >Client Si de Save Mo de</label> | |||||
| 485 | <div id="contr ols"> | |||||
| 486 | <sel ect class= "controls- input-sele ct" id="fo rmulaClien tSideSaveM ode" oncha nge="" m ultiple="" size="10" req="2" height="10 "> | |||||
| 487 | <opt ion value= "0" select ed>All - S ave Events </option> | |||||
| 488 | <opt ion value= "1">All - Save</opti on> | |||||
| 489 | <opt ion value= "2">All - Save And C lose</opti on> | |||||
| 490 | <opt ion value= "59">All - Save And New</optio n> | |||||
| 491 | <opt ion value= "70">All - Save Auto Save</opt ion> | |||||
| 492 | <opt ion value= "5">All - Deactivate </option> | |||||
| 493 | <opt ion value= "6">All - Reactivate </option> | |||||
| 494 | <opt ion value= "47">UserT eam - Assi gn</option > | |||||
| 495 | <opt ion value= "7">Email - Send</op tion> | |||||
| 496 | <opt ion value= "16">Lead - Qualify< /option> | |||||
| 497 | <opt ion value= "15">Lead - Disquali fy</option > | |||||
| 498 | <opt ion value= "58">Activ ities - Sa ve As Comp leted</opt ion> | |||||
| 499 | </se lect></div > | |||||
| 500 | </div> | |||||
| 501 | ||||||
| 502 | ||||||
| 503 | < div id="co ntrolGroup FormulaGet DataXml" c lass="cont rol-group" > | |||||
| 504 | <label class="co ntrol-labe l" for="fo rmulaGetDa taXml">Cli entSide Ch anged Data Generatio n</label> | |||||
| 505 | <div c lass="cont rols"> | |||||
| 506 | <sel ect id="fo rmulaGetDa taXml" cl ass="contr ols-input- select" > | |||||
| 507 | <o ption valu e="2178900 00" select ed>Microso ft</option > | |||||
| 508 | <o ption valu e="2178900 01">North5 2</option> | |||||
| 509 | </se lect> | |||||
| 510 | </div> | |||||
| 511 | </div> | |||||
| 512 | ||||||
| 513 | ||||||
| 514 | <div id=" controlGro upFormulaC lientSideS yncAsync" class="con trol-group "> | |||||
| 515 | <label class="co ntrol-labe l" for="fo rmulaClien tSideSyncA sync">Clie ntSide Syn c Or Async .</label> | |||||
| 516 | <div c lass="cont rols"> | |||||
| 517 | <sel ect id="fo rmulaClien tSideSyncA sync" cla ss="contro ls-input-s elect" > | |||||
| 518 | <o ption valu e="2178900 00" select ed>Asynchr onous but Synchronou s for Save s</option> | |||||
| 519 | <o ption valu e="2178900 01">Synchr onous</opt ion> | |||||
| 520 | <o ption valu e="2178900 02">Asynch ronous</op tion> | |||||
| 521 | </se lect> | |||||
| 522 | </div> | |||||
| 523 | </div> | |||||
| 524 | ||||||
| 525 | <div id= "controlGr oupFormula ClientSide PreventDef aultAction " class="c ontrol-gro up"> | |||||
| 526 | <label class="co ntrol-labe l" for="fo rmulaClien tSidePreve ntDefaultA ction">Cli entSide Pr event Defa ult Action </label> | |||||
| 527 | <div c lass="cont rols"> | |||||
| 528 | <sel ect id="fo rmulaClien tSidePreve ntDefaultA ction" cl ass="contr ols-input- select" > | |||||
| 529 | <o ption valu e="2178900 00" select ed>Yes</op tion> | |||||
| 530 | <o ption valu e="2178900 01">No</op tion> | |||||
| 531 | </se lect> | |||||
| 532 | </div> | |||||
| 533 | </div> | |||||
| 534 | ||||||
| 535 | ||||||
| 536 | <d iv id="con trolGroupF ormulaClie ntSidePayL oad" class ="control- group"> | |||||
| 537 | <label class="co ntrol-labe l" for="fo rmulaClien tSidePayLo ad">Client Side Paylo ad Tab</la bel> | |||||
| 538 | <div i d="loading -formulacl ientsidepa yload" cla ss="contro ls"> <img style="flo at: left;" id='loadi ng-image-c lientsidep ayload' al t="Loading " src="nor th52_image _progress" > </div> | |||||
| 539 | <d iv id="mai n-formulac lientsidep ayload"> | |||||
| 540 | <selec t class="c ontrols-in put-select " id="for mulaClient SidePayLoa d" onchang e="North52 .ClientSid ePayLoadTa b.DropDown Changed(th is.value)" ></select> </div> | |||||
| 541 | </ div> | |||||
| 542 | ||||||
| 543 | ||||||
| 544 | </di v> | |||||
| 545 | ||||||
| 546 | ||||||
| 547 | </div> | |||||
| 548 | </div> | |||||
| 549 | ||||||
| 550 | </div> <!- --Tab---> | |||||
| 551 | ||||||
| 552 | <div id="tabs- functions" > | |||||
| 553 | ||||||
| 554 | <di v id="refr eshContain er-functio ns" class ="refresh- container" > | |||||
| 555 | <input i d="txtFind " class="c ontrols-in put" style ="border:1 px solid g ray; width : 90%;" ty pe="text" placeholde r="Search functions. .." /> | |||||
| 556 | <input i d="clearFu nction" st yle="paddi ng-left: 1 0px; paddi ng-right: 3px;" onc lick="Nort h52.Formul aEditor.Cl earFunctio ns();" ty pe="image" src="nort h52_/css/i mage_clear " > | |||||
| 557 | < /div> | |||||
| 558 | ||||||
| 559 | ||||||
| 560 | <d iv id="tar getContain er" style= "height: 9 3%; overfl ow: auto"> | |||||
| 561 | ||||||
| 562 | ||||||
| 563 | ||||||
| 564 | < ul id="tre efunctions "> | |||||
| 565 | <li clas s="folder" ><a class= "ui-link"> <span>Clie ntSide</sp an></a> | |||||
| 566 | <ul> | |||||
| 567 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Prov ides the a bility to add a cust om view to a lookup control. < br></br> < i> AddCus tomView('p referredsy stemuserid ', 'system user', 'On ly users i n Canada B U', GetFet chXML('Can adaUsers') , GetLayou tXML('Cana daUsers'), false)</i >">AddCust omView('co ntrolname' , 'entityl ogicalname ', 'nameof view', 'Fe tchXml', ' LayoutXml' , 'isDefau lt')</span ></a></li> | |||||
| 568 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Pres ents a pop -up alert to the use r. <br></b r> <i> A lert('Ente r any mess age here.' )</i>">Ale rt('messag e')</span> </a></li> | |||||
| 569 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Adds a pre fil ter lookup to the co ntrolid. < br></br> < i> AddPre FilterLook up('parent accountid' , 'ab5', ' fetchxml_f ragment', 'account') </i>">AddP reFilterLo okup('cont rolid', 'f ormulashor tcode', 'f ilter', 'e ntityfilte r')</span> </a></li> | |||||
| 570 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the activ e business process f or the cur rent recor d <br></br > <i> B PSetActive Process('O pportunity Sales Pro cess')</i> ">BPSetAct iveProcess ('processn ame')</spa n></a></li > | |||||
| 571 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the activ e business process s tage for t he current record <b r></br> <i > BPSet ActiveStag e('Opportu nity Sales Process', 'Develop' )</i>">BPS etActiveSt age('proce ssname', ' stagename' )</span></ a></li> | |||||
| 572 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Move s the busi ness proce ss to the next stage <br></br > <i> B PMoveNextS tage()</i> ">BPMoveNe xtStage()< /span></a> </li> | |||||
| 573 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Move s the busi ness proce ss to the previous s tage <br>< /br> <i> BPMovePr eviousNext Stage()</i >">BPMoveP reviousSta ge()</span ></a></li> | |||||
| 574 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ve a pre f ilter look up to the controlid. <br></br > <i> Re movePreFil terLookup( 'parentacc ountid')</ i>">Remove PreFilterL ookup('con trolid')</ span></a>< /li> | |||||
| 575 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Pres ents a pop -up alert to the use r and clea rs the lis ted fields . <br></br > <i> A lertClear( 'Enter any message h ere.', 'de scription' )</i>">Ale rtClear('m essage', ' fieldname' )</span></ a></li> | |||||
| 576 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Clea rs the con tents of a ny fields. <br></br> <i> Cl earFields( 'name', 'd escription ')</i>">Cl earFields( 'fieldname ')</span>< /a></li> | |||||
| 577 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Clea rs the for m notifica tion. <br> </br> <i> ClearForm Notificati on('unique ID') <br>< /br>Update d Entities for CRM 2 013 Only.< /i>">Clear FormNotifi cation('un iqueID')</ span></a>< /li> | |||||
| 578 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Clea rs the con trol notif ication. < br></br> < i> ClearC ontrolNoti fication(' fieldname' ) <br></br >Updated E ntities fo r CRM 2013 Only.</i> ">ClearCon trolNotifi cation('fi eldname')< /span></a> </li> | |||||
| 579 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Coll apses a ta b. <br></b r> <i> CollapseTa bs('tab1', 'tab2')</ i>">Collap seTabs('ta b')</span> </a></li> | |||||
| 580 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Disa bles one o r more fie lds on a f orm. <br> </br> <i> DisableF ields('nam e', 'descr iption') < br></br> DisableFie lds('*')</ i>">Disabl eFields('f ieldname') </span></a ></li> | |||||
| 581 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Enab les one or more fiel ds on a fo rm. <br></ br> <i> EnableFie lds('name' , 'descrip tion') <br ></br> En ableFields ('*')</i>" >EnableFie lds('field name')</sp an></a></l i> | |||||
| 582 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Expa nds a tab. <br></br> <i> Ex pandTabs(' tab1', 'ta b2')</i>"> ExpandTabs ('tab')</s pan></a></ li> | |||||
| 583 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Exec utes a dia log.<br></ br> <i> E xecuteDial og('Onboar d Client') </i>">Exec uteDialog( 'dialognam e')</span> </a></li> | |||||
| 584 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Exec utes a wor kflow. <br ></br> <i> Execut eWorkflow( 'Onboard P rospect', '873489c-9 92f-22db-8 454-080025 5c9a55')</ i>">Execut eWorkflow( 'workflown ame', 'rec ordguid')< /span></a> </li> | |||||
| 585 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Hide s one or m ore fields on a form . <br></b r> <i> H ideFields( 'name', 'd escription ')</i>">Hi deFields(' fieldname' )</span></ a></li> | |||||
| 586 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Hide s one or m ore left h and naviga tion items . <br></br > Note: Yo u need to refer to t he nav ite m id of th e link, so use F12 d eveloper t ools in IE to get th is.<br></b r> <i> H ideLeftHan dNavItems( 'navcontac ts', 'navo rders')</i >">HideLef tHandNavIt ems('navna me')</span ></a></li> | |||||
| 587 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Hide s one or m ore sectio ns on a fo rm. <br>< /br> <i> HideSecti ons('gener al.notes', 'general. contact')< /i>">HideS ections('t abname.sec tionname') </span></a ></li> | |||||
| 588 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Hide s one or m ore tabs o n a form. <br></br> <i> Hid eTabs('gen eral', 'ad ministrati ve')</i>"> HideTabs(' tabname')< /span></a> </li> | |||||
| 589 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Exec utes multi ple client side acti ons. <br>< /br> <i> Multiple ClientSide (SetClient SideField( 'lastname' , 'Test'), DisableFi elds('firs tname', 'l astname'), ClearFiel ds('firstn ame'))</i> ">Multiple ClientSide ('action1' , 'action2 ')</span>< /a></li> | |||||
| 590 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Open s a new wi ndow given a url">Op enWindow(' url')</spa n></a></li > | |||||
| 591 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Open s a new en tity form <br></br> e.g. Open a specific record <i >OpenEntit yForm('acc ount', '10 124ac3-0f6 f-40dd-be6 4-d8c0bc5d bfbd') </i ><br></br> e.g. Open a new acc ount recor d <i> Open EntityForm ('account' , 'null') </i>">Open EntityForm ('name', ' id')</span ></a></li> | |||||
| 592 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Refr esh the fo rm. Add tr ue to save any data otherwise false <br> </br> <i> Refresh Form('true ')</i>">Re freshForm( 'boolean') </span></a ></li> | |||||
| 593 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Refr esh a subg rid. <br>< /br> <i> RefreshS ubGrid('gr idname')</ i>">Refres hSubGrid(' gridname') </span></a ></li> | |||||
| 594 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Refr esh a web- resource. <br></br> <i> Ref reshWebRes ource('IFR AME_webpag e')</i>">R efreshWebR esource('w ebresource ')</span>< /a></li> | |||||
| 595 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sele cts a give n form. Th e input pa rameter is the index number of the list of forms, starting a t zero <br ></br> <i> Select Form('0')< /i>">Selec tForm('for mid')</spa n></a></li > | |||||
| 596 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Set a field on the clien t side. < br></br> Shows how to set all field typ es except lookups <i >e.g. SetC lientSideF ield('last name', 'Ga tes'),</i> <br></br> Shows how to set lo okup field s e.g. <i> SetClient SideField( 'parentcus tomerid', 'account', '10124ac3 -0f6f-40dd -be64-d8c0 bc5dbfbd', 'Microsof t' )</i>"> SetClientS ideField(' fieldname' , 'fieldva lue')</spa n></a></li > | |||||
| 597 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Set a field to the data it has plu s some new data. <b r></br> <i > SetCli entSideFie ldAppend(' descriptio n', ' Hell o from Nor th52')</i> ">SetClien tSideField Append('fi eldname', 'datatoapp end')</spa n></a></li > | |||||
| 598 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets a control notificat ion. <br>< /br> <i> SetContro lNotificat ion('accou ntnumber', 'Please e nter an ac count numb er') <br>< /br>Update d Entities for CRM 2 013 Only.< /i>">SetCo ntrolNotif ication('f ieldname', 'message' )</span>< /a></li> | |||||
| 599 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Set a default view. <br ></br><i> SetDefault View('cust omerid', ' 630dd379c- ee2f-11db- 8314-08002 00c9a5')</ i>">SetDef aultView(' lookup', ' viewid')</ span></a>< /li> | |||||
| 600 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the form notificati on. <br></ br> The l evel param eters are ERROR, WAR NING, INFO . <br></b r><i> SetF ormNotific ation('Acc ount over due', 'WAR NING, '1') <br></br> Updated En tities for CRM 2013 Only.</i>" >SetFormNo tification ('message' , 'level', 'uniqueID ')</span>< /a></li> | |||||
| 601 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Set the focus on a field . <br></br > <i> S etFocus('d escription ')</i>">Se tFocus('fi eldname')< /span></a> </li> | |||||
| 602 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Set an iframe. <br></br > <i> Se tIFrame('I FRAME_web' , 'http:// www.micros oft.com')< /i>">SetIF rame('ifra mecontrol' , 'website address')< /span></a> </li> | |||||
| 603 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets one or mo re fields to be requ ired. <br ></br> <i> SetRequ iredFields ('name', ' descriptio n')</i>">S etRequired Fields('fi eldname')< /span></a> </li> | |||||
| 604 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets one or mo re fields to be not required. <br></br> <i> Set NotRequire dFields('n ame', 'des cription') </i>">SetN otRequired Fields('fi eldname')< /span></a> </li> | |||||
| 605 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the avail able pickl ist values . <br></br > Primaril y used to filter pic klist when they are dependent on another field.<br ></br> The first par ameter is the option set field name, the second is a boolean which if t rue will i nclude an empty opti on set val ue. <br>Fo r records with no sa ved option set value the first item in th e list wil l be the d efault if the empty parameter does not e xist. < br></br>Th en you can pass in a list of o ptionset v alues, onl y these wi ll display in the pi cklist. <b r></br> <i > SetPick listValues ('address1 _shippingm ethodcode' , 'true', 1,2,3)</i> ">SetPickl istValues( 'field', ' emptyvalue ', 'option setvalue', 'optionse tvalue')</ span></a>< /li> | |||||
| 606 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Show s one or m ore fields on a form . <br></b r> <i> S howFields( 'name', 'd escription ')</i>">Sh owFields(' fieldname' )</span></ a></li> | |||||
| 607 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Show s one or m ore left h and naviga tion items .<br></br> Note: You need to r efer to th e nav item id of the link, so use F12 de veloper to ols in IE to get thi s. <br></b r> <i> ShowLeftHa ndNavItems ('navconta cts', 'nav orders')</ i>">ShowLe ftHandNavI tems('navn ame')</spa n></a></li > | |||||
| 608 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Show s one or m ore sectio ns on a fo rm. <br></ br> <i> ShowSecti ons('gener al.notes', 'general. contact')< /i>">ShowS ections('t abname.sec tionname') </span></a ></li> | |||||
| 609 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Show s one or m ore tabs o n a form. <br></br> <i> Sho wTabs('gen eral', 'ad ministrati ve')</i>"> ShowTabs(' tabname')< /span></a> </li> | |||||
| 610 | </ul> | |||||
| 611 | </li> | |||||
| 612 | <li clas s="folder" ><a class= "ui-link"> <span>Conv ersion</sp an></a> | |||||
| 613 | <ul> | |||||
| 614 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a deci mal which is the con versation of the 'st ringvalue' from a st ring to a decimal. < br></br> < i> CDec imal('4.0' ) Returns 4.0</i>">C Decimal('s tringvalue ')</span>< /a></li> | |||||
| 615 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a int 32 which i s the conv ersation o f the deci mal 'value '. <br></b r> <i> C DecimalToI nt32(9.23) Returns 9 </i>">CDec imalToInt3 2('value') </span></a ></li> | |||||
| 616 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a doub le which i s the conv ersation o f the 'str ingvalue' from a str ing to a d ouble. <br ></br> <i> CDoubl e('4.0') R eturns 4.0 </i>">CDou ble('strin gvalue')</ span></a>< /li> | |||||
| 617 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a int 32 which i s the conv ersation o f the floa t 'value'. <br></br> <i> CFl oatToInt32 (9.23) Ret urns 9</i> ">CFloatTo Int32('val ue')</span ></a></li> | |||||
| 618 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a int 32 which i s the conv ersation o f the 'str ingvalue' from a str ing to a i nt. <br></ br> <i> CInt32('4' ) Returns 4</i>">CIn t32('strin gvalue')</ span></a>< /li> | |||||
| 619 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a int 64 which i s the conv ersation o f the 'str ingvalue' from a str ing to a i nt. <br></ br> <i> CInt64('9' ) Returns 9</i>">CIn t64('strin gvalue')</ span></a>< /li> | |||||
| 620 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns an Opt ionSetValu e <br></br > <i> CO ptionSetVa lue('9')</ i>">COptio nSetValue( 'stringval ue')</span ></a></li> | |||||
| 621 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a stri ng represe ntation of any numbe r, decimal , currency or boolea n value. A n optional format ma y also be applied. <br></br> <i> ToSt ring(99) R eturns '99 ' <br></br > ToStrin g(LocalDat e(), 'MMM- yyyy') Ret urns 'DEC- 2011'</i>" >ToString( 'valuetoco nvert', 'f ormat')</s pan></a></ li> | |||||
| 622 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a stri ng of XML from the N ode (i.e. an XML Ele ment) ">CN odeToXml(' node')</sp an></a></l i> | |||||
| 623 | </ul> | |||||
| 624 | </li> | |||||
| 625 | <li clas s="folder" ><a class= "ui-link"> <span>Date </span></a > | |||||
| 626 | <ul> | |||||
| 627 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a date which is calculated by adding the numbe r of days parameter to the giv en date. < br></br> < i> AddDa ys('02/23/ 2012', 4) Returns 02 /27/2012 ( US Format) </i>">AddD ays('datet ime', 'num berofdays' )</span></ a></li> | |||||
| 628 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a date which is calculated by adding the numbe r of hours parameter to the gi ven date. <br></br> <i> AddH ours('02/2 3/2012 00: 00:00', 4) Returns 0 2/23/2012 04:00:00 ( US Format) </i>">AddH ours('date time', 'nu mberofhour s')</span> </a></li> | |||||
| 629 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a date which is calculated by adding the numbe r of month s paramete r to the g iven date. <br></br> <i> Add Months('04 /15/2012', 3) Return s 07/15/20 12 (US For mat)</i>"> AddMonths( 'datetime' , numberof months)</s pan></a></ li> | |||||
| 630 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a date which is calculated by adding the numbe r of minut es paramet er to the given date . <br></br > <i> Ad dMinutes(' 04/15/2012 ', 10) Ret urns 04/15 /2012 : 12 :10:00 (US Format)</ i>">AddMin utes('date time', 'nu mberofminu tes')</spa n></a></li > | |||||
| 631 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a date which is calculated by adding the numbe r of secon ds paramet er to the given date . <br></br > <i> Ad dSeconds(' 04/15/2012 ', 30) Ret urns 07/15 /2012 : 12 :00:30 (US Format)</ i>">AddSec onds('date time', 'nu mberofseco nds')</spa n></a></li > | |||||
| 632 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a date which is calculated by adding the numbe r of years parameter to the gi ven date. <br></br> <i> AddY ears('08/1 3/2012', 2 ) Returns 08/13/2014 (US Forma t)</i>">Ad dYears('da tetime', ' numberofye ars')</spa n></a></li > | |||||
| 633 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a date (UTC) giv en a set o f inputs. <br></br> <i> Create Date(2008, 2, 5, 0, 0, 0, 0) R eturns '20 08/02/05'< /i>">Creat eDate('yea r','month' ,'day', 'h our','minu te','secon d','millis econd')</s pan></a></ li> | |||||
| 634 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Calc ulate the difference in time b etween 2 d ates for a specified interval. <br></br> <br></br>I nputs: <br ></br>-Fro m Date <br ></br>-To Date <br>< /br>-Inter val ('y'- Years, 'q' - Quarters , 'm'- Mon ths, 'pm' - Months, 'w'- Weeks , 'd'- Day s, 'wd'- W eekdays, ' h'- Hours, 'mi'- Min utes, 's'- Seconds) <br></br> <br></br > <i> Date Diff('11/0 8/2009', ' 03/20/2011 ', 'm') Re turns 16 ( US Format) <br></br> DateDiff(' 03/03/2009 ', '06/01/ 2009', 'pm ') Returns 4 as ther e are 4 pe riod month s (US Form at)</i>">D ateDiff('f romdate', 'todate', 'interval' )</span></ a></li> | |||||
| 635 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Calc ulate the elapsed di fference i n time bet ween 2 dat es for a s pecified i nterval.<b r></br> <b r></br>Inp uts: <br>< /br>-From Date <br>< /br>-To Da te <br></b r>-Interva l ('y'- Ye ars, 'm'- Months, 'q '- Days, ' h'- Hours, 'mi'- Min utes, 's'- Seconds) <br></br> <i> <br ></br>Date DiffElapse d('11/08/2 009', '03/ 20/2011', 'm') Retur ns 4 (US F ormat) </i >">DateDif fElapsed(' fromdate', 'todate', 'interval ')</span>< /a></li> | |||||
| 636 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Calc ulate the elapsed de scription difference in time b etween 2 d ates for a specified interval. <br></br> <br></br>I nputs: <br ></br>-Fro m Date <br ></br>-To Date <br>< /br>-Inter val ('y'- Years, 'm' - Months, 'd'- Days, 'h'- Hour s, 'mi'- M inutes, 's '- Seconds ) <br></b r> <i> < br></br>Da teDiffDesc ription('1 1/08/2009' , '03/20/2 011', 'd') Returns 1 Year 4 Mo nths 12 Da ys</i>">Da teDiffDesc ription('f romdate', 'todate', 'interval' )</span></ a></li> | |||||
| 637 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the nu mber of wo rking days between t wo dates. <br></br>U ses a Mond ay - Frida y work wee k by defau lt and the records d efined in the busine ss close c alendar wi thin CRM. <br></br> <i> Di ffWorkingD ays('12/18 /2012', '1 2/21/2012' ) Returns 3</i>">Di ffWorkingD ays('start date', 'en ddate')</s pan></a></ li> | |||||
| 638 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the da te only pa rt of a da tetime. < br></br><i > GetDateO nly('01/18 /2012 16:3 4:54') Ret urns '01/1 8/2012' (U S Format)< /i>">GetDa teOnly('da tetime')</ span></a>< /li> | |||||
| 639 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the da y part of a datetime . <br></ br><i> Get Day('01/18 /2012') Re turns 18 ( US Format) </i>">GetD ay('dateti me')</span ></a></li> | |||||
| 640 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the da y name for the given datetime. <br></b r><i> GetD ayOfWeekNa me('01/01/ 2015') Ret urns Thurs day</i>">G etDayOfWee kName('dat etime')</s pan></a></ li> | |||||
| 641 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the da y number f or the giv en datetim e. <br>< /br><i> Ge tDayOfWeek Number('01 /01/2015') Returns 4 </i>">Get DayOfWeekN umber('dat etime')</s pan></a></ li> | |||||
| 642 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the nu mber of da ys in the given mont h. <br></b r> <i> GetDaysInM onth('01/0 1/2012') Returns 31 </i>">GetD aysInMonth ('datetime ')</span>< /a></li> | |||||
| 643 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the fi rst day of the month given a d ate. Optio nal parame ter to add a number of months to input d ate. <br>< /br> <i> GetFirst DayOfMonth ('01/01/20 12', 3) R eturns 04/ 01/2012</i >">GetFirs tDayOfMont h('datetim e', 'addmo nths')</sp an></a></l i> | |||||
| 644 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the la st day of the month given a da te. Option al paramet er to add a number o f months t o input da te. <br></ br> <i> GetLastDa yOfMonth(' 01/01/2012 ', 2) Ret urns 03/31 /2012</i>" >GetLastDa yOfMonth(' datetime', 'addmonth s')</span> </a></li> | |||||
| 645 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the fi rst day of the week given a da te. <br>< /br> <i> GetFirst DayOfWeek( '09/09/201 5') Retur ns 06/09/2 015</i>">G etFirstDay OfWeek('da tetime')</ span></a>< /li> | |||||
| 646 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the mo nth part o f a dateti me. <br> </br> <i> GetMonth(' 01/18/2012 ') Returns 1 (US For mat)</i></ i>">GetMon th('dateti me')</span ></a></li> | |||||
| 647 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ne xt working day given a date to start fro m. <br></b r>Uses a M onday - Fr iday work week by de fault and the record s defined in the bus iness clos e calendar within CR M. <br></ br> <i> GetNextWo rkingDay(' 12/20/2012 ') Return s 12/21/20 12 (US For mat)</i>"> GetNextWor kingDay('s tartdate') </span></a ></li> | |||||
| 648 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ne xt working time give n a date t o start fr om and a n umber of m inutes to increment by. <br></ br>Uses a Monday - F riday work week by d efault and the recor ds defined in the bu siness clo se calenda r within C RM. <br></ br> <i> GetNextWo rkingTime( '12/20/201 2 16:00:00 ', true, ' 9:30', '17 :00', 90) Returns 1 2/21/2012 10:00:00 (US Format )</i>">Get NextWorkin gTime('sta rtdate', ' useBusines sCalendar' , 'DayStar tTime', 'D ayEndTime' , 'NumberO fMins')</s pan></a></ li> | |||||
| 649 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ye ar part of a datetim e. <br></ br> <i> G etYear('01 /18/2012') Returns 2 012 (US Fo rmat</i>"> GetYear('d atetime')< /span></a> </li> | |||||
| 650 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the we ek number for the sp ecified da te. The we ek number will be as defined b y the ISO 8601 stand ard. <br> </br> <i> GetWeek(' 01/18/2012 ') Returns 3 (US For mat)</i>"> GetWeek('d atetime')< /span></a> </li> | |||||
| 651 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the el apsed week number fo r the spec ified date . <br></br >The week number wil l be as de fined as a simple di vision of 7 over the number of days sinc e Jan 01. <br></br> <i> Get WeekElapse d('12/31/2 012') Retu rns 52 (US Format)</ i>">GetWee kElapsed(' datetime') </span></a ></li> | |||||
| 652 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true o r false if the given date is a leap year . <br></br > <i> I sLeapYear( '01/01/201 2') Retur ns true">I sLeapYear( 'datetime' )</span></ a></li> | |||||
| 653 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f the pass ed date is a working day. <br> </br>Uses a Monday - Friday wo rk week by default a nd the rec ords defin ed in the business c lose calen dar within CRM. <br ></br> <i> IsWork ingDay('06 /04/2012') Returns true</i>"> IsWorkingD ay('dateto check')</s pan></a></ li> | |||||
| 654 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the cu rrent date for the t imezone th at is set for the re questing u ser. You c an also pa ss in an a n integer timezone p arameter < br></br> < i> Loca lDate() R eturns 06/ 04/2012 <b r></br> LocalDate( 35) Retur ns 06/04/2 012 Easter n Time</i> ">LocalDat e()</span> </a></li> | |||||
| 655 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the cu rrent date and time for the ti mezone tha t is set f or the req uesting us er. You ca n also pas s in an an integer t imezone pa rameter <b r></br> <i > Local DateTime() Returns 0 6/04/2012 21:43 <br> </br> Lo calDateTim e(35) Retu rns 06/04/ 2012 16:43 </i>">Loca lDateTime( )</span></ a></li> | |||||
| 656 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the da te and tim e given a UTC dateti me for the timezone that is se t for the requesting user. <br ></br> <i> LocalT imeFromUtc Time('06/0 4/2012 21: 43') Retur ns 06/04/2 012 23:43< /i>">Local TimeFromUt cTime('dat etime')</s pan></a></ li> | |||||
| 657 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the cu rrent UTC date. <br> </br> <i> UtcDate () Returns 06/04/201 2</i>">Utc Date()</sp an></a></l i> | |||||
| 658 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the cu rrent UTC date and t ime. <br>< /br> <i> UtcDateT ime() Retu rns 06/04/ 2012 21:43 </i>">UtcD ateTime()< /span></a> </li> | |||||
| 659 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the cu rrent UTC time given a date an d time tha t is local to a spec ified user . <br></br > <i> U tcTimeFrom LocalTime( '06/04/201 2 21:43') Returns 0 6/04/2012 20:43</i>" >UtcTimeFr omLocalTim e('datetim e')</span> </a></li> | |||||
| 660 | ||||||
| 661 | </ul> | |||||
| 662 | </li> | |||||
| 663 | ||||||
| 664 | < li class ="folder"> <a class=" ui-link">< span>Find (Single Va lues)</spa n></a> | |||||
| 665 | <ul> | |||||
| 666 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 667 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 668 | <li clas s="file">< a class="u i-link"><b ><span tit le="">*** Single Val ue Functio ns ***</sp an></b></a ></li> | |||||
| 669 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the av erage valu e of the ' outputfiel dname' for the recor ds specifi ed by the input para meters. <b r></br> e. g Returns the value of the ave rage estim atedvalue of all opp ortunities for a cus tomer.<br> </br> <i> FindAvg('o pportunity ', 'custom erid', [ac count.acco untid], 'e stimatedva lue', '0', false)</i >">FindAvg ('entitylo gicalname' , 'inputfi eldname', 'inputfiel dvalue', ' outputfiel dname', 'd efaultvalu e')</span> </a></li> | |||||
| 670 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the nu mber of re cords spec ified by t he input p arameters. <br></br > <i> e.g Returns t he count o f all oppo rtunities for a cust omer.<br>< /br> <i> F indCount(' opportunit y', 'custo merid', [a ccount.acc ountid], ' estimatedv alue', '0' , false)</ i>">FindCo unt('entit ylogicalna me', 'inpu tfieldname ', 'inputf ieldvalue' , 'outputf ieldname', 'defaultv alue')</sp an></a></l i> | |||||
| 671 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find s a comma seperated list of va lues on an entity ba sed on 1 i nput field . <br></b r>Note tha t the reco rdcount pa rameter is optional (default i s 50). <b r></br> F ind a list of accoun t names th at have an address1_ city value of seattl e. <br></ br> <i> Fi ndListValu es('accoun t', 'addre ss1_city', 'seattle' , 'name') Returns 'B ungie, Exp edia, Micr osoft' </i > <br></br > Find a list of ac count name s with no filters ap plied. <b r></br> <i > FindList Values('ac count', '* ', '*', 'n ame') Retu rns 'Abbot t, Acer, A pple'</i>" >FindListV alues('ent itylogical name', 'in putfieldna me', 'inpu tfieldvalu e', 'outpu tfieldname ', 'record count')</s pan></a></ li> | |||||
| 672 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ma ximum valu e of the ' outputfiel dname' for the recor ds specifi ed by the input para meters.<br ></br> e.g Returns t he value o f the max estimatedv alue of al l opportun ities for a customer .<br></br> <i> FindM ax('opport unity', 'c ustomerid' , [account .accountid ], 'estima tedvalue', '0', fals e)</i>">Fi ndMax('ent itylogical name', 'in putfieldna me', 'inpu tfieldvalu e', 'outpu tfieldname ', 'defaul tvalue')</ span></a>< /li> | |||||
| 673 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the mi nimum valu e of the ' outputfiel dname' for the recor ds specifi ed by the input para meters.<br ></br> e.g Returns t he value o f the min estimatedv alue of al l opportun ities for a customer . <br></br > <i>FindM in('opport unity', 'c ustomerid' , [account .accountid ], 'estima tedvalue', '0', fals e)</i>">Fi ndMin('ent itylogical name', 'in putfieldna me', 'inpu tfieldvalu e', 'outpu tfieldname ', 'defaul tvalue')</ span></a>< /li> | |||||
| 674 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the Su m of the ' outputfiel dname' for the recor ds specifi ed by the input para meters.<br ></br> e.g Returns s um of all opportunit ies for a customer. <br></br> <i>FindSum ('opportun ity', 'cus tomerid', [account.a ccountid], 'estimate dvalue', ' 0', false) </i>">Find Sum('entit ylogicalna me', 'inpu tfieldname ', 'inputf ieldvalue' , 'outputf ieldname', 'defaultv alue')</sp an></a></l i> | |||||
| 675 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find s a value in any pro perty on a ny entity based on 1 input fie ld. Note t hat the de faultvalue parameter is option al. <br></ br> Find on the acc ount entit y the desc ription pr operty whe re the nam e equals M icrosoft. <br></br> <i>FindVal ue('accoun t', 'name' , 'Microso ft', 'desc ription', 'Not Found ', false) Returns 'M icrosofts Dynamics C RM Rocks.' </i><br>< /br> You can also p ass in par ameters to the funct ion <br></ br><i>Find Value('acc ount', 'na me', [acco unt.parent accountnam e], 'descr iption', ' Not Found' ) Returns 'North52 F ormula Man ager Rocks .'</i> <br ></br> You can searc h based on multiple input para meters. <i ><br></br> FindValue ('account' , SetFindA nd('name', 'accountn umber'), S etFindAnd( 'north52', 'Acc-1004 52'), 'des cription') <br></br> Note 1: By default t he nolock parameter is set to false</br> Note 2: By default t he cacheen abled para meter is s et to true . When usi ng formula s of type Process Ge nie it may be useful to set th is paramet er to fals e if you n eed to byp ass the ca che and go directly to the dat abase each time it i s invoked within the lifetime of the wor kflow.</i> ">FindValu e('entityl ogicalname ', 'inputf ieldname', 'inputfie ldvalue', 'outputfie ldname','d efaultvalu e', 'noloc k', 'cache enabled')< /span></a> </li> | |||||
| 676 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 677 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 678 | <li clas s="file">< a class="u i-link"><b ><span tit le="">*** Single Val ue Functio ns (FetchX ml) ***</s pan></b></ a></li> | |||||
| 679 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the va lue of the 'fieldnam e' for the first row in the se t of recor ds specifi ed by the fetch-xml. <br></br> e.g Return s the esti mated reve nue for th e supplied fetchxml. <br></br> <i>FindVa lueFD('Ope nOpportuni ties', 'es timatedrev enue', '0' , false)</ i>">FindVa lueFD('for muladetail name', 'fi eldname', 'defaultva lue')</spa n></a></li > | |||||
| 680 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 681 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 682 | <li clas s="file">< a class="u i-link"><b ><span tit le="">*** Single Val ue Agg. Fu nctions (F etchXml) * **</span>< /b></a></l i> | |||||
| 683 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the av erage valu e of the ' fieldname' for the r ecords spe cified by the fetch- xml.<br></ br> e.g Re turns the value of t he average estimated value of a ll opportu nities for a custome r. <br></b r> <i>Find AvgFD('Ope nOpportuni ties', 'es timatedrev enue', '0' , false, S etParams(' param1', ' param2'))< /i>">FindA vgFD('form uladetailn ame', 'fie ldname', ' defaultval ue')</span ></a></li> | |||||
| 684 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the nu mber of re cords as s pecified b y the fetc h-xml. <br ></br> e.g Returns t he count o f all oppo rtunities. <br></br> <i>FindCo untFD('Ope nOpportuni ties', 'es timatedrev enue', '0' , false, S etParams(' param1', ' param2'))< /i>">FindC ountFD('fo rmuladetai lname', 'f ieldname', 'defaultv alue')</sp an></a></l i> | |||||
| 685 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ma ximum valu e of the ' fieldname' for the r ecords spe cified by the fetch- xml.<br></ br> e.g Re turns the value of t he max est imatedvalu e of all o pportuniti es for a c ustomer. < br></br> < i>FindMaxF D('OpenOpp ortunities ', 'estima tedrevenue ', '0', fa lse, SetPa rams('para m1', 'para m2'))</i>" >FindMaxFD ('formulad etailname' , 'fieldna me', 'defa ultvalue') </span></a ></li> | |||||
| 686 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the mi nimum valu e of the ' fieldname' for the r ecords spe cified by the fetch- xml.<br></ br> e.g Re turns the value of t he min est imatedvalu e of all o pportuniti es for a c ustomer. < br></br> < i>FindMinF D('OpenOpp ortunities ', 'estima tedrevenue ', '0', fa lse, SetPa rams('para m1', 'para m2'))</i>" >FindMinFD ('formulad etailname' , 'fieldna me', 'defa ultvalue') </span></a ></li> | |||||
| 687 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the Su m of the ' fieldname' for the r ecords spe cified by the fetch- xml.<br></ br> e.g Re turns sum of all opp ortunities for a cus tomer. <br ></br> <i> FindSumFD( 'OpenOppor tunities', 'estimate drevenue', '0', fals e, SetPara ms('param1 ', 'param2 '))</i>">F indSumFD(' formuladet ailname', 'fieldname ', 'defaul tvalue')</ span></a>< /li> | |||||
| 688 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 689 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 690 | <li clas s="file">< a class="u i-link"><b ><span tit le="">*** Business P rocess Fun ctions *** </span></b ></a></li> | |||||
| 691 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the Bu siness Pro cess ID of the given process n ame.<br></ br> <i> Fi ndBPProces sID('Oppor tunity Sal es Process ')</i>">Fi ndBPProces sID('busin ess proces s name')</ span></a>< /li> | |||||
| 692 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the Bu siness Pro cess Stage ID of the given pro cess name and stage. <br></br> <i> FindBP GetStageID ('Opportun ity Sales Process', 'Develop') </i>">Find BPGetStage ID('busine ss process name', 's tage name' )</span></ a></li> | |||||
| 693 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 694 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 695 | <li clas s="file">< a class="u i-link"><b ><span tit le="">*** Misc. ***< /span></b> </a></li> | |||||
| 696 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find a templat e ID based on a name and langu age code<b r></br> <i > FindTemp lateId('Sa les Quote' , '1033')< /i>">FindT emplateId( 'name', 'l anguagecod e')</span> </a></li> | |||||
| 697 | <li class= "file"><a class="ui- link"><spa n class="h elpId" tit le="Builds multiple 'And' cond itions for a fetch-x ml filter. Only used with Find functions .<br></br> <i>FindVa lue('oppor tunity', S etFindAnd( 'accountid ', 'addres s1_city'), SetFindAn d([account .accountid ], [accoun t.address1 _city]), ' budgetamou nt'</i>">S etFindAnd( 'field1', 'field2', 'field3')< /span></a> </li> | |||||
| 698 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Buil d the list of attrib utes to re trieve on a Find fun ction. Usi ng a '*' b rings back all attri butes<br>< /br> <i>Se tFindSelec t('name', 'descripti on', 'addr ess1_city' )</i>">Set FindSelect ('field1', 'field2') </span></a ></li> | |||||
| 699 | ||||||
| 700 | </ul> | |||||
| 701 | </li> | |||||
| 702 | ||||||
| 703 | <li cla ss="folder "><a class ="ui-link" ><span>Fin d (EntityC ollections )</span></ a> | |||||
| 704 | <ul> | |||||
| 705 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find s a collec tion of re cords. <br ></br> Fi nd a list of account s with des cription s et to Nort h52. <br>< /br> <i>Fi ndRecords( 'account', 'descript ion', 'nor th52', '*' , '50', tr ue)</i> <b r></br> No te you can use the f ollowing f unction to bring bac k limited fields <i> SetFindSel ect('name' , 'descrip tion')</i> ">FindReco rds('entit ylogicalna me', 'inpu tfieldname ', 'inputf ieldvalue' , 'selectf ields', 'r ecordcount ')</span>< /a></li> | |||||
| 706 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find s a collec tion of re cords as d efined by the fetchx ml defined within a formula de tail recor d. <br></b r> Find a list of c ontacts wi th a paren t company filtering by the cit y field of the curre nt contact . <br></br > <i>FindR ecordsFD(' ContactsWi thParents' , true, Se tParams([c ontact.add ress1_city ]))</i>">F indRecords FD('formul adetail', 'nolock', SetParams( 'param1', 'param2')) </span></a ></li> | |||||
| 707 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find s a collec tion of re cords as d efined by the raw fe tchxml pas sed into t he functio n.<br></br ><i>FindRe cordsFetch Xml('enter _your_raw_ fetchxml_h ere')</i>" >FindRecor dsFetchXml ('fetchxml ')</span>< /a></li> | |||||
| 708 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find s a specif ic field v alue in an entity co llection.< br></br><i >FindRecor dsValue(Ge rVar('Acco untListing '), 'descr iption', ' Not Set', '0' )</i>" >FindRecor dsValue('e ntitycolle ction', 'f ieldname', 'defaultv alue', 'ro wnumber' ) </span></a ></li> | |||||
| 709 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the co unt of row s in the e ntity coll ection.<br ></br><i>F indECCount (GerVar('A ccountList ing'))</i> ">FindECCo unt('entit ycollectio n')</span> </a></li> | |||||
| 710 | </ul> | |||||
| 711 | </li> | |||||
| 712 | ||||||
| 713 | <li cla ss="folder "><a class ="ui-link" ><span>Fuz zy Matchin g</span></ a> | |||||
| 714 | <ul> | |||||
| 715 | <li class ="file"><a class="ui -link"><sp an class=" helpId" ti tle="Compu tes the Da merau Leve nshtein Di stance Dis tance betw een 2 stri ng. Used f or fuzzy m atching. < br></br> < i> Damera uLevenshte inDistance ('microsof t', 'micro sft') Retu rns 1</i>" >DamerauLe venshteinD istance('i nputstring 1', 'input string2')< /span></a> </li> | |||||
| 716 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Comp utes the L evenshtein Distance between 2 string. Us ed for fuz zy matchin g. <br></b r> <i> Le venshteinD istance('m icrosoft', 'microsft ') Returns 1</i>">Le venshteinD istance('i nputstring 1', 'input string2')< /span></a> </li> | |||||
| 717 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a phon etic 'soun ds like' e ncoding of a string. This is t ypcial use d for de-d uplication purposes. <br></br> <i> Metap hone3('Smi th') Retu rns 'SM0' </i><br></ br> Possi ble to get a seconda ry metapho ne as well which hel ps for non -english <i> Metaph one3('Smit h', 'Secon dary')</i> ">Metaphon e3('inputs tring')</s pan></a></ li> | |||||
| 718 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a perc entage of how alike 2 strings are given the distan ce between . <br></br > <i> Simi larity('mi crosoft', 'microoft' , 1) Retur ns 0.88888 89</i>">Si milarity(' inputstrin g1', 'inpu tstring2', 'distance ')</span>< /a></li> | |||||
| 719 | </ul> | |||||
| 720 | </li> | |||||
| 721 | ||||||
| 722 | <li cla ss="folder "><a class ="ui-link" ><span>HTM L</span></ a> | |||||
| 723 | <ul> | |||||
| 724 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rate a HTM L table ba sed on the supplied entity col lection (r ows of dat a) and CSS . <br></br > <i>Creat eHtmlTable (</br>&nbs p; &n bsp; &nbs p; &n bsp;FindRe cordsFD('R etrieveFai ledSystemJ obsToday') , </br>&nb sp; & nbsp;  ; &nb sp; & nbsp;SetCo lumnOrder( 'name', 's tartedon', 'regardin gobjectid' , 'ownerid ', 'statec ode', 'sta tuscode', 'operation type'),</b r> &n bsp; &nbs p; &n bsp; 'https://n orth52.crm 4.dynamics .com/',</b r> &n bsp; &nbs p; &n bsp; 'north52_/ css/htmlta ble')</i>" >CreateHTM LTable('en titycollec tion', 'Se tColumnOrd er(field1, field2)', 'baseurl' , 'cssref' )</span></ a></li> | |||||
| 725 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rate a HTM L table of the Audit Trail for a particu lar record . <br></br > <i> Fin dRecordsAu ditHtml('a ccount', ' 10124ac3-0 f6f-40dd-b e64-d8c0bc 5dbfbd', 7 )</i>">Fin dRecordsAu ditHtml('e ntityname' , 'recordg uid', 'las tnumberofd ays')</spa n></a></li > | |||||
| 726 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rates a ra w hyper li nk url as a string. <br></br> <i>LinkRa wUrl('http s://north5 2.crm4.dyn amics.com' , 'account ', '00124a c3-0f6f-40 dd-be64-d8 c0bc5dbfbd ')</i>">Li nkRawUrl(' baseurl', 'entitynam e', 'recor dguid')</s pan></a></ li> | |||||
| 727 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rates a hy per link t o be used in a Dialo g Process. Typically used to d isplay a l ink to a C RM record. <br></br > <i> Link DialogUrl( 'https://n orth52.crm 4.dynamics .com', 'ac count', '0 0124ac3-0f 6f-40dd-be 64-d8c0bc5 dbfbd', 'M icrosoft') </i>">Lin kDialogUrl ('baseurl' , 'entityn ame', 'rec ordguid', 'displayte xt')</span ></a></li> | |||||
| 728 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rates a hy per link u rl. Typica lly used i n emails s o receipie nts can cl ick on a l ink. <br>< /br> <i> LinkHyperL inkUrl('ht tps://nort h52.crm4.d ynamics.co m', 'accou nt', '0012 4ac3-0f6f- 40dd-be64- d8c0bc5dbf bd', 'Micr osoft')</i >">LinkHyp erLinkUrl( 'baseurl', 'entityna me', 'reco rdguid', ' displaytex t')</span> </a></li> | |||||
| 729 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Take s a field with Html within it and remove s all the Html. <br ></br> <i> StripHtm l([email.d escription ])</i>">St ripHtml('i nputstring ')</span>< /a></li> | |||||
| 730 | </ul> | |||||
| 731 | </li> | |||||
| 732 | ||||||
| 733 | ||||||
| 734 | <li class=" folder"><a class="ui -link"><sp an>Localiz ation</spa n></a> | |||||
| 735 | <ul> | |||||
| 736 | <li class ="file"><a class="ui -link"><sp an class=" helpId" ti tle="Retur ns the loc alized str ing name f or the att ribute def ined by 'e ntitylogic alname.att ributelogi calname' b ased on th e langauge settings for the cu rrent user . <br></b r> <i> Get AttributeD isplayName ('account. name') Ret urns 'Acco unt Name'< /i>">GetAt tributeDis playName(' entitylogi calname.at tributelog icalname') </span></a ></li> | |||||
| 737 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the lo calized st ring name for the op tionset de fined by ' entitylogi calname.at tributelog icalname' and option setvalue b ased on th e langauge settings for the cu rrent user . <br></b r> <i> Get OptionSetN ame('oppor tunity.rat ing', 1) R eturns 'Ho t'</i>">Ge tOptionSet Name('enti tylogicaln ame.attrib utelogical name', 'op tionsetval ue')</span ></a></li> | |||||
| 738 | </ul> | |||||
| 739 | </li> | |||||
| 740 | ||||||
| 741 | ||||||
| 742 | ||||||
| 743 | <li cl ass="folde r"><a clas s="ui-link "><span>Lo gical</spa n></a> | |||||
| 744 | <ul> | |||||
| 745 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Buil ds a CASE statment w hich allow s you to p erform dif ferent act ions based on condit ions.<br>< /br><i>See the Snipp ets menu f or an exam ple or xRM Sample 92 .</i>">Cas e('Lookup under the Snippets m enu')</spa n></a></li > | |||||
| 746 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Buil d an if st atement. < br></br><i >if([accou nt.name] = 'North52' , 'Great t o be North 52', 'Not North52')< /i>">if(ex pression, true, fals e)</span>< /a></li> | |||||
| 747 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Buil d an iftru e statemen t. <br></b r><i>iftru e([account .name] = ' North52', 'Great to be North52 ')</i>">if true(expre ssion, tru e)</span>< /a></li> | |||||
| 748 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Used as part o f an if st atement to indicate 'No Operat ion' i.e. do nothing . <br></br ><i>Use th e search f unction to see examp les.</i>"> 'NoOp'</sp an></a></l i> | |||||
| 749 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true a value is found with in the set of values . <br></br ><i>If( In ([account. name], 'Mi crosoft', 'North52') , true, f alse )</i> ">In('Valu eToCheck', 'value1', 'value2', 'value3') </span></a ></li> | |||||
| 750 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Dete rmines if expression s are true or false. Returns T RUE if any expressio n is true. Returns F ALSE if al l expressi ons are fa lse. <br>< /br><i>Use the searc h function to see ex amples.</i >">or</spa n></a></li > | |||||
| 751 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a TRUE response if all val ues are tr ue; return s a FALSE response i f one or m ore values are false . <br></br ><i>Use th e search f unction to see examp les.</i>"> and</span> </a></li> | |||||
| 752 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Calc ulates the sum of tw o values. . <br></br ><i>Altern atively co ncat strin g together 'Dynamic s' + 'CRM' + ' Rocks '<i>">+</s pan></a></ li> | |||||
| 753 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Calc ulates the differenc e of two v alues. <br ></br><i>U se the sea rch functi on to see examples.< /i>">-</sp an></a></l i> | |||||
| 754 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Divi des two va lues. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">/</spa n></a></li > | |||||
| 755 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Mult iplies two values">* </span></a ></li> | |||||
| 756 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a rema inder afte r a number is divide d by a spe cified div isor. i.e. Mod Funct ion. <br> </br><i>10 % 3 is 1 </i>">%</s pan></a></ li> | |||||
| 757 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Nega tes what i t is appli ed to. Lik e a Not op erator. <b r></br><i> Returns fa lse !true< /i>">!</sp an></a></l i> | |||||
| 758 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Eval uates if t wo values are equiva lent. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">=</spa n></a></li > | |||||
| 759 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Eval uates if t wo values are not eq uivalent. <br></br>< i>The fiel d account name does not equal North52<br ></br>[acc ount.name] != 'North 52'</i>">! =</span></ a></li> | |||||
| 760 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Eval uates if a value is less than the value that follo ws this sy mbol. <br> </br><i>Re turns true if the fi eld credit amount is less than 100<br></b r>[account .creditamo unt] < 100 </i>">< </span></a ></li> | |||||
| 761 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Eval uates if a value is greater th an the val ue that fo llows this symbol. < br></br><i >Returns t rue if the field cre ditamount is greater than 100< br></br>[a ccount.cre ditamount] > 100</i> ">></sp an></a></l i> | |||||
| 762 | </ul > | |||||
| 763 | ||||||
| 764 | </li> | |||||
| 765 | <li cl ass="folde r"><a clas s="ui-link "><span>Lo op</span>< /a> | |||||
| 766 | <ul> | |||||
| 767 | ||||||
| 768 | <li clas s="file">< a class="u i-link"><b ><span tit le="Loop"> *** DoLoop ***</span ></b></a>< /li> | |||||
| 769 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Buil ds a DoLoo p statemen t that exe cutes a si ngle actio n. <br></ br><i> Do Loop(3, <b r> &n bsp; Crea teRecord(' account',< /br> &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; &n bsp; &nbs p; S etAttribut e('name', 'Account:' + DoLoopI ndex())</b r> &n bsp; )</br>) < br></br> C reates 3 a ccount rec ords. <b r></br> Th e function DoLoopInd ex() allow s you to a ccess an i nteger con taining th e current index numb er of the loop.<br>< /br>The fu nction DoL oopTotal() allows yo u to acces s an integ er contain ing the to tal number of loops. </i>">DoLo op('iterat ioncount', 'action') </span></a ></li> | |||||
| 770 | ||||||
| 771 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="This function allows you to access an intege r containi ng the cur rent index number of the loop. <br></br> <i>Use the search fu nction to see exampl es.</i>">D oLoopIndex ()</span>< /a></li> | |||||
| 772 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="This function allows you to access an intege r containi ng the tot al number of loops. <br></br>< i>Use the search fun ction to s ee example s.</i>">Do LoopTotal( )</span></ a></li> | |||||
| 773 | ||||||
| 774 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 775 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 776 | <li clas s="file">< a class="u i-link"><b ><span tit le="ForEac hRecord">* ** ForEach Record *** </span></b ></a></li> | |||||
| 777 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Iter ates over a set of r ecords and performs an action <br></br> Delete al l contacts that star t with the letter A. <br></br > <i> ForE achRecord( </br>  ; &nb sp;FindRec ordsFD('Al lContactsS tartingWit hA' ),</br > &nb sp; DeleteReco rd('contac t', Curren tRecord('c ontactid') </br>  ; &nb sp;)</br>) </i> <br> </br> The function R ecordIndex () allows you to acc ess an int eger conta ining the current in dex number of the lo op.<br></b r>The func tion Recor dTotal() a llows you to access an integer containin g the tota l number o f loops. < br></br>Th e function CurrentRe cord() all ows you to access an the entit y object o f the curr ent loop. ">ForEachR ecord('ent itycollect ion', 'act ion1', 'ac tion2')</s pan></a></ li> | |||||
| 778 | ||||||
| 779 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="This function allows you to access a field w ithin the current re cord loop. <br></br> <i>Use the search fu nction to see exampl es.</i>">C urrentReco rd('fieldn ame')</spa n></a></li > | |||||
| 780 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Allo ws you to access an integer co ntaining t he current index num ber of the loop. <br ></br><i>U se the sea rch functi on to see examples.< /i>">Recor dIndex()</ span></a>< /li> | |||||
| 781 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Allo ws you to access an integer co ntaining t he total n umber of l oops. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">Record Total()</s pan></a></ li> | |||||
| 782 | </ul> | |||||
| 783 | </li> | |||||
| 784 | ||||||
| 785 | <li c lass="fold er"><a cla ss="ui-lin k"><span>M ath</span> </a> | |||||
| 786 | <ul> | |||||
| 787 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ab solute val ue of a sp ecified nu mber. The absolute v alue is th e number w ithout its postive o r negative sign. <b r></br> <i > Abs(-10 0) Returns 100</i>"> Abs(value) </span></a ></li> | |||||
| 788 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Roun ds a numbe r up to th e nearest integer. <br></br> <i> Ceilin g(34.4) Re turns 35</ i>">Ceilin g('value') </span></a ></li> | |||||
| 789 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a valu e for e ra ised to th e power of a number you specif ied. <br> </br> <i> Exp(2) Ret urns 7.389 0560989306 5</i>">Exp ('value')< /span></a> </li> | |||||
| 790 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a numb er rounded down to t he nearest integer. <br></br> <i> Floor (34.4) Ret urns 34</i >">Floor(' value')</s pan></a></ li> | |||||
| 791 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the Gr eatest com mon diviso r of two n umbers. Al so known a s Greatest Common Fa ctor (GCF) , or Highe st Common Factor (HC F). <br>< /br> <i> GCD(12,18) Returns 6 </i>">GCD( 'num1', 'n um2')</spa n></a></li > | |||||
| 792 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the Lo west commo n multiper of two nu mbers. <b r></br> <i > LCM(12, 18) Return s 36</i>"> LCM('num1' , 'num2')< /span></a> </li> | |||||
| 793 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ma ximum of t wo numbers . <br></b r> <i> Max Of(100, 20 0) Returns 200</i>"> MaxOf('num ber1', 'nu mber2')</s pan></a></ li> | |||||
| 794 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the mi nimum of t wo numbers . <br></b r> <i> Min Of(100, 20 0) Returns 100</i>"> MinOf('num ber1', 'nu mber2')</s pan></a></ li> | |||||
| 795 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a spec ified numb er raised to the spe cified pow er. <br></ br> <i> Po w(5,3) Ret urns 125</ i>">Pow('v alue', 'po wer')</spa n></a></li > | |||||
| 796 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Roun ds a value to the ne arest numb er or spec ified numb er of digi ts. <br>< /br> <i> R ound(123.4 7676, 2) R eturns 123 .48</i>">R ound('valu e', 'digit precision' )</span></ a></li> | |||||
| 797 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="It r eturns one of three values: -1 , 0 or 1. It returns -1 when t he numeric value is negative; it returns 0 if the numeric va lue is zer o; and it returns 1 if the num eric value is positi ve. <br>< /br> <i> Sign(44) Returns 1< /i>">Sign( 'value')</ span></a>< /li> | |||||
| 798 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the sq uare root of a speci fied numbe r. <br></ br> <i> S qrt(100) R eturns 10< /i>">Sqrt( 'value')</ span></a>< /li> | |||||
| 799 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the in tegral dig its of the specified Decimal; any fracti onal digit s are disc arded. < br></br> < i>Truncate (2.91) Ret urns 2</i> ">Truncate ('value')< /span></a> </li> | |||||
| 800 | </ul> | |||||
| 801 | </li> | |||||
| 802 | < li class ="folder"> <a class=" ui-link">< span>Platf orm Operat ions</span ></a> | |||||
| 803 | <ul> | |||||
| 804 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Crea tes a N:N relationsh ip between 2 records . <br></br ><i>Associ ateEntitie s('account ', '90dd37 9c-ee2f-11 db-5555-08 00200c9a55 ', 'lead', '30dd379c -4444-11db -8314-0800 200c9a55', 'new_acco untleads') </i>">Asso ciateEntit ies('entit yNameLeft' , 'entityL eftGuid', 'entityNam eRight', ' entityRigh tGuid', 'r elationshi pName')</s pan></a></ li> | |||||
| 805 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves a N:N relationsh ip between 2 records . <br></br ><i>DisAss ociateEnti ties('acco unt', '90d d379c-ee2f -11db-5555 -0800200c9 a55', 'lea d', '30dd3 79c-4444-1 1db-8314-0 800200c9a5 5', 'new_a ccountlead s')</i>">D isAssociat eEntities( 'entityNam eLeft', 'e ntityLeftG uid', 'ent ityNameRig ht', 'enti tyRightGui d', 'relat ionshipNam e')</span> </a></li> | |||||
| 806 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Exec utes a wor kflow. <b r></br> <i > ExecuteW orkflow('O nboard Pro spect', '3 0dd379c-ee 2f-11db-83 14-0800200 c9a55')</i >">Execute Workflow(' workflowna me', 'reco rdid')</sp an></a></l i> | |||||
| 807 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Exec utes a Act ion. <br> </br> <i> ExecuteAct ion('new_a pprove',</ br> & nbsp;  ; 'opportu nity',</br > &nb sp; [opportuni ty.opportu nityid],</ br> & nbsp;  ; SetAttri buteAction Lookup('em ailto', 'E ntityRefer ence', 'sy stemuser', '77dd379c- ee2f-11db- 8314-08002 00c9a55'), </br>  ; &nb sp; SetAtt ributeActi on('credit limit', 'M oney', '10 00')</br>) </i>">Exe cuteAction ('actionna me', 'enti tylogicaln ame', 'rec ordid', 'p aram1', 'p aram2', 'p aram3')</s pan></a></ li> | |||||
| 808 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rate Invoi ce From Op portunity. <br>Return s the Guid of the In voice. <br ></br><i>G enerateInv oiceFromOp portunity( '90dd379c- ee2f-11db- 5555-08002 00c9a55')< /i>">Gener ateInvoice FromOpport unity('opp ortunityid ')</span>< /a></li> | |||||
| 809 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rate Quote From Oppo rtunity. < br>Returns the Guid of the Quo te. <br></ br><i>Gene rateQuoteF romOpportu nity('90dd 379c-ee2f- 11db-5555- 0800200c9a 55')</i>"> GenerateQu oteFromOpp ortunity(' opportunit yid')</spa n></a></li > | |||||
| 810 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gene rate Sales Order From Opportuni ty. <br>Re turns the Guid of th e SalesOrd er. <br></ br><i>Gene rateSalesO rderFromOp portunity( '90dd379c- ee2f-11db- 5555-08002 00c9a55')< /i>">Gener ateSalesOr derFromOpp ortunity(' opportunit yid')</spa n></a></li > | |||||
| 811 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Get the action output pa rameter fr om an exec uted actio n. <br></b r><i>Use t he search function t o see exam ples.</i> ">GetActio nOutputPar ameter('ex ecuteactio n', 'outpu tparameter name', 'de faultname' )</span></ a></li> | |||||
| 812 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the gu id of the related en tity in a N:N relati onship. <b r></br><i> Use the se arch funct ion to see examples. </i>">GetA ssociation RelatedEnt ityReferen ceId()</sp an></a></l i> | |||||
| 813 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the na me of the N:N relati onship. <b r></br><i> Use the se arch funct ion to see examples. </i>">GetA ssociation Relationsh ipName()</ span></a>< /li> | |||||
| 814 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Star ts the sch edule for the specif ied name. <br></br>< i>StartSch edule('Pro cess All A ccount Rec ords')</i> ">StartSch edule('sch edulename' )</span></ a></li> | |||||
| 815 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Stop s the sche dule for t he specifi ed name. < br></br><i >StopSched ule('Proce ss All Acc ount Recor ds')</i>"> StopSchedu le('schedu lename')</ span></a>< /li> | |||||
| 816 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Shar es a recor d with a u ser. <br>< /br> e.g. Shows how to share a ll privile ges of a c ontact rec ord with a system us er except for the de lete privi lege <br> </br> <i>R ecordShare ('contact' , '873489c -992f-22db -8454-0800 255c9a55', 'systemus er', '8999 89c-992f-2 2db-8454-0 800255c9a5 5', true, true, fals e, true, t rue, true, true)</i> ">RecordSh are('entit ynameofrec ordtoshare ', 'guidof recordtosh are','syst emuser\tea m', 'guido fsystemuse r\team','r eadaccess' , 'writeac cess','del eteaccess, 'assignac cess','sha reaccess', 'appendac cess','app endtoacces s')</span> </a></li> | |||||
| 817 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Un-s hares a re cord with a user. < br></br> < i>RecordUn Share('con tact', '87 3489c-992f -22db-8454 -0800255c9 a55', 'sys temuser', '899989c-9 92f-22db-8 454-080025 5c9a55')</ i>">Record UnShare('e ntitynameo frecordtou nshare', ' guidofreco rdtounshar e', 'syst emuser\tea m', 'guido fsystemuse r\team')</ span></a>< /li> | |||||
| 818 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves all sh ares with a record. <br></br> <i> Recor dUnShareAl l('contact ', '873489 c-992f-22d b-8454-080 0255c9a55' )</i>">Rec ordUnShare All('entit ynameofrec ordtounsha re', 'guid ofrecordto unshare')< /span></a> </li> | |||||
| 819 | </ul> | |||||
| 820 | </li> | |||||
| 821 | <li cla ss="folder "><a class ="ui-link" ><span>Rec ord Contro l</span></ a> | |||||
| 822 | <ul> | |||||
| 823 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Crea tes a reco rd within the system . You ente r the name of the en tity and v alues for all the pr operties y ou want to set. <br> </br> The function w ill return the guid of the cre ated recor d.<br></br > <i> Crea teRecord(' contact',< /br> SetAt tribute('f irstname', 'Bill'),< /br> SetAt tribute('l astname', 'gates'),< /br> SetAt tribute('c reditlimit ', '5000') ,</br> Set Attribute( 'descripti on', '?'), </br> SetA ttributeCu stomer('pa rentcustom erid', 'ac count', '4 50dd379c-e e2f-11db-8 314-080020 0c777', 'M icrosoft') ,</br> Set AttributeL ookup('per ferredsyst emuserid', 'systemus er', '670d d379c-ee2f -11db-8314 -0800200c8 88')) <br> </br>Note 1: Fields of type lo okup need SetAttrib uteLookup( 'fieldname ', 'entity name', 're cordguid') </br>Note 2: Fields of type C ustomer ne ed SetAttr ibuteCusto mer('field name', 'en tityname', 'recordgu id' , 'rec ordname') </br>Note 3: Fields of type Pa rtyList ne ed SetAttr ibuteParty List('fiel dname', 'e ntityname' , 'partygu id' , 'par tyguid')</ i>">Create Record('en tityname', SetAttrib ute('attri butename', 'attribut evalue' )) </span></a ></li> | |||||
| 824 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="If t he supplie d record g uid exists then the system wil l update t he record else it wi ll create it. <br></ br> You en ter the na me of the entity and then the record gui d that you want to u pdate. If a Create o ccurs the guid of th e new reco rd is retu rned other wise if an update oc curs a NoO p returns. <br></b r> <i> Upd ateCreateR ecord('con tact',</br > [account .primaryac countid],< /br> SetAt tribute('f irstname', 'Bill'),< /br> SetAt tribute('l astname', 'gates'),< /br> SetAt tribute('c reditlimit ', '5000') ,</br> Set Attribute( 'descripti on', '?'), </br> SetA ttribute(' parentcust omerid', ' account.45 0dd379c-ee 2f-11db-83 14-0800200 c777.Micro soft'),</b r> SetAttr ibuteLooku p('perferr edsystemus erid', 'sy stemuser', '670dd379 c-ee2f-11d b-8314-080 0200c888') ) <br></br >Note 1: F ields of t ype lookup need Set AttributeL ookup('fie ldname', ' entityname .recordgui d') </br>N ote 2: Fie lds of typ e Customer need SetA ttributeCu stomer('fi eldname', 'entitynam e', 'recor dguid' , ' recordname ') </br>No te 3: Fiel ds of type PartyList need SetA ttributePa rtyList('f ieldname', 'entityna me', 'part yguid' , ' partyguid' )</i>">Upd ateCreateR ecord('ent ityname', 'primaryke yid', SetA ttribute(' attributen ame', 'att ributevalu e' ))</spa n></a></li > | |||||
| 825 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Crea tes a note within th e system. <br></br> <i> Creat eNote('MyT itle', 'ac count', [a ccount.acc ountid], ' This is a note...') Returns ' NoOp' if s uccessful< /i>">Creat eNote('tit le', 'rega rdingentit yname', 'r egardingen tityid', ' note')</sp an></a></l i> | |||||
| 826 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Crea tes a note within th e system i f the supp lied recor d guid exi sts. <br>< /br> <i> CreateNot eIfExists( 'MyTitle', 'account' , [account .accountid ], 'This i s a note.. ') Return s 'NoOp' i f successf ul</i>">Cr eateNoteIf Exists('ti tle', 'reg ardingenti tyname', ' regardinge ntityid', 'note')</s pan></a></ li> | |||||
| 827 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Dele tes a reco rd. <br></ br> Delete the accou nt record with the g uid '30dd3 79c-ee2f-1 1db-8314-0 800200c9a5 5' <br></b r> <i>Dele teRecord(' account', '30dd379c- ee2f-11db- 8314-08002 00c9a55')< /i>">Delet eRecord('e ntityname' , 'guid')< /span></a> </li> | |||||
| 828 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Dele tes a reco rd if the supplied g uid exists otherwise it does n othing so returns a NoOp. <br> </br> Dele te the acc ount recor d with the guid '30d d379c-ee2f -11db-8314 -0800200c9 a55' <br>< /br><i>Del eteRecordI fExists('a ccount', ' 30dd379c-e e2f-11db-8 314-080020 0c9a55')</ i>">Delete RecordIfEx ists('enti tyname', ' guid')</sp an></a></l i> | |||||
| 829 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Upda tes a reco rd within the system .<br></br> You enter the name of the ent ity and th en the rec ord guid t hat you wa nt to upda te. And af ter this a list of a ll the att ributes yo u want to set. <br> </br> <i> UpdateReco rd('contac t',</br> [ account.pr imaryaccou ntid],</br > SetAttri bute('firs tname', 'B ill'),</br > SetAttri bute('last name', 'ga tes'),</br > SetAttri bute('cred itlimit', '5000'),</ br> SetAtt ribute('de scription' , '?'),</b r> SetAttr ibute('par entcustome rid', 'acc ount', '45 0dd379c-ee 2f-11db-83 14-0800200 c777','Mic rosoft'),< /br> SetAt tributeLoo kup('perfe rredsystem userid', ' systemuser ', '670dd3 79c-ee2f-1 1db-8314-0 800200c888 ')) <br></ br>Note 1: Fields of type look up need S etAttribut eLookup('f ieldname', 'entityna me', 'reco rdguid') < /br>Note 2 : Fields o f type Cus tomer need SetAttrib uteCustome r('fieldna me', 'enti tyname', ' recordguid ' , 'recor dname') </ br>Note 3: Fields of type Part yList need SetAttrib utePartyLi st('fieldn ame', 'ent ityname', 'partyguid ' , 'party guid')</i> ">UpdateRe cord('enti tyname', ' primarykey id', SetAt tribute('a ttributena me', 'attr ibutevalue ' ))</span ></a></li> | |||||
| 830 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Upda tes a reco rd within the system if the re cord exist s. <br></b r> You ent er the nam e of the e ntity and then the r ecord guid that you want to up date. If t he record guid is nu ll or empt y nothing will happe n (i.e. No Op returne d) . And a fter this a list of all the at tributes y ou want to set. <br ></br> <i> UpdateRec ordIfExist s('contact ',</br> [a ccount.pri maryaccoun tid],</br> SetAttrib ute('first name', 'Bi ll'),</br> SetAttrib ute('lastn ame', 'gat es'),</br> SetAttrib ute('credi tlimit', ' 5000'),</b r> SetAttr ibute('des cription', '?'),</br > SetAttri buteCustom er('parent customerid ', 'accoun t', '450dd 379c-ee2f- 11db-8314- 0800200c77 7', 'Micro soft'),</b r> SetAttr ibuteLooku p('perferr edsystemus erid', 'sy stemuser', '670dd379 c-ee2f-11d b-8314-080 0200c888') ) <br></br >Note 1: F ields of t ype lookup need Set AttributeL ookup('fie ldname', ' entityname ', 'record guid') </b r>Note 2: Fields of type Custo mer need S etAttribut eCustomer( 'fieldname ', 'entity name', 're cordguid' , 'recordn ame') </br >Note 3: F ields of t ype PartyL ist need S etAttribut ePartyList ('fieldnam e', 'entit yname', 'p artyguid' , 'partygu id')</i>"> UpdateReco rdIfExists ('entityna me', 'prim arykeyid', SetAttrib ute('attri butename', 'attribut evalue' )) </span></a ></li> | |||||
| 831 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Bulk updates a ll activit y parties in a colle ction.<br> </br>Typic ally used on activit ies such a s Appointm ent to bul k update a ll require d attendee s.<br></br > <i>Updat eActivityP artyBulk([ appointmen t.required attendees] , 'account .contact', 'lastused incampaign .'+[appoin tment.modi fiedon])</ i><br></br >Note an e mpty strin g can be p assed on t he second parameter to indicat e all acti vity party types</i> ">UpdateAc tivityPart yBulk('Act ivityParty Collection ', 'activi typartytyp e', SetAtt ribute('at tributenam e', 'attri butevalue' ))</span>< /a></li> | |||||
| 832 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 833 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 834 | <li clas s="file">< a class="u i-link"><b ><span tit le="Extrac tSamples"> *** Helper Functions ***</span ></b></a>< /li> | |||||
| 835 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="When using the CreateRec ord or Upd ateRecord functions this funct ion allows you to se t the stat us and sta tus reason fields. < br></br><i >SetAttrib uteStatus( '1', '5')< /i>">SetAt tributeSta tus('statu s', 'statu sreason')< /span></a> </li> | |||||
| 836 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="When using the CreateRec ord or Upd ateRecord functions this funct ion allows you to se t most fie ld types e xcept for the other specfic Se tAttribute helper fu nctions. < br></br> < i>SetAttri bute('desc ription', 'The quick fox')</i> ">SetAttri bute('fiel dname', 'f ieldvalue' )</span></ a></li> | |||||
| 837 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="When using the CreateRec ord or Upd ateRecord functions this funct ion allows you to se t fields o f type loo kup. <br>< /br> <i>Se tAttribute Lookup('ac countid', 'account', '30dd379c -4444-11db -8314-0800 200c9a55') </i>">SetA ttributeLo okup('fiel dname', 'e ntitylogic alname', ' guid')</sp an></a></l i> | |||||
| 838 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="When using the CreateRec ord or Upd ateRecord functions this funct ion allows you to se t fields o f type par tylist. <b r></br> <i >SetAttrib utePartyLi st('to', ' systemuser ', '30dd37 9c-4444-11 db-8314-08 00200c9a55 ', '88dd37 9c-7777-11 db-9999-08 00200c9a55 ') See xR M Sample 8 1 <br></br >SetAttrib utePartyLi st('to', ' systemuser ', '30dd37 9c-4444-11 db-8314-08 00200c9a55 ,88dd379c- 7777-11db- 9999-08002 00c9a55') See xRM S ample 96 < br></br>Se tAttribute PartyList( 'to', 'sys temuser', 'entitycol lection', 'field_ref erence_fro m_entityco llection') See xRM S ample 24</ i>">SetAtt ributePart yList('fie ldname', ' entitylogi calname', 'guid', 'g uid')</spa n></a></li > | |||||
| 839 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="When using the CreateRec ord or Upd ateRecord functions this funct ion allows you to se t fields o f type cus tomer. <br ></br> <i> SetAttribu teCustomer ('accounti d', 'accou nt', '30dd 379c-4444- 11db-8314- 0800200c9a 55', 'Micr osoft')</i >">SetAttr ibuteCusto mer('field name', 'en titylogica lname', 'g uid', 'rec ordname')< /span></a> </li> | |||||
| 840 | ||||||
| 841 | </ul> | |||||
| 842 | </li> | |||||
| 843 | <li cl ass="folde r"><a clas s="ui-link "><span>Re gex</span> </a> | |||||
| 844 | <ul> | |||||
| 845 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Searches the speci fied 'stri ng' for th e first oc currence o f the regu lar expres sion speci fied in th e 'regex' parameter. <br></br> <i> Rege xMatch('^a bc', «abcd efg») Retu rns abc</i >">RegexMa tch('strin g', «regex »)</span>< /a></li> | |||||
| 846 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f the defi ned 'regex ' pattern has a matc h within t he specifi ed 'string ' else fal se. <br></ br> <i> R egexIsMatc h('abcdefg ', «^abc») Returns True</i>" >RegexIsMa tch('strin g', «regex »)</span>< /a></li> | |||||
| 847 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a stri ng which i s the 'str ing' but r eplaces al l regex ma tches of ' regextofin d' with 'r egextorepl ace'. <br> </br> <i> RegexRepl ace('01234 56789', «( \d{3})(\d{ 3})(\d{4}) », «($1) $ 2-$3») Re turns (012 ) 345 6789 </i>">Rege xReplace(' string', « regextofin d», «regex toreplace» )</span></ a></li> | |||||
| 848 | ||||||
| 849 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 850 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 851 | <li clas s="file">< a class="u i-link"><b ><span tit le="Extrac tSamples"> *** Extrac t Samples ***</span> </b></a></ li> | |||||
| 852 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Extr act the fi rst 3 digi ts from a string">Re gexMatch(' abc1234def ', «\d\d\d »)</span>< /a></li> | |||||
| 853 | ||||||
| 854 | <li clas s="file">< a class="u i-link"><s pan title= "CleanSamp les">*** C leaning Sa mples ***< /span></a> </li> | |||||
| 855 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves all di gits from a string"> RegexRepla ce('string input', «\ d», '')</s pan></a></ li> | |||||
| 856 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves all ch aracters f rom a stri ng to only leave dig its">Regex Replace('s tringinput ', «\D», ' ')</span>< /a></li> | |||||
| 857 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves duplic ate white space (tab s, newline s, spaces, etc,) fro m a string ">RegexRep lace('stri nginput', «\s+», ' ' )</span></ a></li> | |||||
| 858 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves all no n-ascii ch aracters f rom a stri ng">RegexR eplace('st ringinput' , «[^\u000 0-\u007F]» , '')</spa n></a></li > | |||||
| 859 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves all no n-ascii ch aracters a nd ascii c ontrol cha racters fr om a strin g">RegexRe place('str inginput', «[^\u0020 -\u007F]», '')</span ></a></li> | |||||
| 860 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves everth ing except alpahnume ric ascii characters from a st ring">Rege xReplace(' stringinpu t', «[^A-Z a-z0-9]», '')</span> </a></li> | |||||
| 861 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves all no n-alphanum eric charc ters excep t @, - (a dash), . ( a period)" >RegexRepl ace('strin ginput', « [^\w\.@-]» , '')</spa n></a></li > | |||||
| 862 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Form ats a US t elephone n umber">Reg exReplace( 'US teleph one number ', «(\d{3} )(\d{3})(\ d{4})», «( $1) $2-$3» )</span></ a></li> | |||||
| 863 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Form ats a US t elephone n umber with extension s">RegexRe place('US telephone number', « ^\D*(\d)\D *(\d)\D*(\ d)\D*(\d)\ D*(\d)\D*( \d)\D*(\d) \D*(\d)\D* (\d)\D*(\d )\D*(\d{2, })$», «+1 ($1$2$3) $ 4$5$6-$7$8 $9$10 Ext $11»)</spa n></a></li > | |||||
| 864 | ||||||
| 865 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 866 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 867 | <li clas s="file">< a class="u i-link"><b ><span tit le="Valida tionSample s">*** Val idation Sa mples ***< /span></b> </a></li> | |||||
| 868 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates an e mail addre ss">RegexI sMatch('Em ail addres s', «^[\w- ]+(\.[\w-] +)*@([a-z0 -9-]+(\.[a -z0-9-]+)* ?\.[a-z]{2 ,6}|(\d{1, 3}\.){3}\d {1,3})(:\d {4})?$»)</ span></a>< /li> | |||||
| 869 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates an U ri">RegexI sMatch('Ur i', «(http |ftp|https ):\/\/[\w\ -_]+(\.[\w \-_]+)+([\ w\-\.,@?^= %&:/~\ +#]*[\w\-\ @?^=%& /~\+#])?») </span></a ></li> | |||||
| 870 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates any whole or d ecimal num ber">Regex IsMatch('A ny whole o r decimal number', « ^([0-9]*|\ d*\.\d{1}? \d*)$»)</s pan></a></ li> | |||||
| 871 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates US C urrency">R egexIsMatc h('US Curr ency', «^\ $(\d{1,3}( \,\d{3})*| (\d+))(\.\ d{2})?$»)< /span></a> </li> | |||||
| 872 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates one numeric di git">Regex IsMatch('O ne numeric digit', « ^\d$»)</sp an></a></l i> | |||||
| 873 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates a pe rcentage t o 2 decima l places"> RegexIsMat ch('A perc entage to 2 decimal places ', «^( 100(?: \.0{1,2})? | 0*?\.\d {1,2} | \d {1,2}(?:\. \d{1,2})? )% $»)</sp an></a></l i> | |||||
| 874 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates a pa ssword mus t be at le ast 8 char acters, no more than 15 charac ters, and must inclu de at leas t one uppe r case let ter, one l ower case letter, an d one nume ric digit" >RegexIsMa tch('A pas sword must be at lea st 8 chara cters, no more than 15 charact ers, and m ust includ e at least one upper case lett er, one lo wer case l etter, and one numer ic digit', «^(?=.*\d )(?=.*[a-z ])(?=.*[A- Z]).{8,15} $»)</span> </a></li> | |||||
| 875 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates a UK vehicle r egistratio n">RegexIs Match('A U K vehicle registrati on', «^([A -Z]{3}\s?( \d{3}|\d{2 }|d{1})\s? [A-Z])|([A -Z]\s?(\d{ 3}|\d{2}|\ d{1})\s?[A -Z]{3})|(( [A-HK-PRSV WY][A-HJ-P R-Y])\s?([ 0][2-9]|[1 -9][0-9])\ s?[A-HJ-PR -Z]{3})$») </span></a ></li> | |||||
| 876 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates alph a numberic values">R egexIsMatc h('Alpha n umberic va lues', «^[ a-zA-Z0-9] +$»)</span ></a></li> | |||||
| 877 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates a UK National Insurance Number">Re gexIsMatch ('A UK Nat ional Insu rance Numb er', «^[A- CEGHJ-PR-T W-Z]{1}[A- CEGHJ-NPR- TW-Z]{1}[0 -9]{6}[A-D FM]{0,1}$» )</span></ a></li> | |||||
| 878 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates cred it card nu mbers">Reg exIsMatch( 'Credit ca rd numbers ', «^((4\d {3})|(5[1- 5]\d{2})|( 6011))-?\d {4}-?\d{4} -?\d{4}|3[ 4,7]\d{13} $»)</span> </a></li> | |||||
| 879 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates US t elephone n umbers">Re gexIsMatch ('US telep hone numbe rs', «^[01 ]?[- .]?\( ?[2-9]\d{2 }\)?[- .]? \d{3}[- .] ?\d{4}$»)< /span></a> </li> | |||||
| 880 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates US Z ip Codes"> RegexIsMat ch('US Zip Codes', « (^(?!0{5}) (\d{5})(?! -?0{4})(-? \d{4})?$)» )</span></ a></li> | |||||
| 881 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates Germ an Post Co des">Regex IsMatch('G erman Post Codes', « \b((?:0[1- 46-9]\d{3} )|(?:[1-35 7-9]\d{4}) |(?:[4][0- 24-9]\d{3} )|(?:[6][0 13-9]\d{3} ))\b»)</sp an></a></l i> | |||||
| 882 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates UK P ost Codes" >RegexIsMa tch('UK Po st Codes', «^([A-PR- UWYZ0-9][A -HK-Y0-9][ AEHMNPRTVX Y0-9]?[ABE HMNPRVWXY0 -9]? {1,2} [0-9][ABD- HJLN-UW-Z] {2}|GIR 0A A)$»)</spa n></a></li > | |||||
| 883 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates UK T elephone N umber">Reg exIsMatch( 'UK Teleph one Number ', «(\s*\( ?0\d{4}\)? (\s*|-)\d{ 3}(\s*|-)\ d{3}\s*)|( \s*\(?0\d{ 3}\)?(\s*| -)\d{3}(\s *|-)\d{4}\ s*)|(\s*(7 |8)(\d{7}| \d{3}(\-|\ s{1})\d{4} )\s*)»)</s pan></a></ li> | |||||
| 884 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates US T elephone N umber">Reg exIsMatch( 'US Teleph one Number ', «^([0-9 ]( |-)?)?( \(?[0-9]{3 }\)?|[0-9] {3})( |-)? ([0-9]{3}( |-)?[0-9] {4}|[a-zA- Z0-9]{7})$ »)</span>< /a></li> | |||||
| 885 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates date of birth (MM/DD/YYY Y)">RegexI sMatch('Da te of birt h (MM/DD/Y YYY)', «^( (0?[1-9]|1 [012])[- / .](0?[1-9] |[12][0-9] |3[01])[- /.](19|20) ?[0-9]{2}) *$»)</span ></a></li> | |||||
| 886 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates for digits onl y">RegexIs Match('Dig its only', «^[0-9]*$ »)</span>< /a></li> | |||||
| 887 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Vali dates US s ocial secu rity numbe rs">RegexI sMatch('US social se curity num ber', «/^( [0-9]{3}[- ]*[0-9]{2} [-]*[0-9]{ 4})*$/»)</ span></a>< /li> | |||||
| 888 | </ul> | |||||
| 889 | </li> | |||||
| 890 | <li class="fo lder"><a c lass="ui-l ink"><span >Native Fi elds</span ></a> | |||||
| 891 | <ul> | |||||
| 892 | < li class=" file"><a c lass="ui-l ink"><span class="he lpId" titl e="Gets a party reco rd id from a partyli st. <br></ br> <i> Ge tPartyList ItemId([ph one.from], 0) Return s '30dd379 c-ee2f-11d b-8314-080 0200c9a55' </i>">GetP artyListIt emId('part ylist', 'i ndex')</sp an></a></l i> | |||||
| 893 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gets a party r ecord type from a pa rtylist. < br></br> < i> GetPart yListItemT ype([phone .from], 0) Returns ' contact'</ i>">GetPar tyListItem Type('part ylist', 'i ndex')</sp an></a></l i> | |||||
| 894 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gets a party r ecord name from a pa rtylist. < br></br> < i> GetPart yListItemN ame([phone .from], 0) Returns ' John Grace '</i>">Get PartyListI temName('p artylist', 'index')< /span></a> </li> | |||||
| 895 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Gets the count of the th e number o f parties in a party list.<br> </br> <i> GetPartyLi stCount([p hone.from] ) Returns 3</i>">Get PartyListC ount('part ylist')</s pan></a></ li> | |||||
| 896 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the targe t property of a form ula when i t is of ty pe custome r. <br></b r> <i> Set CustomerLo okup('acco unt', '630 dd379c-ee2 f-11db-831 4-0800200c 9a5', 'Mic rosoft')</ i>">SetCus tomerLooku p('entityn ame', 'gui d', 'Prima ry Field T ext')</spa n></a></li > | |||||
| 897 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the targe t property of a form ula when i t is of ty pe lookup. <br></br> Set a loo kup with j ust the gu id when th e target p roperty da tatype is a lookup a nd not a R egarding f ield. <br> </br> <i> SetLookup ('630dd379 c-ee2f-11d b-8314-080 0200c9a5') </i>">SetL ookup('gui d')</span> </a></li> | |||||
| 898 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the owner field of a record t o a team r epresented by the gu id. Only t o be used with formu las of typ e Save To Current Re cord. <br> </br><i>Se tOwnerTeam ('630dd379 c-ee2f-11d b-8314-080 0200c9a5') </i>">SetO wnerTeam(' guid')</sp an></a></l i> | |||||
| 899 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the owner field of a record t o a user r epresented by the gu id. Only t o be used with formu las of typ e Save To Current Re cord.<br>< /br><i>Set OwnerUser( '630dd379c -ee2f-11db -8314-0800 200c9a5')< /i>">SetOw nerUser('g uid')</spa n></a></li > | |||||
| 900 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets values fo r a field of type Pa rty List. <br></br> Sets the party list field to 2 accounts as define d by the 2 account g uids.<br>< /br> <i> S etPartyLis t('account ','630dd37 9c-ee2f-11 db-8314-08 00200c9a5' , '895dd37 9c-ee2f-11 db-8314-08 00200c6t6' )</i>">Set PartyList( 'entitynam e','guiden tity','gui dentity')< /span></a> </li> | |||||
| 901 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Comb ines multi ple SetPar tList to a single co mbined lis t. Used wh en you nee d to mix t he underly ing entity types.<br ></br> <i> SetParty ListCombin ed(SetPart yList('acc ount','630 dd379c-ee2 f-11db-831 4-0800200c 9a5', '895 dd379c-ee2 f-11db-831 4-0800200c 6t6'),SetP artyList(' contact',' 450dd379c- ee2f-11db- 8314-08002 00c777'))< /i>">SetPa rtyListCom bined(SetP artyList(' entityname ','guident ity','guid entity'), SetPartyLi st('entity name','gui dentity',' guidentity '))</span> </a></li> | |||||
| 902 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the targe t property of a form ula when i t is of ty pe lookup but is a r egarding f ield.<br>< /br> <i> SetRegardi ngLookup(' account', '630dd379c -ee2f-11db -8314-0800 200c9a5', 'Microsoft ')</i>">Se tRegarding Lookup('en tityname', 'guid', ' Primary Fi eld Text') </span></a ></li> | |||||
| 903 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the state and statu s of a rec ord within Dynamics CRM. Only to be used with form ulas of ty pe Save To Current R ecord. <br ></br><i>S etState(2, 6)</i>">Se tState(sta te,status) </span></a ></li> | |||||
| 904 | </ul> | |||||
| 905 | </li> | |||||
| 906 | <li class="fo lder"><a c lass="ui-l ink"><span >String</s pan></a> | |||||
| 907 | <ul> | |||||
| 908 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="The AppendForm at functio n takes a base strin g and a se cond strin g of comma , separate d values w hich it us es to gene rate a set of string s.<br></br > <i> Ap pendFormat ('Value = {0}', 'Dec ision Make r,Champion ') Retu rns 'Value ='Decision Maker' </ br>'Value= 'Champion' </i>">Appe ndFormat(' inputstrin g', param[ 0],param[1 ],param[n] )</span></ a></li> | |||||
| 909 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a Base 64 encodin g of a str ing. <br>< /br><i>Bas e64Encode( 'The quick brown fox ')</i>">Ba se64Encode ('inputstr ing')</spa n></a></li > | |||||
| 910 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a Base 64 decodin g of a str ing. <br>< /br><i>Bas e64Decode( 'The quick brown fox ')</i>">Ba se64Decode ('inputstr ing')</spa n></a></li > | |||||
| 911 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Capi talize the first let ter in a s tring. <br ></br> <i> Capital ize('micro soft') Ret urns 'Micr osoft'</i> ">Capitali ze('inputs tring')</s pan></a></ li> | |||||
| 912 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f the 'str ingtofind' is found in the 'st ring' para meter. <b r></br> <i > Contain s('Formula Manager', 'Man') Ret urns True< /i>">Conta ins('input string', ' stringtofi nd')</span ></a></li> | |||||
| 913 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a comp ressed str ing. <br>< /br><i>Com press('The quick bro wn fox')</ i>">Compre ss('inputs tring')</s pan></a></ li> | |||||
| 914 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the nu mber of ch aracters t hat make u p a string . <br></br > <i> Co untCharact ers('Formu la') Retu rns 7</i>" >CountChar acters('in putstring' )</span></ a></li> | |||||
| 915 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a deco mpressed s tring. <br ></br><i>D ecompress( 'The quick brown fox ')</i>">De compress(' inputstrin g')</span> </a></li> | |||||
| 916 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f one stri ng ends wi th another . <br></br > <i> End sWith('mic rosoft', ' oft') Retu rns 'True' </i>">Ends With('inpu tstring', 'endstring ')</span>< /a></li> | |||||
| 917 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a Guid . <br></b r> <i> Ge nerateGuid () Returns '630dd379 c-ee2f-11d b-8314-080 0200c9a5'< /i>">Gener ateGuid()< /span></a> </li> | |||||
| 918 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a para meter from a URL. < br></br> < i> GetPar amFromUrl( 'http://cr m/main.asp x?etc=1&am p;id=630dd 379c-ee2f- 11db-8314- 0800200c9a 5&page type=entit yrecord', 'id') Retu rns '630dd 379c-ee2f- 11db-8314- 0800200c9a 5'</i>">Ge tParamFrom Url('url', 'paramete r')</span> </a></li> | |||||
| 919 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the po sition in 'string' w here the f irst insta nce on 'st ringtofind ' was loca ted starti ng at a po sition of 'startinde x' in the 'string pa remeter. < br></br> < i> IndexO f('Formula Manager', 'Man', 0) Returns 9 </i>">Inde xOf('input string', ' stringtofi nd', 'star tindex')</ span></a>< /li> | |||||
| 920 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Inse rts one st ring into another at a positio n. <br></ br> <i> In sert('The cat',4 'bl ack ' ) Re turns 'The black cat '</i>">Ins ert('input string', p osition, ' insertstri ng')</span ></a></li> | |||||
| 921 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the le ft number of charact ers in a s tring. <b r></br> <i > Left('m icrosoft', 5) Return s 'Micro'< /i>">Left( 'inputstri ng', 'numb erofcharac ters')</sp an></a></l i> | |||||
| 922 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Conv erts all s tring elem ents to lo wer case. <br></br> <i> Lower ('Formula' ) Returns formula</ i>">Lower( 'inputstri ng')</span ></a></li> | |||||
| 923 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a MD5 hash of a string. <b r></br><i> MD5('The q uick brown fox')</i> ">MD5('inp utstring') </span></a ></li> | |||||
| 924 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Puts a number of string characters to the le ft of an i nput strin g based on overall l ength. <br ></br> <i> PadLeft( '1', 4, '0 ') Returns '0001'</i >">PadLeft ('inputstr ing', tota lLength, ' charToPad' )</span></ a></li> | |||||
| 925 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Puts a number of string characters to the ri ght of an input stri ng based o n overall length. <b r></br> <i > PadRigh t('1', 4, '0') Retur ns '1000'< /i>">PadRi ght('input string', t otalLength , 'charToP ad')</span ></a></li> | |||||
| 926 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Repl aces one s tring with another o ne given a n input st ring <br> </br> <i> Replace( 'Formula M anager Roc ks', 'Rock s', 'is gr eat') Retu rns 'Formu la Manager is great' </i>">Repl ace('input string', ' stringtofi nd', 'stri ngtoreplac e')</span> </a></li> | |||||
| 927 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves a numb er of char acters fro m a string at a star ting posit ion. <br> </br> <i> Remove('mi crosoft',4 ,2) Return s 'microft '</i>">Rem ove('input string', ' startposti on', 'numb erofcharac terstoremo ve')</span ></a></li> | |||||
| 928 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the ri ght number of charac ters in a string. < br></br> < i> Right( 'microsoft ', 4) Retu rns 'soft' </i>">Righ t('inputst ring', num berofchara cters)</sp an></a></l i> | |||||
| 929 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Reve rse the co ntents of a string. <br></br> <i> Reve rse('Formu la') Retu rns alumro F</i>">Rev erse('inpu tstring')< /span></a> </li> | |||||
| 930 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a SHA1 hash of a string. < br></br><i >SHA1('The quick bro wn fox')</ i>">SHA1(' inputstrin g')</span> </a></li> | |||||
| 931 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a subs tring from a string between a start and end positi on. <br></ br> <i> S lice('micr osoft', 2, 4) Return s 'cr'</i> ">Slice('i nputstring ', 'start' , 'end')</ span></a>< /li> | |||||
| 932 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a subs tring base d on a spl it charact er and ind ex. <br></ br> <i> S plit('micr osoft.nort h52.ibm', '.', 1) Re turns 'nor th52'</i>" >Split('in putstring' , 'chartos plit', 'in dex')</spa n></a></li > | |||||
| 933 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f one stri ng starts with anoth er. <br></ br> <i> St artsWith(' microsoft' , 'mic') R eturns 'Tr ue'</i>">S tartsWith( 'inputstri ng', 'star tstring')< /span></a> </li> | |||||
| 934 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Take s a string and inser ts the val ues with t he params when it ru n. <br></b r> <i> S tringForma t('Formula {0} Manag er', 'Rock s') Return s 'Formula Rocks Man ager'</i>" >StringFor mat('input string', ' param[0]', 'param[1]' ,'param[n] ')</span>< /a></li> | |||||
| 935 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns part o f the inpu t string b ased on a start posi tion and l ength. <b r></br> <i > Substr ing('Formu la Manager ', 8, 7) R eturns 'Ma nager'</i> ">Substrin g('inputst ring', sta rtposition , length)< /span></a> </li> | |||||
| 936 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Conv erts all s tring elem ents to up per case. <br></br> <i> Uppe r('Formula ') Return s FORMULA< /i>">Upper ('inputstr ing')</spa n></a></li > | |||||
| 937 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a stri ng represe ntation of any numbe r, decimal , currency or boolea n value. A n optional format ma y also be applied.<b r></br> <i > ToString (99) Retur ns '99' <b r></br> T oString(Lo calDate(), 'MMM-yyyy ') Returns 'DEC-2011 '</i>">ToS tring('val uetoconver t', 'forma t')</span> </a></li> | |||||
| 938 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Conv erts the f irst chara cter of a word to up percase an d the rest to lower case. <br> </br> <i> ToTitleCa se('the qu ick brown fox') Retu rns 'The Q uick Brown Fox'</i>" >ToTitleCa se('inputs tring')</s pan></a></ li> | |||||
| 939 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves all oc currences of a set o f specifie d characte rs from th e beginnin g and end of the str ing. <br>< /br> <i> Trim(' Mic rosoft Roc ks _', ' ' , '_') Ret urns 'Micr osoft Rock s'</i>">Tr im('inputs tring', 'p aram[0]',' param[1]', 'param[n]' )</span></ a></li> </ul> | |||||
| 940 | </li> | |||||
| 941 | <li class="fol der"><a cl ass="ui-li nk"><span> System</sp an></a> | |||||
| 942 | <ul> | |||||
| 943 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a valu e which ha s been inc remented b y a define d formula. <br></br> <i> 'Acc- ' + PadLef t(ToString (AutoNumbe r([account .accountnu mber]+1)), 8, '0') R eturns 'Ac c-00001001 ' </i>">Au toNumber(' autonumber string')</ span></a>< /li> | |||||
| 944 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f a test v alue lies between 2 other valu es. Works with numbe rs and dat e fields. <br></br> <i>Between (50, 25, 1 00, 'both' ) Inclusiv e both sid es</br>Bet ween(50, 2 5, 100, 'l eft') Incl usive only left side </br>Betwe en(50, 25, 100, 'rig ht') Inclu sive only right side </br>Betw een(50, 25 , 100, 'no ne') No in clusive</b r></i>">Be tween('tes tvalue', ' minvalue', 'maxvalue ', 'inclus ive')</spa n></a></li > | |||||
| 945 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the targe t property of a form ula to a n ull value. Effective ly retuns the '?' ch aracter. < br></br><i >Clear()</ i>">Clear( )</span></ a></li> | |||||
| 946 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Crea te an emai l from a t emplate. R eturns the guid of t he new ema il<br></br > <i>Creat eEmailFrom Template(' 220dd379c- ee2f-11db- 8314-08002 00c9a5', ' 220dd379c- ee2f-11db- 8314-08002 00c9a5', ' quote', Se tAttribute PartyList( 'from', 's ystemuser' , WhoAmI() , SetAttri butePartyL ist('to', 'systemuse r', '220dd 379c-ee2f- 11db-8314- 0800200c9a 5')) </i>" >CreateEma ilFromTemp late('temp lateid', ' recordid', 'recorden tityname', 'setattri bute_on_em ail', 'set attribute_ on_email') </span></a ></li> | |||||
| 947 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Clon es a recor d. <br></b r> Shows how to clo ne the cur rent accou nt entity along with all its r elated 1:M contacts and opport unities <b r></br> <i > Clone('a ccount',[a ccount.acc ountid], ' contact_cu stomer_acc ounts', 'o pportunity _customer_ accounts', false) </ i><br></br > Clone j ust the ac count itse lf. <br></ br><i> Clo ne('accoun t',[accoun t.accounti d])</i>">C lone('enti tyname', ' guidofenti ty', 'rela tionshipna me', 'enab leprefix') </span></a ></li> | |||||
| 948 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f all of t he 'fieldt ocheck' ar guments co ntains dat a. <br></b r> <i> Co ntainsData ([account. descriptio n]) Retur ns True</i >">Contain sData('fie ldtocheck1 ', 'fieldt ocheck2')< /span></a> </li> | |||||
| 949 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f all of t he 'fieldt ocheck' ar guments co ntains dat a. <br></b r> <i> Co ntainsData AndNotZero ([account. descriptio n]) Retur ns True</i >">Contain sDataAndNo tZero('fie ldtocheck' , 'fieldto check2')</ span></a>< /li> | |||||
| 950 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f all of t he 'fieldt ocheck' ar guments do not conta in data. <br></br> <i> DoesNo tContainDa ta([accoun t.descript ion]) Ret urns True< /i>">DoesN otContainD ata('field tocheck1', 'fieldtoc heck2')</s pan></a></ li> | |||||
| 951 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="A De cisionTabl e allows y ou to exec ute multip le steps d riven from a spreads heet. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">Decisi onTable('s tep1', 'st ep2', 'ste p3')</span ></a></li> | |||||
| 952 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f a user h as a certa in privile ge.<br></b r> <i> Doe sUserHaveP rivilege(W hoAmI(), ' prvCreatea ccount') r eturns tru e </i>">Do esUserHave Privilege( 'userid', 'privilege name')</sp an></a></l i> | |||||
| 953 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a comm a seperate d list of a users ro les. <br>< /br> <i> GetUserRol es(WhoAmI( ))<br></br > Returns System Adm inistrator , Customer Service R epresentat ive</i>">G etUserRole s('userid' )</span></ a></li> | |||||
| 954 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a comm a seperate d list of a users te ams. <br>< /br> <i> GetUserTea ms(WhoAmI( ))<br></br > Returns Sales Team , CSR Team </i>">GetU serTeams(' userid')</ span></a>< /li> | |||||
| 955 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns true i f the user is in the list of s ecurity ro les otherw ise false. <br></br> <i> IsUse rInSecurit yRoles(Who AmI(), 'Sy stem Admin istrator', 'Salesper son')<br>< /br> Retur ns true</i >">IsUserI nSecurityR oles('user id', 'secu rityrole1' , 'securit yrole2')</ span></a>< /li> | |||||
| 956 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find the max o f two valu es. <br></ br> <i> M axOf(10,10 0) Returns 100</i>"> MaxOf(valu e1, value2 )</span></ a></li> | |||||
| 957 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Find the min o f two valu es. <br></ br> <i> Mi nOf(10,100 ) Returns 10</i>">Mi nOf(value1 , value2)< /span></a> </li> | |||||
| 958 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a rand om integer between t he supplie d min and max values . <br></br > <i> Ran dom(0,100) Returns 2 5</i>">Ran dom(minval ue, maxval ue)</span> </a></li> | |||||
| 959 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Remo ves the at tribute sp ecified in the targe t property from the current op eration. < br></br><i >RemoveAtt ribute('de scription' )</i>">Rem oveAttribu te()</span ></a></li> | |||||
| 960 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the pr ior value of a field . <br></br > Allows f or compars ion of pre vious valu es such as only exec ute a vali dation rul e if a pic klists pri or value w as 'Pendin g' and it is now goi ng to 'Clo sed'<br></ br> <i> P riorValue( '[account. descriptio n]')</i>"> PriorValue ('fieldref erence')</ span></a>< /li> | |||||
| 961 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Send an email. <br></br> <i>SendEma il('30dd37 9c-ee2f-11 db-8314-08 00200c9a55 ')</i>">Se ndEmail('e mailguid') </span></a ></li> | |||||
| 962 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Sets the curre ncy symbol on a mone y\decimal field. Pri mary used to apply a custom cu rrency sym bol when u sing a cal culated fi eld. <br> </br> <i> SetCurren cySymbol(S um('HotOpp s.estimate dvalue'), '$') Retur ns $ 121,3 87</i>">Se tCurrencyS ymbol('Val ue', 'Curr encySymbol ')</span>< /a></li> | |||||
| 963 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Show s the user an error message. < br></br><i >ThrowErro r('The sta rt date mu st be befo re the end date.')</ i>">ThrowE rror('mess age')</spa n></a></li > | |||||
| 964 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a GUID represeti ng the cur rent user. <br></br > <i> WhoA mI() Retur ns 30dd379 c-ee2f-11d b-8314-080 0200c9a55< /i>">WhoAm I()</span> </a></li> | |||||
| 965 | <li clas s="file">< a class="u i-link"><b ><span tit le="">*** Misc. ***< /span></b> </a></li> | |||||
| 966 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Smar tFlow allo ws you to execute mu ltiple ste ps in a fo rmula. <br ></br><i>U se the sea rch functi on to see examples.< /i>">Smart Flow('step 1', 'step2 ', 'step3' )</span></ a></li> | |||||
| 967 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="SetV ar allows you to set a variabl e for late r re-use. <br></br>< i>Use the search fun ction to s ee example s.</i>">Se tVar('vari ablename', 'value')< /span></a> </li> | |||||
| 968 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="SetV arConcat a llows you to set a v ariable to itself pl us andothe r value fo r later re -use. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">SetVar Concat('va riablename ', 'value' )</span></ a></li> | |||||
| 969 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="GetV ar allows you to ret rieve a va riable. <b r></br><i> Use the se arch funct ion to see examples. </i>">GetV ar('variab lename', ' defaultvau e')</span> </a></li> | |||||
| 970 | ||||||
| 971 | </ul> | |||||
| 972 | </li> | |||||
| 973 | <li class="fol der"><a cl ass="ui-li nk"><span> WebFusion< /span></a> | |||||
| 974 | <ul > | |||||
| 975 | ||||||
| 976 | <l i class="f older"><a class="ui- link"><spa n>Azure Se rvices</sp an></a> | |||||
| 977 | <ul> | |||||
| 978 | <li class="fil e"><a clas s="ui-link "><span ti tle="Comin g soon..." >Coming so on...</spa n></a></li > | |||||
| 979 | </ul> | |||||
| 980 | </ li> | |||||
| 981 | ||||||
| 982 | <li class= "folder">< a class="u i-link"><s pan>Proces s - JSON</ span></a> | |||||
| 983 | <ul> | |||||
| 984 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Creates a JSON Array .<br></br> <i>Use the search fu nction to see exampl es.</i>">C reateJArra y(CreateJO bject(), C reateJObje ct())</spa n></a></li > | |||||
| 985 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Creates a JSON Array which wil l be popul ated with JObjects f rom FindRe cords().<b r></br><i> Use the se arch funct ion to see examples. </i>">Crea teJArrayCh ildren('en titycollec tion', Cre ateJObject ())</span> </a></li> | |||||
| 986 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Creates a JSON Objec t.<br></br ><i>Use th e search f unction to see examp les.</i>"> CreateJObj ect(Create JProperty( ), CreateJ Property() )</span></ a></li> | |||||
| 987 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Creates a JSON Prope rty.<br></ br><i>Use the search function to see exa mples.</i> ">CreateJP roperty('f ieldname', 'fieldval ue')</span ></a></li> | |||||
| 988 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Used in-co njunction with the C reateJArra yChildren( ) function to build the data.< br></br><i >Use the s earch func tion to se e examples .</i>">Fin dJArrayIte m('fieldna me', 'defa ultvalue') </span></a ></li> | |||||
| 989 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Gets a val ue from a JSON docum ent.<br></ br><i>Use the search function to see exa mples.</i> ">GetVarJs onValue('s electtoken ', 'defaul tvalue')</ span></a>< /li> | |||||
| 990 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Get an Ent ityCollect ion from a JSON docu ment.<br>< /br><i>Use the searc h function to see ex amples.</i >">GetVarJ sonEC('sel ecttoken') </span></a ></li> | |||||
| 991 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 992 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 993 | <li class="fil e"><a clas s="ui-link "><b><span title="JS ON Samples ">*** JSON Samples * **</span>< /b></a></l i> | |||||
| 994 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 995 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 996 | <li class="fil e"><a clas s="ui-link "><b><span title="JS ONSamples" >*** Basic JSON crea tion ***</ span></b>< /a></li> | |||||
| 997 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Cre ateJObject ( | |||||
| 998 | C reateJProp erty('Acco untName', [account.n ame]), | |||||
| 999 | C reateJProp erty('Acco untNumber' , [account .accountnu mber]), | |||||
| 1000 | C reateJProp erty('Addr ess_Line1' , [account .address1_ line1]), | |||||
| 1001 | C reateJProp erty('Addr ess_Line2' , [account .address1_ line2]), | |||||
| 1002 | C reateJProp erty('Addr ess_Line3' , [account .address1_ line3]), | |||||
| 1003 | C reateJProp erty('Addr ess_City', [account. address1_c ity]), | |||||
| 1004 | C reateJProp erty('Addr ess_Zip', [account.a ddress1_po stalcode]) , | |||||
| 1005 | C reateJProp erty('Addr ess_State' , [account .address1_ stateorpro vince]), | |||||
| 1006 | C reateJProp erty('Addr ess_Countr y', [accou nt.address 1_country] ) | |||||
| 1007 | )</span ></a></li> | |||||
| 1008 | <li cla ss="file"> <a class=" ui-link">< span></spa n></a></li > | |||||
| 1009 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1010 | <li class="fil e"><a clas s="ui-link "><b><span title="JS ONSamples" >*** Shows how to ad d defaults on fields and sub-o bjects *** </span></b ></a></li> | |||||
| 1011 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Cre ateJObject ( | |||||
| 1012 | C reateJProp erty('Acco untName', [account.n ame], ''), | |||||
| 1013 | C reateJProp erty('Acco untNumber' , [account .accountnu mber], '') , | |||||
| 1014 | C reateJProp erty('Addr ess_Line1' , [account .address1_ line1], '' ), | |||||
| 1015 | C reateJProp erty('Addr ess_Line2' , [account .address1_ line2], '' ), | |||||
| 1016 | C reateJProp erty('Addr ess_Line3' , [account .address1_ line3], '' ), | |||||
| 1017 | C reateJProp erty('Addr ess_City', [account. address1_c ity], ''), | |||||
| 1018 | C reateJProp erty('Addr ess_Zip', [account.a ddress1_po stalcode], ''), | |||||
| 1019 | C reateJProp erty('Addr ess_State' , [account .address1_ stateorpro vince], '' ), | |||||
| 1020 | C reateJProp erty('Addr ess_Countr y', [accou nt.address 1_country] , ''), | |||||
| 1021 | C reateJProp erty('Mark etingData' , | |||||
| 1022 | Cr eateJObjec t( | |||||
| 1023 | Cr eateJPrope rty('DoNot BulkMail', [account. donotbulke mail]), | |||||
| 1024 | Cr eateJPrope rty('DoNot BulkPostal Mail', [ac count.dono tbulkposta lmail]), | |||||
| 1025 | Cr eateJPrope rty('DoNot Email', [a ccount.don otemail]), | |||||
| 1026 | Cr eateJPrope rty('DoNot Fax', [acc ount.donot fax]), | |||||
| 1027 | Cr eateJPrope rty('DoNot PostalMail ', [accoun t.donotpos talmail]), | |||||
| 1028 | Cr eateJPrope rty('DoNot Phone', [a ccount.don otphone]) | |||||
| 1029 | ) | |||||
| 1030 | ) | |||||
| 1031 | ||||||
| 1032 | ) | |||||
| 1033 | </span> </a></li> | |||||
| 1034 | <li cl ass="file" ><a class= "ui-link"> <span></sp an></a></l i> | |||||
| 1035 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1036 | <li class="fil e"><a clas s="ui-link "><b><span title="JS ONSamples" >*** Shows how to ad d child no des ***</s pan></b></ a></li> | |||||
| 1037 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Cre ateJObject ( | |||||
| 1038 | C reateJProp erty('Acco untName', [account.n ame], ''), | |||||
| 1039 | C reateJProp erty('Acco untNumber' , [account .accountnu mber], '') , | |||||
| 1040 | C reateJProp erty('Addr ess_Line1' , [account .address1_ line1], '' ), | |||||
| 1041 | C reateJProp erty('Addr ess_Line2' , [account .address1_ line2], '' ), | |||||
| 1042 | C reateJProp erty('Addr ess_Line3' , [account .address1_ line3], '' ), | |||||
| 1043 | C reateJProp erty('Addr ess_City', [account. address1_c ity], ''), | |||||
| 1044 | C reateJProp erty('Addr ess_Zip', [account.a ddress1_po stalcode], ''), | |||||
| 1045 | C reateJProp erty('Addr ess_State' , [account .address1_ stateorpro vince], '' ), | |||||
| 1046 | C reateJProp erty('Addr ess_Countr y', [accou nt.address 1_country] , ''), | |||||
| 1047 | C reateJProp erty('Mark etingData' , | |||||
| 1048 | Cr eateJObjec t( | |||||
| 1049 | Cr eateJPrope rty('DoNot BulkMail', [account. donotbulke mail]), | |||||
| 1050 | Cr eateJPrope rty('DoNot BulkPostal Mail', [ac count.dono tbulkposta lmail]), | |||||
| 1051 | Cr eateJPrope rty('DoNot Email', [a ccount.don otemail]), | |||||
| 1052 | Cr eateJPrope rty('DoNot Fax', [acc ount.donot fax]), | |||||
| 1053 | Cr eateJPrope rty('DoNot PostalMail ', [accoun t.donotpos talmail]), | |||||
| 1054 | Cr eateJPrope rty('DoNot Phone', [a ccount.don otphone]) | |||||
| 1055 | ) | |||||
| 1056 | ), | |||||
| 1057 | Crea teJPropert y('Contact s', | |||||
| 1058 | Cr eateJArray Children( | |||||
| 1059 | Fin dRecords(' contact', 'parentcus tomerid', [account.a ccountid], '*' ), | |||||
| 1060 | Cre ateJObject ( | |||||
| 1061 | CreateJPr operty('Fu llname', F indJArrayI tem('fulln ame')), | |||||
| 1062 | CreateJPr operty('Jo btitle', F indJArrayI tem('jobti tle')), | |||||
| 1063 | CreateJPr operty('Em ail', Find JArrayItem ('emailadd ress1')), | |||||
| 1064 | CreateJPr operty('Bu sinessPhon e', FindJA rrayItem(' telephone1 ')) | |||||
| 1065 | ) | |||||
| 1066 | ) | |||||
| 1067 | ) | |||||
| 1068 | ) </span> </a></li> | |||||
| 1069 | ||||||
| 1070 | </ul> | |||||
| 1071 | </ li> | |||||
| 1072 | ||||||
| 1073 | < li class=" folder"><a class="ui -link"><sp an>Process - XML</sp an></a> | |||||
| 1074 | <ul> | |||||
| 1075 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Creates an XML Att ribute. <b r></br><i> Use the se arch funct ion to see examples. </i>">Crea teXmlAttri bute('attr ibutename' , 'attribu tevalue')< /span></a> </li> | |||||
| 1076 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Creates a set of c hild XML E lements. < br></br><i >Use the s earch func tion to se e examples .</i>">Cre ateXmlChil dren('coll ectionname ', 'collec tionitemna me', 'enti tycollecti on', 'xmle lement', ' xmlelement ')</span>< /a></li> | |||||
| 1077 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Creates an XML Dec laration. <br></br>< i>Use the search fun ction to s ee example s.</i>">Cr eateXmlDec laration(' version',' encoding', 'standalon e')</span> </a></li> | |||||
| 1078 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Creates an XML Ele ment. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">Create XmlElement ('elementn ame', 'ele mentvalue' )</span></ a></li> | |||||
| 1079 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Creates an XML Dec laration. <br></br>< i>Use the search fun ction to s ee example s.</i>">Cr eateXmlRoo tAttribute ('name', ' value', 'n ame', 'val ue')</span ></a></li> | |||||
| 1080 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Creates the Xml Ro ot Node fo r the docu ment. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">Create XmlRootNod e('nameofr ootnode', 'xmldeclar ation', 'x mlschemas\ root attri butes', 'x mlnodes')< /span></a> </li> | |||||
| 1081 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Used in conjunctio n with the CreateXml Children() function to lookup values. <b r></br><i> Use the se arch funct ion to see examples. </i>">Find XmlItem('f ieldname') </span></a ></li> | |||||
| 1082 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Gets a v alue from a XML docu ment. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">GetVar XPathValue ('xpath')< /span></a> </li> | |||||
| 1083 | <l i class="f ile"><a cl ass="ui-li nk"><span class="hel pId" title ="Get an E ntityColle ction from a XML doc ument. <br ></br><i>U se the sea rch functi on to see examples.< /i>">GetVa rXPathEC(' xpath')</s pan></a></ li> | |||||
| 1084 | <l i class="f ile"><a cl ass="ui-li nk"><span> </span></a ></li> | |||||
| 1085 | <l i class="f ile"><a cl ass="ui-li nk"><span> </span></a ></li> | |||||
| 1086 | <l i class="f ile"><a cl ass="ui-li nk"><b><sp an title=" XMLSamples ">*** XML Samples ** *</span></ b></a></li > | |||||
| 1087 | <l i class="f ile"><a cl ass="ui-li nk"><span> </span></a ></li> | |||||
| 1088 | <l i class="f ile"><a cl ass="ui-li nk"><span> </span></a ></li> | |||||
| 1089 | <l i class="f ile"><a cl ass="ui-li nk"><b><sp an title=" XMLSamples ">*** Basi c XML docu ment creat ion ***</s pan></b></ a></li> | |||||
| 1090 | <l i class="f ile"><a cl ass="ui-li nk"><span title=""> CreateXmlR ootNode('A ccount','' , '', | |||||
| 1091 | C reateXmlEl ement('Acc ountName', [account. name]), | |||||
| 1092 | C reateXmlEl ement('Acc ountNumber ', [accoun t.accountn umber]), | |||||
| 1093 | C reateXmlEl ement('Add ress_Line1 ', [accoun t.address1 _line1]), | |||||
| 1094 | C reateXmlEl ement('Add ress_Line2 ', [accoun t.address1 _line2]), | |||||
| 1095 | C reateXmlEl ement('Add ress_Line3 ', [accoun t.address1 _line3]), | |||||
| 1096 | C reateXmlEl ement('Add ress_City' , [account .address1_ city]), | |||||
| 1097 | C reateXmlEl ement('Add ress_Zip', [account. address1_p ostalcode] ), | |||||
| 1098 | C reateXmlEl ement('Add ress_State ', [accoun t.address1 _stateorpr ovince]), | |||||
| 1099 | C reateXmlEl ement('Add ress_Count ry', [acco unt.addres s1_country ]) | |||||
| 1100 | )</span ></a></li> | |||||
| 1101 | <li cl ass="file" ><a class= "ui-link"> <span></sp an></a></l i> | |||||
| 1102 | <l i class="f ile"><a cl ass="ui-li nk"><span> </span></a ></li> | |||||
| 1103 | <l i class="f ile"><a cl ass="ui-li nk"><b><sp an title=" XMLSamples ">*** Show s how to a dd default s on eleme nts & sub-elemen ts ***</sp an></b></a ></li> | |||||
| 1104 | <l i class="f ile"><a cl ass="ui-li nk"><span title=""> CreateXmlR ootNode('A ccount','' ,'', | |||||
| 1105 | Create XmlElement ('AccountN ame', [acc ount.name] , ''), | |||||
| 1106 | Create XmlElement ('AccountN umber', [a ccount.acc ountnumber ], ''), | |||||
| 1107 | Create XmlElement ('Address_ Line1', [a ccount.add ress1_line 1], ''), | |||||
| 1108 | Create XmlElement ('Address_ Line2', [a ccount.add ress1_line 2], ''), | |||||
| 1109 | Create XmlElement ('Address_ Line3', [a ccount.add ress1_line 3], ''), | |||||
| 1110 | Create XmlElement ('Address_ City', [ac count.addr ess1_city] , ''), | |||||
| 1111 | Create XmlElement ('Address_ Zip', [acc ount.addre ss1_postal code], '') , | |||||
| 1112 | Create XmlElement ('Address_ State', [a ccount.add ress1_stat eorprovinc e], ''), | |||||
| 1113 | Create XmlElement ('Address_ Country', [account.a ddress1_co untry], '' ), | |||||
| 1114 | Create XmlElement ('Marketin gData', | |||||
| 1115 | Create XmlElement ('DoNotBul kMail', [a ccount.don otbulkemai l]), | |||||
| 1116 | Create XmlElement ('DoNotBul kPostalMai l', [accou nt.donotbu lkpostalma il]), | |||||
| 1117 | Create XmlElement ('DoNotEma il', [acco unt.donote mail]), | |||||
| 1118 | CreateX mlElement( 'DoNotFax' , [account .donotfax] ), | |||||
| 1119 | Create XmlElement ('DoNotPos talMail', [account.d onotpostal mail]), | |||||
| 1120 | Create XmlElement ('DoNotPho ne', [acco unt.donotp hone]) | |||||
| 1121 | ) | |||||
| 1122 | )</span></ a></li> | |||||
| 1123 | <li cl ass="file" ><a class= "ui-link"> <span></sp an></a></l i> | |||||
| 1124 | <l i class="f ile"><a cl ass="ui-li nk"><span> </span></a ></li> | |||||
| 1125 | <l i class="f ile"><a cl ass="ui-li nk"><b><sp an title=" XMLSamples ">*** Show s how to a dd XML att ributes on an elemen t ***</spa n></b></a> </li> | |||||
| 1126 | < li class=" file"><a c lass="ui-l ink"><span title=""> CreateXmlR ootNode('A ccount','' ,'', | |||||
| 1127 | Create XmlElement ('AccountN ame', [acc ount.name] , ''), | |||||
| 1128 | Create XmlElement ('AccountN umber', [a ccount.acc ountnumber ], ''), | |||||
| 1129 | Create XmlElement ('Address_ Line1', [a ccount.add ress1_line 1], ''), | |||||
| 1130 | Create XmlElement ('Address_ Line2', [a ccount.add ress1_line 2], ''), | |||||
| 1131 | Create XmlElement ('Address_ Line3', [a ccount.add ress1_line 3], ''), | |||||
| 1132 | Create XmlElement ('Address_ City', [ac count.addr ess1_city] , ''), | |||||
| 1133 | Create XmlElement ('Address_ Zip', [acc ount.addre ss1_postal code], '') , | |||||
| 1134 | Create XmlElement ('Address_ State', [a ccount.add ress1_stat eorprovinc e], ''), | |||||
| 1135 | Create XmlElement ('Address_ Country', [account.a ddress1_co untry], '' ), | |||||
| 1136 | Create XmlElement ('Marketin gData', | |||||
| 1137 | Create XmlElement ('DoNotBul kMail', [a ccount.don otbulkemai l], '', ? | |||||
| 1138 | Creat eXmlAttrib ute('flag1 ','abc'), CreateXmlA ttribute(' flag2','12 3')?), | |||||
| 1139 | Create XmlElement ('DoNotBul kPostalMai l', [accou nt.donotbu lkpostalma il], '', ? | |||||
| 1140 | Create XmlAttribu te('flag1' ,'abc'), C reateXmlAt tribute('f lag2','123 ')?), | |||||
| 1141 | Create XmlElement ('DoNotEma il', [acco unt.donote mail], '' , | |||||
| 1142 | ? CreateX mlAttribut e('flag1', 'abc'), Cr eateXmlAtt ribute('fl ag2','123' )?), | |||||
| 1143 | CreateX mlElement( 'DoNotFax' , [account .donotfax] , '', ? | |||||
| 1144 | Creat eXmlAttrib ute('flag1 ','abc'), CreateXmlA ttribute(' flag2','12 3')?), | |||||
| 1145 | Create XmlElement ('DoNotPos talMail', [account.d onotpostal mail], '' , ? | |||||
| 1146 | Crea teXmlAttri bute('flag 1','abc'), CreateXml Attribute( 'flag2','1 23')?), | |||||
| 1147 | Create XmlElement ('DoNotPho ne', [acco unt.donotp hone], '' , | |||||
| 1148 | ?Crea teXmlAttri bute('flag 1','abc'), CreateXml Attribute( 'flag2','1 23')?) | |||||
| 1149 | ) | |||||
| 1150 | )</span></ a></li> | |||||
| 1151 | <li cl ass="file" ><a class= "ui-link"> <span></sp an></a></l i> | |||||
| 1152 | <l i class="f ile"><a cl ass="ui-li nk"><span> </span></a ></li> | |||||
| 1153 | <l i class="f ile"><a cl ass="ui-li nk"><b><sp an title=" XMLSamples ">*** Show s how to a dd child n odes ***</ span></b>< /a></li> | |||||
| 1154 | < li class=" file"><a c lass="ui-l ink"><span title=""> CreateXmlR ootNode('A ccount','' ,'', | |||||
| 1155 | Create XmlElement ('AccountN ame', [acc ount.name] , ''), | |||||
| 1156 | Create XmlElement ('AccountN umber', [a ccount.acc ountnumber ], ''), | |||||
| 1157 | Create XmlElement ('Address_ Line1', [a ccount.add ress1_line 1], ''), | |||||
| 1158 | Create XmlElement ('Address_ Line2', [a ccount.add ress1_line 2], ''), | |||||
| 1159 | Create XmlElement ('Address_ Line3', [a ccount.add ress1_line 3], ''), | |||||
| 1160 | Create XmlElement ('Address_ City', [ac count.addr ess1_city] , ''), | |||||
| 1161 | Create XmlElement ('Address_ Zip', [acc ount.addre ss1_postal code], '') , | |||||
| 1162 | Create XmlElement ('Address_ State', [a ccount.add ress1_stat eorprovinc e], ''), | |||||
| 1163 | Create XmlElement ('Address_ Country', [account.a ddress1_co untry], '' ), | |||||
| 1164 | Create XmlElement ('Marketin gData', | |||||
| 1165 | Create XmlElement ('DoNotBul kMail', [a ccount.don otbulkemai l]), | |||||
| 1166 | Create XmlElement ('DoNotBul kPostalMai l', [accou nt.donotbu lkpostalma il]), | |||||
| 1167 | Create XmlElement ('DoNotEma il', [acco unt.donote mail]), | |||||
| 1168 | CreateX mlElement( 'DoNotFax' , [account .donotfax] ), | |||||
| 1169 | Create XmlElement ('DoNotPos talMail', [account.d onotpostal mail]), | |||||
| 1170 | Create XmlElement ('DoNotPho ne', [acco unt.donotp hone]) | |||||
| 1171 | ), | |||||
| 1172 | Create XmlChildre n('Contact s', | |||||
| 1173 | 'Conta ct', | |||||
| 1174 | FindRe cords('con tact', 'pa rentcustom erid', [ac count.acco untid], '* ' ), | |||||
| 1175 | Create XmlElement ('FullName ', FindXml Item('full name')), | |||||
| 1176 | CreateX mlElement( 'JobTitle' , FindXmlI tem('jobti tle')), | |||||
| 1177 | Create XmlElement ('Email', FindXmlIte m('emailad dress1')), | |||||
| 1178 | Create XmlElement ('Business Phone', Fi ndXmlItem( 'telephone 1')) | |||||
| 1179 | ) | |||||
| 1180 | )</span></ a></li> | |||||
| 1181 | </ul> | |||||
| 1182 | </li> | |||||
| 1183 | ||||||
| 1184 | <l i class="f older"><a class="ui- link"><spa n>REST Ser vices</spa n></a> | |||||
| 1185 | <ul> | |||||
| 1186 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to call a web servi ce that is REST base d. <br></b r><i>Use t he search function t o see exam ples.</i>" >CallRestA PI( <br> S etRequestB aseURL('ba seurl'),<b r> SetRequ estResourc e('resourc e'),<br> S etRequestD etails('me thod'),<br > SetReque stHeaders( ),<br> Set RequestPar ams(),<br> SetReques tAuthentic ationNone( ),<br> Set RequestFil es(), <br> SetReques tExpected( 'responses tatuscode' ), <br> S etRequestA ctionPass( 'action'), <br> SetRe questActio nFail('act ion')<br>) </spa n></a></li > | |||||
| 1187 | ||||||
| 1188 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1189 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1190 | <li class="fil e"><a clas s="ui-link "><b><span title="Re st Functio ns">*** Re st API Fun ctions *** </span></b ></a></li> | |||||
| 1191 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1192 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1193 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Sets the B ase URL fo r an API c all. <br>< /br><i>Use the searc h function to see ex amples.</i > ">SetReq uestBaseUR L('baseurl ')</span>< /a></li> | |||||
| 1194 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Sets the r esource na me for an API call.< br></br><i >Use the s earch func tion to se e examples .</i> ">Se tRequestRe source('re source')</ span></a>< /li> | |||||
| 1195 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Sets one o f these va lues POST, GET, PUT, PATCH. <b r></br><i> Use the se arch funct ion to see examples. </i> ">Set RequestDet ails('meth od')</span ></a></li> | |||||
| 1196 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to pass i n a name \ value set of header s. <br></b r><i>Use t he search function t o see exam ples.</i> ">SetReque stHeaders( 'fieldpath ')</span>< /a></li> | |||||
| 1197 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to pass i n a name \ value set of params . <br></br ><i>Use th e search f unction to see examp les.</i> " >SetReques tParams('f ieldpath') </span></a ></li> | |||||
| 1198 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to set th e authenti cation. <b r></br><i> Use the se arch funct ion to see examples. </i> ">Set RequestAut henticatio nNone()</s pan></a></ li> | |||||
| 1199 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to pass a ny files a s part of the API ca ll. <br></ br><i>Use the search function to see exa mples.</i> ">SetRequ estFiles(' fieldpath' )</span></ a></li> | |||||
| 1200 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Sets the e xpected re sponse sta tus code. <br></br>< i>Use the search fun ction to s ee example s.</i> ">S etRequestE xpected('r esponsesta tuscode')< /span></a> </li> | |||||
| 1201 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to execut e one or m ore action s when the expected status cod e is found . <br></br ><i>Use th e search f unction to see examp les.</i> " >SetReques tActionPas s('action1 ', 'action 2')</span> </a></li> | |||||
| 1202 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to execut e one or m ore action s when the expected status cod e is not f ound. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i> ">SetRe questActio nFail('act ion1', 'ac tion2')</s pan></a></ li> | |||||
| 1203 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1204 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1205 | <li class="fil e"><a clas s="ui-link "><b><span title="Re st Functio ns">*** Re st Process ing Functi ons ***</s pan></b></ a></li> | |||||
| 1206 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1207 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1208 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Returns a value with in the Res ponse Cont ent (JSON) of the RE ST API cal l. <br></b r><i>Use t he search function t o see exam ples.</i> ">GetVarJs onValue('f ieldpath') </span></a ></li> | |||||
| 1209 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Returns an Entity Co llection w ithin the Response C ontent (JS ON) of the REST API call. <br> </br><i>Us e the sear ch functio n to see e xamples.</ i>">GetVar JsonEC('fi eldpath')< /span></a> </li> | |||||
| 1210 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Returns a value with in the Res ponse Cont ent (XML) of the RES T API call . <br></br ><i>Use th e search f unction to see examp les.</i>"> GetVarXmlV alue('fiel dpath')</s pan></a></ li> | |||||
| 1211 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Returns an Entity Co llection w ithin the Response C ontent (XM L) of the REST API c all. <br>< /br><i>Use the searc h function to see ex amples.</i >">GetVarX mlEC('fiel dpath')</s pan></a></ li> | |||||
| 1212 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1213 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1214 | <li class="fil e"><a clas s="ui-link "><b><span title="Re st Samples ">*** Rest Samples * **</span>< /b></a></l i> | |||||
| 1215 | ||||||
| 1216 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1217 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1218 | <li class="fil e"><a clas s="ui-link "><b><span title="Re stSamples" >*** Send a SMS mess age on the Twilio pl atform *** </span></b ></a></li> | |||||
| 1219 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Cal lRestAPI( | |||||
| 1220 | Se tRequestBa seURL('htt ps://api.t wilio.com/ 2010-04-01 '), | |||||
| 1221 | Se tRequestRe source('/A ccounts/{0 }/Messages .json', 'T wilio_Acco untSID'), | |||||
| 1222 | Se tRequestDe tails('Pos t'), | |||||
| 1223 | Se tRequestHe aders(), | |||||
| 1224 | Se tRequestPa rams('From ', '+44140 3540192', 'To', '077 48344932', 'Body', ' North52 Ro cks!!'), | |||||
| 1225 | Se tRequestAu thenticati onBasic('T wilio_Acco untSID', ' Twilio_Aut hToken'), | |||||
| 1226 | Se tRequestFi les(), | |||||
| 1227 | Se tRequestEx pected('Cr eated'), | |||||
| 1228 | Se tRequestAc tionPass() , | |||||
| 1229 | Se tRequestAc tionFail() | |||||
| 1230 | ) | |||||
| 1231 | </sp an></a></l i> | |||||
| 1232 | ||||||
| 1233 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1234 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1235 | <li class="fil e"><a clas s="ui-link "><b><span title="Re stSamples" >*** Send a SMS mess age on the Twilio pl atform, wi th an Acti on***</spa n></b></a> </li> | |||||
| 1236 | <li class="fil e"><a clas s="ui-link "><span t itle="">Ca llRestAPI( | |||||
| 1237 | Se tRequestBa seURL('htt ps://api.t wilio.com/ 2010-04-01 '), | |||||
| 1238 | Se tRequestRe source('/A ccounts/{0 }/Messages .json', 'T wilio_Acco untSID'), | |||||
| 1239 | Se tRequestDe tails('Pos t'), | |||||
| 1240 | Se tRequestHe aders(), | |||||
| 1241 | Se tRequestPa rams('From ', '+44140 3540192', 'To', '077 48344932', 'Body', ' North52 Ro cks!!'), | |||||
| 1242 | Se tRequestAu thenticati onBasic('T wilio_Acco untSID', ' Twilio_Aut hToken'), | |||||
| 1243 | Se tRequestFi les(), | |||||
| 1244 | Se tRequestEx pected('Cr eated'), | |||||
| 1245 | Se tRequestAc tionPass(C reateRecor d('task', | |||||
| 1246 | 1, | |||||
| 1247 | SetAttr ibute('sub ject', 'SM S ID:' + G etVarJsonV alue('sid' ) + ' Date Created:' + GetVarJs onValue('d ate_create d') | |||||
| 1248 | ) | |||||
| 1249 | ) | |||||
| 1250 | ), | |||||
| 1251 | Se tRequestAc tionFail() | |||||
| 1252 | ||||||
| 1253 | ||||||
| 1254 | ) </sp an></a></l i> | |||||
| 1255 | ||||||
| 1256 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1257 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1258 | <li class="fil e"><a clas s="ui-link "><b><span title="Re stSamples" >*** Retri eve all SM S messages on the Tw ilio platf orm, with an Action* **</span>< /b></a></l i> | |||||
| 1259 | <li class="fil e"><a clas s="ui-link "><span t itle="">Ca llRestAPI( | |||||
| 1260 | Se tRequestBa seURL('htt ps://api.t wilio.com/ 2010-04-01 '), | |||||
| 1261 | Se tRequestRe source('/A ccounts/{0 }/Messages .json', 'T wilio_Acco untSID'), | |||||
| 1262 | Se tRequestDe tails('Get '), | |||||
| 1263 | Se tRequestHe aders(), | |||||
| 1264 | Se tRequestPa rams(), | |||||
| 1265 | Se tRequestAu thenticati onBasic('T wilio_Acco untSID', ' Twilio_Aut hToken'), | |||||
| 1266 | Se tRequestFi les(), | |||||
| 1267 | Se tRequestEx pected('OK ' ), | |||||
| 1268 | Se tRequestAc tionPass( | |||||
| 1269 | ForEachRe cord(GetVa rJsonEC('m essages'), | |||||
| 1270 | Creat eRecord('t ask', | |||||
| 1271 | 1 , | |||||
| 1272 | S etAttribut e('subject ', 'SMS ID :' + Curr entRecord( 'sid') ) | |||||
| 1273 | ) | |||||
| 1274 | ) | |||||
| 1275 | ), | |||||
| 1276 | Se tRequestAc tionFail() | |||||
| 1277 | ||||||
| 1278 | ) </sp an></a></l i> | |||||
| 1279 | ||||||
| 1280 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1281 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1282 | <li class="fil e"><a clas s="ui-link "><b><span title="Re stSamples" >*** Make an IDOL re quest to g et content ***</span ></b></a>< /li> | |||||
| 1283 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Cal lRestAPI( | |||||
| 1284 | SetR equestBase URL('https ://api.ido londemand. com/'), | |||||
| 1285 | SetR equestReso urce('1/ap i/sync/get content/v1 ), | |||||
| 1286 | SetR equestDeta ils('Get') , | |||||
| 1287 | SetR equestHead ers(), | |||||
| 1288 | SetR equestPara ms('index_ reference' , 'http:// en.wikiped ia.org/wik i/Alan Tur ing', 'hig hlight_exp ression', 'Alan Turi ng', 'apik ey', 'ente r_apikey') , | |||||
| 1289 | SetR equestAuth entication None(), | |||||
| 1290 | SetR equestFile s(), | |||||
| 1291 | SetR equestExpe cted('OK' ), | |||||
| 1292 | SetR equestActi onPass( | |||||
| 1293 | U pdateRecor d('account ', | |||||
| 1294 | [account .accountid ] , | |||||
| 1295 | SetAttri bute('desc ription', GetVarJson Value('doc uments{0}. wikipedia_ category{1 6}') | |||||
| 1296 | ) | |||||
| 1297 | ), | |||||
| 1298 | Se tRequestAc tionFail() | |||||
| 1299 | ) | |||||
| 1300 | </spa n></a></li > | |||||
| 1301 | ||||||
| 1302 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1303 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1304 | <li class="fil e"><a clas s="ui-link "><b><span title="Re stSamples" >*** Conve rt some HT ML to a PD F document and store as an att achment ** *</span></ b></a></li > | |||||
| 1305 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Cal lRestAPI( | |||||
| 1306 | Se tRequestBa seURL('htt ps://htmlp dfapi.com/ api/v1'), | |||||
| 1307 | Se tRequestRe source('/p df'), | |||||
| 1308 | Se tRequestDe tails('Pos t'), | |||||
| 1309 | Se tRequestHe aders('Aut henticatio n', 'Token '), | |||||
| 1310 | Se tRequestPa rams('html ', 'enter html here' ), | |||||
| 1311 | Se tRequestAu thenticati onNone(), | |||||
| 1312 | Se tRequestFi les(), | |||||
| 1313 | Se tRequestEx pected('OK ' ), | |||||
| 1314 | Se tRequestAc tionPass( | |||||
| 1315 | CreateNot e('title', 'account' , [account .accountid ] , 'note' , 'result. pdf', 'app lication/p df', GetVa r('file')) | |||||
| 1316 | ) , | |||||
| 1317 | Se tRequestAc tionFail() | |||||
| 1318 | ) | |||||
| 1319 | </s pan></a></ li> | |||||
| 1320 | ||||||
| 1321 | <li class="fi le"><a cla ss="ui-lin k"><span>< /span></a> </li> | |||||
| 1322 | <li class="fil e"><a clas s="ui-link "><span></ span></a>< /li> | |||||
| 1323 | <li class="fil e"><a clas s="ui-link "><b><span title="Re stSamples" >*** Conve rt some HT ML in an a ttachment to a PDF d ocument an d store re sult as a attachment ***</span ></b></a>< /li> | |||||
| 1324 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Cal lRestAPI( | |||||
| 1325 | Se tRequestBa seURL('htt ps://htmlp dfapi.com/ api/v1'), | |||||
| 1326 | Se tRequestRe source('/p df'), | |||||
| 1327 | Se tRequestDe tails('Pos t'), | |||||
| 1328 | Se tRequestHe aders('Aut henticatio n', 'Token '), | |||||
| 1329 | Se tRequestPa rams(), | |||||
| 1330 | Se tRequestAu thenticati onNone(), | |||||
| 1331 | Se tRequestFi les( | |||||
| 1332 | SetR equestFile ('file', | |||||
| 1333 | Base64Dec ode(FindVa lue('annot ation', 'o bjectid', [account.a ccountid], 'documentb ody')), | |||||
| 1334 | 'file.html ', | |||||
| 1335 | 'plain/tex t') | |||||
| 1336 | ), | |||||
| 1337 | Se tRequestEx pected('OK ' ), | |||||
| 1338 | Se tRequestAc tionPass( | |||||
| 1339 | CreateNote ('title', 'account', [account. accountid] , 'note', 'result.p df', 'appl ication/pd f', GetVar ('file')) | |||||
| 1340 | ), | |||||
| 1341 | Se tRequestAc tionFail() | |||||
| 1342 | ) | |||||
| 1343 | </s pan></a></ li> | |||||
| 1344 | ||||||
| 1345 | </ul> | |||||
| 1346 | </ li> | |||||
| 1347 | <li class= "folder">< a class="u i-link"><s pan>Native Services< /span></a> | |||||
| 1348 | <ul> | |||||
| 1349 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Returns th e latitude and longi tude of th e given ad dress.<br> </br> <i> GeoCodeBi ng('16771 NE 72nd Wa y', 'Redmo nd', 'WA', '98052', 'USA') Ret urns '47.6 6898|-122. 11675' </i ><br></br> The bing m aps key ne ed to be e ntered in on the Nor th52 Confi guration e ntity">Geo CodeBing(' addressLin e', 'local ity', 'adm inDistrict ', 'postal Code', 'co untryRegio n')</span> </a></li> | |||||
| 1350 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Returns th e exchange rate betw een 2 curr iences.<br ></br>The Open Excha nge Rates APP ID is stored on the North5 2 Configur tion objec t.">GetExc hangeRate( 'from', 't o')</span> </a></li> | |||||
| 1351 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Returns th e translat ion of the given tex t. The sec ond and th ird parame ters are o ptional. < br></br> < i> Transl ate('Merci ') Returns 'Thank yo u' </i>(As sumes user setting i s set to E nglish) <b r></br> <i > Translat e('Dank', 'de') Retu rns 'Thank s' </i> (G erman text to Englis h) <br></b r>The bing translato r credenti als need t o be enter ed in on t he North52 Configura tion entit y">Transla te('text', 'to', 'fr om')</span ></a></li> | |||||
| 1352 | </ul> | |||||
| 1353 | </ li> | |||||
| 1354 | ||||||
| 1355 | <li class="fo lder"><a c lass="ui-l ink"><span >SharePoin t Services </span></a > | |||||
| 1356 | <ul> | |||||
| 1357 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Create a S harePoint File <br>< /br> <i> S harePointC reateFile( 'https://n orth52.sha repoint.co m/CRMSite/ ',</br>&nb sp; & nbsp;  ; 'bi ll@north52 .com',</br > &nb sp; & nbsp;  ;'password ',</br>&nb sp; & nbsp;  ; tr ue,</br>&n bsp; &nbs p; tr ue,</br>&n bsp; &nbs p; ' https://no rth52.shar epoint.com /CRMSite/C RMDocument s/',</br>& nbsp;  ; &nb sp; 'Test.pdf' ,</br>&nbs p; &n bsp; Fin dValue('an notation', 'objectid ', [quote. quoteid], 'documentb ody' ),</b r> &n bsp; &nbs p; SharePo intSetItem MetaData(' QuoteID', [quote.quo tenumber] )<br></br> ) </i>">S harePointC reateFile( 'sharepoin tsite', 's harepointu sername', 'sharepoin tuserpassw ord', 'iss harepointo nline', 'r eplaceexis tingfile', 'document library', 'filename' , 'documen tdata', Sh arePointSe tItemMetaD ata('field name', 'fi eldvalue') )</span></ a></li> | |||||
| 1358 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Create a S harePoint Folder <br ></br> <i> SharePoint CreateFold er('https: //north52. sharepoint .com/CRMSi te/',</br> &nbs p; &n bsp; 'bill@nort h52.com',< /br> &nbs p; &n bsp;'passw ord',</br> &nbs p; &n bsp; true,</br > &nb sp; & nbsp;  ;'https:// north52.sh arepoint.c om/CRMSite /CRMDocume nts/Folder Name'</br> &nbs p; &n bsp;) ">Sh arePointCr eateFolder ('sharepoi ntsite', ' sharepoint username', 'sharepoi ntuserpass word', 'is sharepoint online', ' foldertocr eate')</sp an></a></l i> | |||||
| 1359 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Create a S harePoint Site <br>< /br> <i>Sh arePointCr eateSite(' https://no rth52.shar epoint.com /CRMSite/' ,</br>&nbs p; &n bsp; 'bil l@north52. com',</br> &nbs p; &n bsp; 'password' ,</br>&nbs p; &n bsp; tru e,</br>&nb sp; & nbsp;  ; tru e,</br>&nb sp; & nbsp;  ; 'M ySite',</b r> &n bsp; &nbs p; 'MySite ',</br>&nb sp; & nbsp;  ; My Site,</br> &nbs p; &n bsp; '1033',</ br> & nbsp;  ; &nb sp; 'sts', </br>  ; &nb sp; & nbsp; 'fal se' )<br>< /br> ) </i >">SharePo intCreateS ite('share pointsite' , 'sharepo intusernam e', 'share pointuserp assword', 'issharepo intonline' , 'siteurl name', 'si tename', ' sitedesc', 'language ', 'templa te', 'uniq uepermissi ons')</spa n></a></li > | |||||
| 1360 | ||||||
| 1361 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Delete a S harePoint File <br> </br> <i> SharePoint DeleteFile ('https:// north52.sh arepoint.c om/CRMSite /',</br>&n bsp; &nbs p; 'b ill@north5 2.com',</b r> &n bsp; &nbs p;'passwor d',</br>&n bsp; &nbs p; t rue,</br>& nbsp;  ; &nb sp; ' https://no rth52.shar epoint.com /CRMSite/C RMDocument s/Test.pdf '</br>&nbs p; &n bsp; ) ">ShareP ointDelete File('shar epointsite ', 'sharep ointuserna me', 'shar epointuser password', 'issharep ointonline ', 'fileto delete')</ span></a>< /li> | |||||
| 1362 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Find Share Point docu ments for a particul ar record via fetchx ml. <br></ br><i>Shar ePointFind DocumentsB yFetchXml( 'account', 'jhj343434 3-764h-kj6 2-7djdkslc kddc')</i> ">SharePoi ntFindDocu mentsByFet chXml('ent ityname',' recordid') </span></a ></li> | |||||
| 1363 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Get a Shar ePoint fil e <br></br > <i> Crea teNote('ti tle', 'con tact', [co ntact.cont actid] , ' notetext', 'john99.t xt', 'text /plain',<b r></br> Sh arePointGe tFile('htt ps://north 52.sharepo int.com/CR MSite/',</ br> & nbsp;  ; &nb sp;'bill@n orth52.com ',</br>&nb sp; & nbsp;  ; 'pa ssword',</ br> & nbsp;  ; &nb sp;true,</ br> & nbsp;  ; &nb sp;'https: //north52. sharepoint .com/CRMSi te/CRMDocu ments/john .txt'</br> &nbs p; &n bsp; )<br> </br> ) </ i>">ShareP ointGetFil e('sharepo intsite', 'sharepoin tusername' , 'sharepo intuserpas sword', 'i ssharepoin tonline', 'filetoret rieve')</s pan></a></ li> | |||||
| 1364 | ||||||
| 1365 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" SharePoint Get Item Metadata<b r></br> <i >SmartFlow (</br></br > &nb sp; & nbsp;  ; SharePoi ntGetItemM etaData('h ttps://nor th52.share point.com/ CRMSite/', </br>  ; &nb sp; & nbsp;'bill @north52.c om',</br>& nbsp;  ; &nb sp; ' password', </br>  ; &nb sp; & nbsp; true ,</br>&nbs p; &n bsp; true ,</br> 'Te st.pdf'),< /br></br>& nbsp;  ; &nb sp; GetVarJson Value('d.T itle') + G etVarJsonV alue('d.GU ID')<br></ br> ) </i> ">SharePoi ntGetItemM etaData('s harepoints ite', 'sha repointuse rname', 's harepointu serpasswor d', 'issha repointonl ine', 'fil ename')</s pan></a></ li> | |||||
| 1366 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" SharePoint Update It em Metadat a<br></br> <i>ShareP ointUpdate ItemMetaDa ta('https: //north52. sharepoint .com/CRMSi te/',</br> &nbs p; &n bsp; 'bill@nort h52.com',< /br> &nbs p; &n bsp;'passw ord',</br> &nbs p; &n bsp; true,</br > &nb sp; & nbsp;  ;true,</br > 'Test.pd f',</br>&n bsp; &nbs p; S harePointS etItemMeta Data('Quot eID', [quo te.quotenu mber] )<br ></br> ) < /i>">Share PointUpdat eItemMetaD ata('share pointsite' , 'sharepo intusernam e', 'share pointuserp assword', 'issharepo intonline' , 'filenam e', 'metad ata')</spa n></a></li > | |||||
| 1367 | <li class="fil e"><a clas s="ui-link "><span cl ass="helpI d" title=" Allows you to set Sh arePoint M etadata wh en creatin g SharePoi nt files.< br></br> O nly used a s the last parameter of the Sh arePointCr eateFile() function. See that function f or an exam ple. <br>< /br><i>Use the searc h function to see ex amples.</i >">SharePo intSetItem MetaData(' fieldname' , 'fieldva lue', 'fie ldname', ' fieldvalue ')</span>< /a></li> | |||||
| 1368 | ||||||
| 1369 | </ul> | |||||
| 1370 | </ li> | |||||
| 1371 | ||||||
| 1372 | </ul > | |||||
| 1373 | </li> | |||||
| 1374 | ||||||
| 1375 | <l i class ="folder"> <a class=" ui-link">< span>xCach e</span></ a> | |||||
| 1376 | <ul> | |||||
| 1377 | <li clas s="file">< a class="u i-link"><b ><span tit le="xCache Global">** * xCache G lobal ***< /span></b> </a></li> | |||||
| 1378 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the xC ache value for the g iven key f or the Glo bal xCache .<br></br> <i> xCach eGetGlobal ('Greeting ') Returns Hello</i> ">xCacheGe tGlobal('k ey', 'defa ultvalue') </span></a ></li> | |||||
| 1379 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 1380 | <li clas s="file">< a class="u i-link"><s pan></span ></a></li> | |||||
| 1381 | <li clas s="file">< a class="u i-link"><b ><span tit le="xCache Local">*** xCache Lo cal ***</s pan></b></ a></li> | |||||
| 1382 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Adds a calcula ted field to an exis ting local xCache co llection.< br></br> < i> xCach eAddCalcul atedFieldL ocal('AllO rders', 'T otal', 'Do uble', 'ne w_quantity * new_pri ce') </i>" >xCacheAdd Calculated FieldLocal ('key', 'n ame', 'dat atype', 'e xpression' )</span></ a></li> | |||||
| 1383 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns a calc ulated val ue from t he local x Cache coll ection bas ed on an o ptional fi lter.<br>< /br> <i> x CacheCalcu lateLocal( 'Accounts' , 'Sum(num berofemplo yees)', 'a ddress1_ci ty = " ;London&qu ot; ', '0' ) Returns 2734</i>"> xCacheCalc ulateLocal ('key', 'e xpression' , 'filter' , 'default value')</s pan></a></ li> | |||||
| 1384 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Load s an xCach e collecti on from ba sed on an existing c ollection with a sup plied filt er.<br></b r> <i> xC acheFilter Local('All Accounts', 'address1 _country = "US A" ', 'address1 _city')</i >">xCacheF ilterLocal ('key', 'f ilter', 's ort')</spa n></a></li > | |||||
| 1385 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Retu rns the xC ache value for the g iven key f or the Loc al xCache. <br></br> <i> xCach eGetLocal( 'AllAccoun ts', 'desc ription') Returns He llo</i>">x CacheGetLo cal('key', 'fieldnam e', 'defau ltvalue', 'rownumber ')</span>< /a></li> | |||||
| 1386 | <li clas s="file">< a class="u i-link"><s pan class= "helpId" t itle="Load s an xCach e collecti on from an EntityCol lection.<b r></br> <i > xCacheL oadLocal(' AllAccount s', FindRe cords('acc ount', '*' , '*', '*' )) </i>">x CacheLoadL ocal('key' , 'entityc ollection' )</span></ a></li> | |||||
| 1387 | ||||||
| 1388 | </ul> | |||||
| 1389 | </li> | |||||
| 1390 | ||||||
| 1391 | </ ul></div> | |||||
| 1392 | </di v> <!---Ta b---> | |||||
| 1393 | ||||||
| 1394 | ||||||
| 1395 | <div id="tabs- source"> | |||||
| 1396 | <div i d="refresh Container- source" st yle="displ ay:flex;al ign-items: center;" c lass="refr esh-contai ner"> | |||||
| 1397 | <input i d="txtFind Source" c lass="cont rols-input " style="b order:1px solid gray ; width: 9 0%;" type= "text" pla ceholder=" Search sou rce..." / > | |||||
| 1398 | <input i d="clearSo urce" styl e="padding -left: 10p x; padding -right: 3p x;" oncli ck="North5 2.FormulaE ditor.Clea rSource(); " type="im age" src=" north52_/c ss/image_c lear" > | |||||
| 1399 | <input i d="refresh Source" st yle="float : right;" onclick="N orth52.For mulaEditor .RefreshSo urce();" t ype="image " src="nor th52_image _refresh"> | |||||
| 1400 | </div> | |||||
| 1401 | ||||||
| 1402 | <div i d="targetC ontainer" style="hei ght: 93%; overflow: auto"> | |||||
| 1403 | ||||||
| 1404 | <ul id ="treesour ce"> | |||||
| 1405 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1406 | <a class ="ui-link" ><span>Sou rce</span> </a> | |||||
| 1407 | </ li> | |||||
| 1408 | </ul> | |||||
| 1409 | ||||||
| 1410 | ||||||
| 1411 | <ul id ="treerela ted"> | |||||
| 1412 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1413 | <a class ="ui-link" ><span>Rel ated (N:1) </span></a > | |||||
| 1414 | <ul> | |||||
| 1415 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Loa ding...</s pan></a></ li> | |||||
| 1416 | </ul> | |||||
| 1417 | </ li> | |||||
| 1418 | </ul> | |||||
| 1419 | ||||||
| 1420 | <ul id ="treerela tednn"> | |||||
| 1421 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1422 | <a class ="ui-link" ><span>Rel ated (N:N) </span></a > | |||||
| 1423 | <ul> | |||||
| 1424 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Loa ding...</s pan></a></ li> | |||||
| 1425 | </ul> | |||||
| 1426 | </ li> | |||||
| 1427 | </ul> | |||||
| 1428 | ||||||
| 1429 | <ul id ="treeform s"> | |||||
| 1430 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1431 | <a class ="ui-link" ><span>For ms</span>< /a> | |||||
| 1432 | <ul> | |||||
| 1433 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Loa ding...</s pan></a></ li> | |||||
| 1434 | </ul> | |||||
| 1435 | </ li> | |||||
| 1436 | </ul> | |||||
| 1437 | ||||||
| 1438 | ||||||
| 1439 | <ul id ="treeproc esses"> | |||||
| 1440 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1441 | <a class ="ui-link" ><span>Pro cesses</sp an></a> | |||||
| 1442 | <ul> | |||||
| 1443 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Loa ding...</s pan></a></ li> | |||||
| 1444 | </ul> | |||||
| 1445 | </ li> | |||||
| 1446 | </ul> | |||||
| 1447 | ||||||
| 1448 | <ul id ="treexcac he"> | |||||
| 1449 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1450 | <a class ="ui-link" ><span>xCa che</span> </a> | |||||
| 1451 | <ul> | |||||
| 1452 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Loa ding...</s pan></a></ li> | |||||
| 1453 | </ul> | |||||
| 1454 | </ li> | |||||
| 1455 | </ul> | |||||
| 1456 | ||||||
| 1457 | <ul id ="treecalc ulations"> | |||||
| 1458 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1459 | <a class ="ui-link" ><span>Cal culations< /span></a> | |||||
| 1460 | <ul> | |||||
| 1461 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Non e found.</ span></a>< /li> | |||||
| 1462 | </ul> | |||||
| 1463 | </ li> | |||||
| 1464 | </ul> | |||||
| 1465 | ||||||
| 1466 | <ul i d="treedec isioncalcu lations"> | |||||
| 1467 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1468 | <a class ="ui-link" ><span>Dec ision Tabl e Calculat ions</span ></a> | |||||
| 1469 | <ul> | |||||
| 1470 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Non e found.</ span></a>< /li> | |||||
| 1471 | </ul> | |||||
| 1472 | </ li> | |||||
| 1473 | </ul> | |||||
| 1474 | ||||||
| 1475 | <ul id ="treeacti ons"> | |||||
| 1476 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1477 | <a class ="ui-link" ><span>Act ions</span ></a> | |||||
| 1478 | <ul> | |||||
| 1479 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Non e found.</ span></a>< /li> | |||||
| 1480 | </ul> | |||||
| 1481 | </ li> | |||||
| 1482 | </ul> | |||||
| 1483 | </div> | |||||
| 1484 | ||||||
| 1485 | </div> <!- --Tab---> | |||||
| 1486 | ||||||
| 1487 | <div id="tabs- explore"> | |||||
| 1488 | ||||||
| 1489 | <div i d="refresh Container- explore" c lass="refr esh-contai ner"> | |||||
| 1490 | <i nput id="t xtFindExpl ore" class ="controls -input" st yle="borde r:1px soli d gray; wi dth: 70% ! important; " type="te xt" placeh older="Sea rch explor e..." />& nbsp;  ; &nb sp; | |||||
| 1491 | <d iv class=" controls"> | |||||
| 1492 | <sel ect class= "controls- input-sele ct" id="ex ploregener ator" onch ange="Nort h52.Formul aEditor.Ex ploreGener ator();"> | |||||
| 1493 | <option va lue="Selec t Generato r">Select Generator< /option> | |||||
| 1494 | <option va lue="Creat eRecord">C reateRecor d</option> | |||||
| 1495 | <option va lue="Updat eRecord">U pdateRecor d</option> | |||||
| 1496 | <option va lue="Updat eRecord">U pdateCreat eRecord</o ption> | |||||
| 1497 | <option va lue="XML"> XML</optio n> | |||||
| 1498 | <option va lue="JSON" >JSON</opt ion> | |||||
| 1499 | </se lect>  ; | |||||
| 1500 | </div> | |||||
| 1501 | <i nput id="r efreshExpl ore" type= "image" sr c="north52 _image_pro gress"> | |||||
| 1502 | </div> | |||||
| 1503 | ||||||
| 1504 | ||||||
| 1505 | <div i d="targetC ontainer" style="hei ght: 93%; overflow: auto"> | |||||
| 1506 | ||||||
| 1507 | <ul id ="treeexpl ore" > | |||||
| 1508 | <l i style="p adding-top : -5px; pa dding-bott om: -5px;" class="fo lder"> | |||||
| 1509 | <a class ="ui-link" ><span >En tities</sp an></a> | |||||
| 1510 | <ul> | |||||
| 1511 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Loa ding...</s pan></a></ li> | |||||
| 1512 | ||||||
| 1513 | </ul> | |||||
| 1514 | </ li> | |||||
| 1515 | </ul> | |||||
| 1516 | ||||||
| 1517 | </div> | |||||
| 1518 | </div> <!- --Tab---> | |||||
| 1519 | ||||||
| 1520 | ||||||
| 1521 | ||||||
| 1522 | ||||||
| 1523 | <div id="tabs- fetchxml"> | |||||
| 1524 | ||||||
| 1525 | <div id= "refreshCo ntainer-fe tchxml" cl ass="refre sh-contain er"> | |||||
| 1526 | <input id="txtFi ndFetchXml " class=" controls-i nput" styl e="border: 1px solid gray; widt h: 90%;" t ype="text" placehold er="Search fetch-xml ..." /> | |||||
| 1527 | <input id="addFe tchXml" s tyle="padd ing-left: 10px; padd ing-right: 3px; heig ht:12px;" onclick="N orth52.For mulaEditor .AddFetchX ML();" typ e="image" src="north 52_image_b pa_add"> | |||||
| 1528 | <input id="refre shFetchXml " style="f loat: righ t;" onclic k="North52 .FormulaEd itor.Refre shSource() ;" type="i mage" src= "north52_i mage_refre sh"> | |||||
| 1529 | </div> | |||||
| 1530 | ||||||
| 1531 | <div i d="targetC ontainer" style="hei ght: 93%; overflow: auto"> | |||||
| 1532 | ||||||
| 1533 | ||||||
| 1534 | <ul id ="treedeta il"> | |||||
| 1535 | <l i class=" folder"> | |||||
| 1536 | <a class ="ui-link" ><span>Que ry Details </span></a > | |||||
| 1537 | <ul> | |||||
| 1538 | <li class="fil e"><a clas s="ui-link "><span ti tle="">Loa ding...</s pan></a></ li> | |||||
| 1539 | </ul> | |||||
| 1540 | </ li> | |||||
| 1541 | </ul> | |||||
| 1542 | ||||||
| 1543 | </div> | |||||
| 1544 | ||||||
| 1545 | ||||||
| 1546 | </div> <!- --Tab---> | |||||
| 1547 | ||||||
| 1548 | </di v> <!---Ta bs---> | |||||
| 1549 | </div> < !---Panel1 ---> | |||||
| 1550 | ||||||
| 1551 | <div id= "panel2alp ha"> | |||||
| 1552 | ||||||
| 1553 | <ul class="wij mo-wijribb on wijmo-w ijribbon-s imple ui-s tate-defau lt ui-help er-clearfi x" id="fly outmenu" s tyle="marg in: 0px; b order: 0px currentCo lor; width : 100%; he ight: 34px ; position : relative ; border-i mage: none ;"> | |||||
| 1554 | <li> | |||||
| 1555 | <a hre f="#">Oper ators</a> | |||||
| 1556 | <ul> | |||||
| 1557 | <l i><a href= "#">+</a>< /li> | |||||
| 1558 | <l i><a href= "#">-</a>< /li> | |||||
| 1559 | <l i><a href= "#">*</a>< /li> | |||||
| 1560 | <l i><a href= "#">/</a>< /li> | |||||
| 1561 | <l i><a href= "#">!</a>< /li> | |||||
| 1562 | <l i><a href= "#">=</a>< /li> | |||||
| 1563 | <l i><a href= "#">!=</a> </li> | |||||
| 1564 | <l i><a href= "#"><</ a></li> | |||||
| 1565 | <l i><a href= "#">></ a></li> | |||||
| 1566 | <l i><a href= "#">In</a> </li> | |||||
| 1567 | <l i><a href= "#">Or</a> </li> | |||||
| 1568 | <l i><a href= "#">And</a ></li> | |||||
| 1569 | </ul> | |||||
| 1570 | </li> | |||||
| 1571 | <li> | |||||
| 1572 | <a hre f="#">Snip pets</a> | |||||
| 1573 | <ul> | |||||
| 1574 | <l i><a href= "#">NoOp</ a></li> | |||||
| 1575 | <l i><a href= "#">Case</ a></li> | |||||
| 1576 | <l i><a href= "#">If</a> </li> | |||||
| 1577 | <l i><a href= "#">IfTrue </a></li> | |||||
| 1578 | <l i><a href= "#">ForEac hRecord</a ></li> | |||||
| 1579 | <l i><a href= "#">DoLoop </a></li> | |||||
| 1580 | <l i><a href= "#">SmartF low</a></l i> | |||||
| 1581 | <l i><a href= "#">Commen t</a></li> | |||||
| 1582 | </ul> | |||||
| 1583 | </li> | |||||
| 1584 | ||||||
| 1585 | <li> | |||||
| 1586 | <a hre f="#">Comm ands</a> | |||||
| 1587 | <ul> | |||||
| 1588 | <l i><a href= "#">Toggle Editor</a ></li> | |||||
| 1589 | </ul> | |||||
| 1590 | ||||||
| 1591 | </li> | |||||
| 1592 | ||||||
| 1593 | <div id="r ibbon" sty le="height : 26px; fl oat: right ;"> | |||||
| 1594 | <butto n type="bu tton" name ="btnValid ate" title ="Performs a basic a nd advance d syntax c heck on yo ur formula .  0;Note 1: You must s ave your f ormula cha nges befor e the adva nced synta x check wi ll pick th em up." cl ass="wijmo -wijribbon -button-va lidate"></ button> | |||||
| 1595 | <butto n type="bu tton" name ="btnClear " title="C lears the contents o f the form ula descri ption " cl ass="wijmo -wijribbon -button-cl ear"></but ton> | |||||
| 1596 | <butto n type="bu tton" name ="btnFunct ionWizard" title="Fu nction Wiz ard" class ="wijmo-wi jribbon-bu tton-funct ion" oncli ck="$('#di alogFuncti onWizard') .wijdialog ('open')"> </button> | |||||
| 1597 | <butto n type="bu tton" name ="btnRunCo mmand" tit le="Execut es the for mula. Only available for formu las of typ e Command Console" c lass="wijm o-wijribbo n-button-c ommand"></ button> | |||||
| 1598 | </div> | |||||
| 1599 | ||||||
| 1600 | </ul > | |||||
| 1601 | ||||||
| 1602 | ||||||
| 1603 | ||||||
| 1604 | <tex tarea clas s="ui-help er-reset" id="formul abox" styl e="border: 1px solid gray; wid th: 100%; height: 21 px; overfl ow: hidden ; margin-t op: 2px; m argin-bott om: 2px; d isplay: no ne; resize : none;" s pellcheck= "false" on blur="Nort h52.Formul aEditor.Se tCursorPos itionFormu laBox();"> </textarea > | |||||
| 1605 | ||||||
| 1606 | ||||||
| 1607 | ||||||
| 1608 | <div id="ss" s tyle="bord er: 1px so lid gray; width: 99. 7%; height : 87%; dis play: none ;"> </div> | |||||
| 1609 | ||||||
| 1610 | <div id="formu la"></div> | |||||
| 1611 | ||||||
| 1612 | ||||||
| 1613 | <div t itle="Func tion Wizar d" id="dia logFunctio nWizard"> | |||||
| 1614 | </div> | |||||
| 1615 | <div t itle="Exec ute Comman d" id="dia logExecute Command"> | |||||
| 1616 | </div> | |||||
| 1617 | ||||||
| 1618 | <ul id="contex tMenu" > | |||||
| 1619 | <li><a>< span class ="wijmo-wi jmenu-text n52-menu- item">Cut< /span></a> </li> | |||||
| 1620 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Copy</sp an></a></l i> | |||||
| 1621 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Paste</s pan></a></ li> | |||||
| 1622 | <h r> | |||||
| 1623 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Insert R ow</span>< /a></li> | |||||
| 1624 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Insert C ondition</ span></a>< /li> | |||||
| 1625 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Insert A ction</spa n></a></li > | |||||
| 1626 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Insert D ecision Sh eet</span> </a></li> | |||||
| 1627 | <h r> | |||||
| 1628 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Delete R ow</span>< /a></li> | |||||
| 1629 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Delete C olumn</spa n></a></li > | |||||
| 1630 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Delete S heet</span ></a></li> | |||||
| 1631 | <h r> | |||||
| 1632 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Toggle C olumn Or</ span></a>< /li> | |||||
| 1633 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Toggle F ormula Box </span></a ></li> | |||||
| 1634 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item ">Toggle A dvanced Mo de</span>< /a></li> | |||||
| 1635 | <h r> | |||||
| 1636 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item "> Exit th is Decisio n Table on First Mat ch </span> <input sty le="margin -left:8px; margin-top :0px;margi n-bottom:0 px;" id="c bx_exitfir stmatch" t ype="check box" check ed="checke d"></a></l i> | |||||
| 1637 | <l i><a><span class="wi jmo-wijmen u-text n52 -menu-item "> Exit Al l Decision Tables on First Mat ch </span> <input sty le="margin -left:8px; margin-top :0px;margi n-bottom:0 px;" id="c bx_exitfir stmatchall " type="c heckbox" c hecked="ch ecked"></a ></li> | |||||
| 1638 | ||||||
| 1639 | </ul> | |||||
| 1640 | ||||||
| 1641 | </div> <!- --panel2al pha---> | |||||
| 1642 | ||||||
| 1643 | </di v> <!---Sp litter---> | |||||
| 1644 | ||||||
| 1645 | </div><! ---Contain er---> | |||||
| 1646 | ||||||
| 1647 | </body></h tml> |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.