ampscript-data 0.1.3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/package.json +24 -2
- package/src/index.js +330 -40
package/src/index.js
CHANGED
|
@@ -11,10 +11,12 @@ const INF = Infinity;
|
|
|
11
11
|
|
|
12
12
|
// ── Function catalog ─────────────────────────────────────────────────────────
|
|
13
13
|
|
|
14
|
-
/** @type {
|
|
14
|
+
/** @type {{name: string, docUrl?: string, guideUrl?: string, minArgs: number, maxArgs: number, category: string, description: string, params: {name: string, description: string, type?: string, optional?: boolean}[], returnType?: string, syntax?: string, example?: string}[]} */
|
|
15
15
|
export const FUNCTIONS = [
|
|
16
16
|
{
|
|
17
17
|
name: 'Add',
|
|
18
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-add.html',
|
|
19
|
+
guideUrl: 'https://ampscript.guide/add/',
|
|
18
20
|
minArgs: 2,
|
|
19
21
|
maxArgs: 2,
|
|
20
22
|
category: 'Math',
|
|
@@ -29,6 +31,8 @@ export const FUNCTIONS = [
|
|
|
29
31
|
},
|
|
30
32
|
{
|
|
31
33
|
name: 'AddMSCRMListMember',
|
|
34
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-add-list-member.html',
|
|
35
|
+
guideUrl: 'https://ampscript.guide/addmscrmlistmember/',
|
|
32
36
|
minArgs: 2,
|
|
33
37
|
maxArgs: 2,
|
|
34
38
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -42,6 +46,8 @@ export const FUNCTIONS = [
|
|
|
42
46
|
},
|
|
43
47
|
{
|
|
44
48
|
name: 'AddObjectArrayItem',
|
|
49
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-add-object-array.html',
|
|
50
|
+
guideUrl: 'https://ampscript.guide/addobjectarrayitem/',
|
|
45
51
|
minArgs: 3,
|
|
46
52
|
maxArgs: 3,
|
|
47
53
|
category: 'Marketing Cloud API',
|
|
@@ -56,6 +62,8 @@ export const FUNCTIONS = [
|
|
|
56
62
|
},
|
|
57
63
|
{
|
|
58
64
|
name: 'AttachFile',
|
|
65
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-attach-file.html',
|
|
66
|
+
guideUrl: 'https://ampscript.guide/attachfile/',
|
|
59
67
|
minArgs: 4,
|
|
60
68
|
maxArgs: 8,
|
|
61
69
|
category: 'Content',
|
|
@@ -85,6 +93,8 @@ export const FUNCTIONS = [
|
|
|
85
93
|
},
|
|
86
94
|
{
|
|
87
95
|
name: 'AttributeValue',
|
|
96
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-attribute-value.html',
|
|
97
|
+
guideUrl: 'https://ampscript.guide/attributevalue/',
|
|
88
98
|
minArgs: 1,
|
|
89
99
|
maxArgs: 1,
|
|
90
100
|
category: 'Utility',
|
|
@@ -97,6 +107,8 @@ export const FUNCTIONS = [
|
|
|
97
107
|
},
|
|
98
108
|
{
|
|
99
109
|
name: 'AuthenticatedEmployeeID',
|
|
110
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-id.html',
|
|
111
|
+
guideUrl: 'https://ampscript.guide/authenticatedemployeeid/',
|
|
100
112
|
minArgs: 0,
|
|
101
113
|
maxArgs: 0,
|
|
102
114
|
category: 'Utility',
|
|
@@ -107,6 +119,8 @@ export const FUNCTIONS = [
|
|
|
107
119
|
},
|
|
108
120
|
{
|
|
109
121
|
name: 'AuthenticatedEmployeeNotificationAddress',
|
|
122
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-notification-address.html',
|
|
123
|
+
guideUrl: 'https://ampscript.guide/authenticatedemployeenotificationaddress/',
|
|
110
124
|
minArgs: 0,
|
|
111
125
|
maxArgs: 0,
|
|
112
126
|
category: 'Utility',
|
|
@@ -117,6 +131,8 @@ export const FUNCTIONS = [
|
|
|
117
131
|
},
|
|
118
132
|
{
|
|
119
133
|
name: 'AuthenticatedEmployeeUserName',
|
|
134
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-employee-username.html',
|
|
135
|
+
guideUrl: 'https://ampscript.guide/authenticatedemployeeusername/',
|
|
120
136
|
minArgs: 0,
|
|
121
137
|
maxArgs: 0,
|
|
122
138
|
category: 'Utility',
|
|
@@ -127,6 +143,8 @@ export const FUNCTIONS = [
|
|
|
127
143
|
},
|
|
128
144
|
{
|
|
129
145
|
name: 'AuthenticatedEnterpriseID',
|
|
146
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-enterprise-id.html',
|
|
147
|
+
guideUrl: 'https://ampscript.guide/authenticatedenterpriseid/',
|
|
130
148
|
minArgs: 0,
|
|
131
149
|
maxArgs: 0,
|
|
132
150
|
category: 'Utility',
|
|
@@ -137,6 +155,8 @@ export const FUNCTIONS = [
|
|
|
137
155
|
},
|
|
138
156
|
{
|
|
139
157
|
name: 'AuthenticatedMemberID',
|
|
158
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-id.html',
|
|
159
|
+
guideUrl: 'https://ampscript.guide/authenticatedmemberid/',
|
|
140
160
|
minArgs: 0,
|
|
141
161
|
maxArgs: 0,
|
|
142
162
|
category: 'Utility',
|
|
@@ -147,6 +167,8 @@ export const FUNCTIONS = [
|
|
|
147
167
|
},
|
|
148
168
|
{
|
|
149
169
|
name: 'AuthenticatedMemberName',
|
|
170
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-authenticated-member-name.html',
|
|
171
|
+
guideUrl: 'https://ampscript.guide/authenticatedmembername/',
|
|
150
172
|
minArgs: 0,
|
|
151
173
|
maxArgs: 0,
|
|
152
174
|
category: 'Utility',
|
|
@@ -157,6 +179,8 @@ export const FUNCTIONS = [
|
|
|
157
179
|
},
|
|
158
180
|
{
|
|
159
181
|
name: 'BarcodeURL',
|
|
182
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-barcode-url.html',
|
|
183
|
+
guideUrl: 'https://ampscript.guide/barcodeurl/',
|
|
160
184
|
minArgs: 9,
|
|
161
185
|
maxArgs: 9,
|
|
162
186
|
category: 'Content',
|
|
@@ -178,6 +202,8 @@ export const FUNCTIONS = [
|
|
|
178
202
|
},
|
|
179
203
|
{
|
|
180
204
|
name: 'Base64Decode',
|
|
205
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-decode.html',
|
|
206
|
+
guideUrl: 'https://ampscript.guide/base64decode/',
|
|
181
207
|
minArgs: 1,
|
|
182
208
|
maxArgs: 3,
|
|
183
209
|
category: 'Encryption and Encoding',
|
|
@@ -198,6 +224,8 @@ export const FUNCTIONS = [
|
|
|
198
224
|
},
|
|
199
225
|
{
|
|
200
226
|
name: 'Base64Encode',
|
|
227
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-base64-encode.html',
|
|
228
|
+
guideUrl: 'https://ampscript.guide/base64encode/',
|
|
201
229
|
minArgs: 1,
|
|
202
230
|
maxArgs: 2,
|
|
203
231
|
category: 'Encryption and Encoding',
|
|
@@ -212,6 +240,8 @@ export const FUNCTIONS = [
|
|
|
212
240
|
},
|
|
213
241
|
{
|
|
214
242
|
name: 'BeginImpressionRegion',
|
|
243
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-begin-impression-region.html',
|
|
244
|
+
guideUrl: 'https://ampscript.guide/beginimpressionregion/',
|
|
215
245
|
minArgs: 1,
|
|
216
246
|
maxArgs: 1,
|
|
217
247
|
category: 'Content',
|
|
@@ -222,6 +252,8 @@ export const FUNCTIONS = [
|
|
|
222
252
|
},
|
|
223
253
|
{
|
|
224
254
|
name: 'BuildOptionList',
|
|
255
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-option-list.html',
|
|
256
|
+
guideUrl: 'https://ampscript.guide/buildoptionlist/',
|
|
225
257
|
minArgs: 3,
|
|
226
258
|
maxArgs: INF,
|
|
227
259
|
category: 'Content',
|
|
@@ -251,6 +283,8 @@ export const FUNCTIONS = [
|
|
|
251
283
|
},
|
|
252
284
|
{
|
|
253
285
|
name: 'BuildRowsetFromJSON',
|
|
286
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-json.html',
|
|
287
|
+
guideUrl: 'https://ampscript.guide/buildrowsetfromjson/',
|
|
254
288
|
minArgs: 2,
|
|
255
289
|
maxArgs: 3,
|
|
256
290
|
category: 'Content',
|
|
@@ -274,6 +308,8 @@ export const FUNCTIONS = [
|
|
|
274
308
|
},
|
|
275
309
|
{
|
|
276
310
|
name: 'BuildRowSetFromString',
|
|
311
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-string.html',
|
|
312
|
+
guideUrl: 'https://ampscript.guide/buildrowsetfromstring/',
|
|
277
313
|
minArgs: 2,
|
|
278
314
|
maxArgs: 2,
|
|
279
315
|
category: 'Content',
|
|
@@ -288,6 +324,8 @@ export const FUNCTIONS = [
|
|
|
288
324
|
},
|
|
289
325
|
{
|
|
290
326
|
name: 'BuildRowSetFromXML',
|
|
327
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-build-rowset-from-xml.html',
|
|
328
|
+
guideUrl: 'https://ampscript.guide/buildrowsetfromxml/',
|
|
291
329
|
minArgs: 2,
|
|
292
330
|
maxArgs: 3,
|
|
293
331
|
category: 'Content',
|
|
@@ -307,6 +345,8 @@ export const FUNCTIONS = [
|
|
|
307
345
|
},
|
|
308
346
|
{
|
|
309
347
|
name: 'Char',
|
|
348
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-char.html',
|
|
349
|
+
guideUrl: 'https://ampscript.guide/char/',
|
|
310
350
|
minArgs: 1,
|
|
311
351
|
maxArgs: 2,
|
|
312
352
|
category: 'String',
|
|
@@ -326,6 +366,8 @@ export const FUNCTIONS = [
|
|
|
326
366
|
},
|
|
327
367
|
{
|
|
328
368
|
name: 'ClaimRow',
|
|
369
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row.html',
|
|
370
|
+
guideUrl: 'https://ampscript.guide/claimrow/',
|
|
329
371
|
minArgs: 4,
|
|
330
372
|
maxArgs: INF,
|
|
331
373
|
category: 'Data Extension',
|
|
@@ -368,6 +410,8 @@ export const FUNCTIONS = [
|
|
|
368
410
|
},
|
|
369
411
|
{
|
|
370
412
|
name: 'ClaimRowValue',
|
|
413
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-claim-row-value.html',
|
|
414
|
+
guideUrl: 'https://ampscript.guide/claimrowvalue/',
|
|
371
415
|
minArgs: 3,
|
|
372
416
|
maxArgs: INF,
|
|
373
417
|
category: 'Data Extension',
|
|
@@ -406,6 +450,8 @@ export const FUNCTIONS = [
|
|
|
406
450
|
},
|
|
407
451
|
{
|
|
408
452
|
name: 'CloudPagesURL',
|
|
453
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-cloud-pages-url.html',
|
|
454
|
+
guideUrl: 'https://ampscript.guide/cloudpagesurl/',
|
|
409
455
|
minArgs: 1,
|
|
410
456
|
maxArgs: INF,
|
|
411
457
|
category: 'Utility',
|
|
@@ -432,6 +478,8 @@ export const FUNCTIONS = [
|
|
|
432
478
|
},
|
|
433
479
|
{
|
|
434
480
|
name: 'Concat',
|
|
481
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-concat.html',
|
|
482
|
+
guideUrl: 'https://ampscript.guide/concat/',
|
|
435
483
|
minArgs: 2,
|
|
436
484
|
maxArgs: INF,
|
|
437
485
|
category: 'String',
|
|
@@ -447,6 +495,8 @@ export const FUNCTIONS = [
|
|
|
447
495
|
},
|
|
448
496
|
{
|
|
449
497
|
name: 'ContentArea',
|
|
498
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-area.html',
|
|
499
|
+
guideUrl: 'https://ampscript.guide/contentarea/',
|
|
450
500
|
minArgs: 1,
|
|
451
501
|
maxArgs: 5,
|
|
452
502
|
category: 'Content',
|
|
@@ -478,6 +528,8 @@ export const FUNCTIONS = [
|
|
|
478
528
|
},
|
|
479
529
|
{
|
|
480
530
|
name: 'ContentAreaByName',
|
|
531
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-area-by-name.html',
|
|
532
|
+
guideUrl: 'https://ampscript.guide/contentareabyname/',
|
|
481
533
|
minArgs: 1,
|
|
482
534
|
maxArgs: 5,
|
|
483
535
|
category: 'Content',
|
|
@@ -504,6 +556,8 @@ export const FUNCTIONS = [
|
|
|
504
556
|
},
|
|
505
557
|
{
|
|
506
558
|
name: 'ContentBlockByID',
|
|
559
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-id.html',
|
|
560
|
+
guideUrl: 'https://ampscript.guide/contentblockbyid/',
|
|
507
561
|
minArgs: 1,
|
|
508
562
|
maxArgs: 5,
|
|
509
563
|
category: 'Content',
|
|
@@ -540,6 +594,8 @@ export const FUNCTIONS = [
|
|
|
540
594
|
},
|
|
541
595
|
{
|
|
542
596
|
name: 'ContentBlockByKey',
|
|
597
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-key.html',
|
|
598
|
+
guideUrl: 'https://ampscript.guide/contentblockbykey/',
|
|
543
599
|
minArgs: 1,
|
|
544
600
|
maxArgs: 5,
|
|
545
601
|
category: 'Content',
|
|
@@ -576,6 +632,8 @@ export const FUNCTIONS = [
|
|
|
576
632
|
},
|
|
577
633
|
{
|
|
578
634
|
name: 'ContentBlockByName',
|
|
635
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-block-by-name.html',
|
|
636
|
+
guideUrl: 'https://ampscript.guide/contentblockbyname/',
|
|
579
637
|
minArgs: 1,
|
|
580
638
|
maxArgs: 5,
|
|
581
639
|
category: 'Content',
|
|
@@ -613,6 +671,8 @@ export const FUNCTIONS = [
|
|
|
613
671
|
},
|
|
614
672
|
{
|
|
615
673
|
name: 'ContentImageByID',
|
|
674
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image-by-id.html',
|
|
675
|
+
guideUrl: 'https://ampscript.guide/contentimagebyid/',
|
|
616
676
|
minArgs: 1,
|
|
617
677
|
maxArgs: 2,
|
|
618
678
|
category: 'Content',
|
|
@@ -631,6 +691,8 @@ export const FUNCTIONS = [
|
|
|
631
691
|
},
|
|
632
692
|
{
|
|
633
693
|
name: 'ContentImageByKey',
|
|
694
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image-by-key.html',
|
|
695
|
+
guideUrl: 'https://ampscript.guide/contentimagebykey/',
|
|
634
696
|
minArgs: 1,
|
|
635
697
|
maxArgs: 2,
|
|
636
698
|
category: 'Content',
|
|
@@ -649,6 +711,8 @@ export const FUNCTIONS = [
|
|
|
649
711
|
},
|
|
650
712
|
{
|
|
651
713
|
name: 'CreateMSCRMRecord',
|
|
714
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-create-record.html',
|
|
715
|
+
guideUrl: 'https://ampscript.guide/createmscrmrecord/',
|
|
652
716
|
minArgs: 3,
|
|
653
717
|
maxArgs: INF,
|
|
654
718
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -670,6 +734,8 @@ export const FUNCTIONS = [
|
|
|
670
734
|
},
|
|
671
735
|
{
|
|
672
736
|
name: 'CreateObject',
|
|
737
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-create-object.html',
|
|
738
|
+
guideUrl: 'https://ampscript.guide/createobject/',
|
|
673
739
|
minArgs: 1,
|
|
674
740
|
maxArgs: 1,
|
|
675
741
|
category: 'Marketing Cloud API',
|
|
@@ -682,6 +748,8 @@ export const FUNCTIONS = [
|
|
|
682
748
|
},
|
|
683
749
|
{
|
|
684
750
|
name: 'CreateSalesforceObject',
|
|
751
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-create-object.html',
|
|
752
|
+
guideUrl: 'https://ampscript.guide/createsalesforceobject/',
|
|
685
753
|
minArgs: 4,
|
|
686
754
|
maxArgs: INF,
|
|
687
755
|
category: 'Sales and Service Cloud',
|
|
@@ -704,6 +772,8 @@ export const FUNCTIONS = [
|
|
|
704
772
|
},
|
|
705
773
|
{
|
|
706
774
|
name: 'CreateSmsConversation',
|
|
775
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-create-sms-conversation.html',
|
|
776
|
+
guideUrl: 'https://ampscript.guide/createsmsconversation/',
|
|
707
777
|
minArgs: 4,
|
|
708
778
|
maxArgs: 4,
|
|
709
779
|
category: 'MobileConnect',
|
|
@@ -719,6 +789,8 @@ export const FUNCTIONS = [
|
|
|
719
789
|
},
|
|
720
790
|
{
|
|
721
791
|
name: 'DataExtensionRowCount',
|
|
792
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-de-row-count.html',
|
|
793
|
+
guideUrl: 'https://ampscript.guide/dataextensionrowcount/',
|
|
722
794
|
minArgs: 1,
|
|
723
795
|
maxArgs: 1,
|
|
724
796
|
category: 'Data Extension',
|
|
@@ -736,6 +808,8 @@ export const FUNCTIONS = [
|
|
|
736
808
|
},
|
|
737
809
|
{
|
|
738
810
|
name: 'DateAdd',
|
|
811
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-add.html',
|
|
812
|
+
guideUrl: 'https://ampscript.guide/dateadd/',
|
|
739
813
|
minArgs: 3,
|
|
740
814
|
maxArgs: 3,
|
|
741
815
|
category: 'Date and Time',
|
|
@@ -751,6 +825,8 @@ export const FUNCTIONS = [
|
|
|
751
825
|
},
|
|
752
826
|
{
|
|
753
827
|
name: 'DateDiff',
|
|
828
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-diff.html',
|
|
829
|
+
guideUrl: 'https://ampscript.guide/datediff/',
|
|
754
830
|
minArgs: 3,
|
|
755
831
|
maxArgs: 3,
|
|
756
832
|
category: 'Date and Time',
|
|
@@ -765,6 +841,8 @@ export const FUNCTIONS = [
|
|
|
765
841
|
},
|
|
766
842
|
{
|
|
767
843
|
name: 'DateParse',
|
|
844
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-parse.html',
|
|
845
|
+
guideUrl: 'https://ampscript.guide/dateparse/',
|
|
768
846
|
minArgs: 1,
|
|
769
847
|
maxArgs: 2,
|
|
770
848
|
category: 'Date and Time',
|
|
@@ -783,6 +861,8 @@ export const FUNCTIONS = [
|
|
|
783
861
|
},
|
|
784
862
|
{
|
|
785
863
|
name: 'DatePart',
|
|
864
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-date-part.html',
|
|
865
|
+
guideUrl: 'https://ampscript.guide/datepart/',
|
|
786
866
|
minArgs: 2,
|
|
787
867
|
maxArgs: 2,
|
|
788
868
|
category: 'Date and Time',
|
|
@@ -800,6 +880,8 @@ export const FUNCTIONS = [
|
|
|
800
880
|
},
|
|
801
881
|
{
|
|
802
882
|
name: 'DecryptSymmetric',
|
|
883
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-decrypt-symmetric.html',
|
|
884
|
+
guideUrl: 'https://ampscript.guide/decryptsymmetric/',
|
|
803
885
|
minArgs: 8,
|
|
804
886
|
maxArgs: 8,
|
|
805
887
|
category: 'Encryption and Encoding',
|
|
@@ -835,6 +917,8 @@ export const FUNCTIONS = [
|
|
|
835
917
|
},
|
|
836
918
|
{
|
|
837
919
|
name: 'DeleteData',
|
|
920
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-delete-data.html',
|
|
921
|
+
guideUrl: 'https://ampscript.guide/deletedata/',
|
|
838
922
|
minArgs: 3,
|
|
839
923
|
maxArgs: INF,
|
|
840
924
|
category: 'Data Extension',
|
|
@@ -857,6 +941,8 @@ export const FUNCTIONS = [
|
|
|
857
941
|
},
|
|
858
942
|
{
|
|
859
943
|
name: 'DeleteDE',
|
|
944
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-delete-de.html',
|
|
945
|
+
guideUrl: 'https://ampscript.guide/deletede/',
|
|
860
946
|
minArgs: 3,
|
|
861
947
|
maxArgs: INF,
|
|
862
948
|
category: 'Data Extension',
|
|
@@ -878,6 +964,8 @@ export const FUNCTIONS = [
|
|
|
878
964
|
},
|
|
879
965
|
{
|
|
880
966
|
name: 'DescribeMSCRMEntities',
|
|
967
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entities.html',
|
|
968
|
+
guideUrl: 'https://ampscript.guide/describemscrmentities/',
|
|
881
969
|
minArgs: 0,
|
|
882
970
|
maxArgs: 0,
|
|
883
971
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -888,6 +976,8 @@ export const FUNCTIONS = [
|
|
|
888
976
|
},
|
|
889
977
|
{
|
|
890
978
|
name: 'DescribeMSCRMEntityAttributes',
|
|
979
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-describe-entity-attributes.html',
|
|
980
|
+
guideUrl: 'https://ampscript.guide/describemscrmentityattributes/',
|
|
891
981
|
minArgs: 1,
|
|
892
982
|
maxArgs: 1,
|
|
893
983
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -898,6 +988,8 @@ export const FUNCTIONS = [
|
|
|
898
988
|
},
|
|
899
989
|
{
|
|
900
990
|
name: 'Divide',
|
|
991
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-divide.html',
|
|
992
|
+
guideUrl: 'https://ampscript.guide/divide/',
|
|
901
993
|
minArgs: 2,
|
|
902
994
|
maxArgs: 2,
|
|
903
995
|
category: 'Math',
|
|
@@ -912,6 +1004,8 @@ export const FUNCTIONS = [
|
|
|
912
1004
|
},
|
|
913
1005
|
{
|
|
914
1006
|
name: 'Domain',
|
|
1007
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-domain.html',
|
|
1008
|
+
guideUrl: 'https://ampscript.guide/domain/',
|
|
915
1009
|
minArgs: 1,
|
|
916
1010
|
maxArgs: 1,
|
|
917
1011
|
category: 'Utility',
|
|
@@ -923,6 +1017,8 @@ export const FUNCTIONS = [
|
|
|
923
1017
|
},
|
|
924
1018
|
{
|
|
925
1019
|
name: 'Empty',
|
|
1020
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-empty.html',
|
|
1021
|
+
guideUrl: 'https://ampscript.guide/empty/',
|
|
926
1022
|
minArgs: 1,
|
|
927
1023
|
maxArgs: 1,
|
|
928
1024
|
category: 'Utility',
|
|
@@ -934,6 +1030,8 @@ export const FUNCTIONS = [
|
|
|
934
1030
|
},
|
|
935
1031
|
{
|
|
936
1032
|
name: 'EncryptSymmetric',
|
|
1033
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-encrypt-symmetric.html',
|
|
1034
|
+
guideUrl: 'https://ampscript.guide/encryptsymmetric/',
|
|
937
1035
|
minArgs: 8,
|
|
938
1036
|
maxArgs: 8,
|
|
939
1037
|
category: 'Encryption and Encoding',
|
|
@@ -969,6 +1067,8 @@ export const FUNCTIONS = [
|
|
|
969
1067
|
},
|
|
970
1068
|
{
|
|
971
1069
|
name: 'EndImpressionRegion',
|
|
1070
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-end-impression-region.html',
|
|
1071
|
+
guideUrl: 'https://ampscript.guide/endimpressionregion/',
|
|
972
1072
|
minArgs: 0,
|
|
973
1073
|
maxArgs: 1,
|
|
974
1074
|
category: 'Content',
|
|
@@ -986,6 +1086,8 @@ export const FUNCTIONS = [
|
|
|
986
1086
|
},
|
|
987
1087
|
{
|
|
988
1088
|
name: 'EndSmsConversation',
|
|
1089
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sms/mc-ampscript-reference-sms-end-sms-conversation.html',
|
|
1090
|
+
guideUrl: 'https://ampscript.guide/endsmsconversation/',
|
|
989
1091
|
minArgs: 2,
|
|
990
1092
|
maxArgs: 2,
|
|
991
1093
|
category: 'MobileConnect',
|
|
@@ -999,6 +1101,8 @@ export const FUNCTIONS = [
|
|
|
999
1101
|
},
|
|
1000
1102
|
{
|
|
1001
1103
|
name: 'ExecuteFilter',
|
|
1104
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-execute-filter.html',
|
|
1105
|
+
guideUrl: 'https://ampscript.guide/executefilter/',
|
|
1002
1106
|
minArgs: 1,
|
|
1003
1107
|
maxArgs: 1,
|
|
1004
1108
|
category: 'Data Extension',
|
|
@@ -1009,6 +1113,8 @@ export const FUNCTIONS = [
|
|
|
1009
1113
|
},
|
|
1010
1114
|
{
|
|
1011
1115
|
name: 'ExecuteFilterOrderedRows',
|
|
1116
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-execute-filter-ordered-rows.html',
|
|
1117
|
+
guideUrl: 'https://ampscript.guide/executefilterorderedrows/',
|
|
1012
1118
|
minArgs: 3,
|
|
1013
1119
|
maxArgs: 3,
|
|
1014
1120
|
category: 'Data Extension',
|
|
@@ -1023,6 +1129,8 @@ export const FUNCTIONS = [
|
|
|
1023
1129
|
},
|
|
1024
1130
|
{
|
|
1025
1131
|
name: 'Field',
|
|
1132
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-field.html',
|
|
1133
|
+
guideUrl: 'https://ampscript.guide/field/',
|
|
1026
1134
|
minArgs: 2,
|
|
1027
1135
|
maxArgs: 3,
|
|
1028
1136
|
category: 'Data Extension',
|
|
@@ -1043,6 +1151,8 @@ export const FUNCTIONS = [
|
|
|
1043
1151
|
},
|
|
1044
1152
|
{
|
|
1045
1153
|
name: 'Format',
|
|
1154
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-format.html',
|
|
1155
|
+
guideUrl: 'https://ampscript.guide/format/',
|
|
1046
1156
|
minArgs: 2,
|
|
1047
1157
|
maxArgs: 4,
|
|
1048
1158
|
category: 'Utility',
|
|
@@ -1063,6 +1173,8 @@ export const FUNCTIONS = [
|
|
|
1063
1173
|
},
|
|
1064
1174
|
{
|
|
1065
1175
|
name: 'FormatCurrency',
|
|
1176
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-formatCurrency.html',
|
|
1177
|
+
guideUrl: 'https://ampscript.guide/formatcurrency/',
|
|
1066
1178
|
minArgs: 2,
|
|
1067
1179
|
maxArgs: 4,
|
|
1068
1180
|
category: 'Utility',
|
|
@@ -1088,6 +1200,8 @@ export const FUNCTIONS = [
|
|
|
1088
1200
|
},
|
|
1089
1201
|
{
|
|
1090
1202
|
name: 'FormatDate',
|
|
1203
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-format-date.html',
|
|
1204
|
+
guideUrl: 'https://ampscript.guide/formatdate/',
|
|
1091
1205
|
minArgs: 2,
|
|
1092
1206
|
maxArgs: 4,
|
|
1093
1207
|
category: 'Date and Time',
|
|
@@ -1108,6 +1222,8 @@ export const FUNCTIONS = [
|
|
|
1108
1222
|
},
|
|
1109
1223
|
{
|
|
1110
1224
|
name: 'FormatNumber',
|
|
1225
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-formatNumber.html',
|
|
1226
|
+
guideUrl: 'https://ampscript.guide/formatnumber/',
|
|
1111
1227
|
minArgs: 2,
|
|
1112
1228
|
maxArgs: 3,
|
|
1113
1229
|
category: 'Utility',
|
|
@@ -1122,6 +1238,8 @@ export const FUNCTIONS = [
|
|
|
1122
1238
|
},
|
|
1123
1239
|
{
|
|
1124
1240
|
name: 'GetJWT',
|
|
1241
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-get-jwt.html',
|
|
1242
|
+
guideUrl: 'https://ampscript.guide/getjwt/',
|
|
1125
1243
|
minArgs: 3,
|
|
1126
1244
|
maxArgs: 3,
|
|
1127
1245
|
category: 'Encryption and Encoding',
|
|
@@ -1136,6 +1254,8 @@ export const FUNCTIONS = [
|
|
|
1136
1254
|
},
|
|
1137
1255
|
{
|
|
1138
1256
|
name: 'GetJWTByKeyName',
|
|
1257
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-get-jwt-by-key-name.html',
|
|
1258
|
+
guideUrl: 'https://ampscript.guide/getjwtbykeyname/',
|
|
1139
1259
|
minArgs: 3,
|
|
1140
1260
|
maxArgs: 3,
|
|
1141
1261
|
category: 'Encryption and Encoding',
|
|
@@ -1150,6 +1270,8 @@ export const FUNCTIONS = [
|
|
|
1150
1270
|
},
|
|
1151
1271
|
{
|
|
1152
1272
|
name: 'GetPortfolioItem',
|
|
1273
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-get-portfolio-item.html',
|
|
1274
|
+
guideUrl: 'https://ampscript.guide/getportfolioitem/',
|
|
1153
1275
|
minArgs: 1,
|
|
1154
1276
|
maxArgs: 1,
|
|
1155
1277
|
category: 'Content',
|
|
@@ -1160,6 +1282,8 @@ export const FUNCTIONS = [
|
|
|
1160
1282
|
},
|
|
1161
1283
|
{
|
|
1162
1284
|
name: 'GetPublishedSocialContent',
|
|
1285
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-published-social-content.html',
|
|
1286
|
+
guideUrl: 'https://ampscript.guide/getpublishedsocialcontent/',
|
|
1163
1287
|
minArgs: 1,
|
|
1164
1288
|
maxArgs: 1,
|
|
1165
1289
|
category: 'Social',
|
|
@@ -1170,6 +1294,8 @@ export const FUNCTIONS = [
|
|
|
1170
1294
|
},
|
|
1171
1295
|
{
|
|
1172
1296
|
name: 'GetSendTime',
|
|
1297
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-get-send-time.html',
|
|
1298
|
+
guideUrl: 'https://ampscript.guide/getsendtime/',
|
|
1173
1299
|
minArgs: 0,
|
|
1174
1300
|
maxArgs: 1,
|
|
1175
1301
|
category: 'Date and Time',
|
|
@@ -1188,6 +1314,8 @@ export const FUNCTIONS = [
|
|
|
1188
1314
|
},
|
|
1189
1315
|
{
|
|
1190
1316
|
name: 'GetSocialPublishURL',
|
|
1317
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-social-publish-url.html',
|
|
1318
|
+
guideUrl: 'https://ampscript.guide/getsocialpublishurl/',
|
|
1191
1319
|
minArgs: 2,
|
|
1192
1320
|
maxArgs: INF,
|
|
1193
1321
|
category: 'Social',
|
|
@@ -1201,6 +1329,8 @@ export const FUNCTIONS = [
|
|
|
1201
1329
|
},
|
|
1202
1330
|
{
|
|
1203
1331
|
name: 'GetSocialPublishURLByName',
|
|
1332
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-social/mc-ampscript-reference-social-get-social-publish-url-by-name.html',
|
|
1333
|
+
guideUrl: 'https://ampscript.guide/getsocialpublishurlbyname/',
|
|
1204
1334
|
minArgs: 2,
|
|
1205
1335
|
maxArgs: INF,
|
|
1206
1336
|
category: 'Social',
|
|
@@ -1212,24 +1342,10 @@ export const FUNCTIONS = [
|
|
|
1212
1342
|
returnType: 'string',
|
|
1213
1343
|
syntax: 'GetSocialPublishURLByName(regionName, socialAccount[, ...])',
|
|
1214
1344
|
},
|
|
1215
|
-
{
|
|
1216
|
-
name: 'GetValue',
|
|
1217
|
-
minArgs: 1,
|
|
1218
|
-
maxArgs: 1,
|
|
1219
|
-
category: 'Utility',
|
|
1220
|
-
description: 'Returns the value of a variable by name at runtime.',
|
|
1221
|
-
params: [
|
|
1222
|
-
{
|
|
1223
|
-
name: 'variableName',
|
|
1224
|
-
description: 'Name of the variable (without @)',
|
|
1225
|
-
type: 'string',
|
|
1226
|
-
},
|
|
1227
|
-
],
|
|
1228
|
-
returnType: 'string',
|
|
1229
|
-
syntax: 'GetValue(variableName)',
|
|
1230
|
-
},
|
|
1231
1345
|
{
|
|
1232
1346
|
name: 'GUID',
|
|
1347
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-guid.html',
|
|
1348
|
+
guideUrl: 'https://ampscript.guide/guid/',
|
|
1233
1349
|
minArgs: 0,
|
|
1234
1350
|
maxArgs: 0,
|
|
1235
1351
|
category: 'Utility',
|
|
@@ -1241,6 +1357,8 @@ export const FUNCTIONS = [
|
|
|
1241
1357
|
},
|
|
1242
1358
|
{
|
|
1243
1359
|
name: 'HTTPGet',
|
|
1360
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-get.html',
|
|
1361
|
+
guideUrl: 'https://ampscript.guide/httpget/',
|
|
1244
1362
|
minArgs: 1,
|
|
1245
1363
|
maxArgs: 4,
|
|
1246
1364
|
category: 'HTTP',
|
|
@@ -1272,6 +1390,8 @@ export const FUNCTIONS = [
|
|
|
1272
1390
|
},
|
|
1273
1391
|
{
|
|
1274
1392
|
name: 'HTTPPost',
|
|
1393
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post.html',
|
|
1394
|
+
guideUrl: 'https://ampscript.guide/httppost/',
|
|
1275
1395
|
minArgs: 3,
|
|
1276
1396
|
maxArgs: INF,
|
|
1277
1397
|
category: 'HTTP',
|
|
@@ -1305,6 +1425,8 @@ export const FUNCTIONS = [
|
|
|
1305
1425
|
},
|
|
1306
1426
|
{
|
|
1307
1427
|
name: 'HTTPPost2',
|
|
1428
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post2.html',
|
|
1429
|
+
guideUrl: 'https://ampscript.guide/httppost2/',
|
|
1308
1430
|
minArgs: 7,
|
|
1309
1431
|
maxArgs: INF,
|
|
1310
1432
|
category: 'HTTP',
|
|
@@ -1328,6 +1450,8 @@ export const FUNCTIONS = [
|
|
|
1328
1450
|
},
|
|
1329
1451
|
{
|
|
1330
1452
|
name: 'HTTPPostWithRetry',
|
|
1453
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-post-with-retry.html',
|
|
1454
|
+
guideUrl: 'https://ampscript.guide/httppostwithretry/',
|
|
1331
1455
|
minArgs: 7,
|
|
1332
1456
|
maxArgs: INF,
|
|
1333
1457
|
category: 'HTTP',
|
|
@@ -1354,6 +1478,8 @@ export const FUNCTIONS = [
|
|
|
1354
1478
|
},
|
|
1355
1479
|
{
|
|
1356
1480
|
name: 'HTTPRequestHeader',
|
|
1481
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-request-header.html',
|
|
1482
|
+
guideUrl: 'https://ampscript.guide/httprequestheader/',
|
|
1357
1483
|
minArgs: 1,
|
|
1358
1484
|
maxArgs: 1,
|
|
1359
1485
|
category: 'HTTP',
|
|
@@ -1366,6 +1492,8 @@ export const FUNCTIONS = [
|
|
|
1366
1492
|
},
|
|
1367
1493
|
{
|
|
1368
1494
|
name: 'IIf',
|
|
1495
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-iif.html',
|
|
1496
|
+
guideUrl: 'https://ampscript.guide/iif/',
|
|
1369
1497
|
minArgs: 3,
|
|
1370
1498
|
maxArgs: 3,
|
|
1371
1499
|
category: 'Utility',
|
|
@@ -1381,19 +1509,33 @@ export const FUNCTIONS = [
|
|
|
1381
1509
|
},
|
|
1382
1510
|
{
|
|
1383
1511
|
name: 'Image',
|
|
1512
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-image.html',
|
|
1513
|
+
guideUrl: 'https://ampscript.guide/image/',
|
|
1384
1514
|
minArgs: 2,
|
|
1385
1515
|
maxArgs: 2,
|
|
1386
1516
|
category: 'Content',
|
|
1387
|
-
description:
|
|
1517
|
+
description:
|
|
1518
|
+
'Returns an HTML img tag for the Portfolio image matching the specified customer key.',
|
|
1388
1519
|
params: [
|
|
1389
|
-
{
|
|
1390
|
-
|
|
1520
|
+
{
|
|
1521
|
+
name: 'customerKey',
|
|
1522
|
+
description: 'Customer/external key of the image',
|
|
1523
|
+
type: 'string',
|
|
1524
|
+
},
|
|
1525
|
+
{
|
|
1526
|
+
name: 'fallbackKey',
|
|
1527
|
+
description:
|
|
1528
|
+
'Customer/external key of the fallback image if the primary is not found',
|
|
1529
|
+
type: 'string',
|
|
1530
|
+
},
|
|
1391
1531
|
],
|
|
1392
1532
|
returnType: 'string',
|
|
1393
1533
|
syntax: 'Image(customerKey, fallbackKey)',
|
|
1394
1534
|
},
|
|
1395
1535
|
{
|
|
1396
1536
|
name: 'IndexOf',
|
|
1537
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-index-of.html',
|
|
1538
|
+
guideUrl: 'https://ampscript.guide/indexof/',
|
|
1397
1539
|
minArgs: 2,
|
|
1398
1540
|
maxArgs: 2,
|
|
1399
1541
|
category: 'String',
|
|
@@ -1408,6 +1550,8 @@ export const FUNCTIONS = [
|
|
|
1408
1550
|
},
|
|
1409
1551
|
{
|
|
1410
1552
|
name: 'InsertData',
|
|
1553
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-insert-data.html',
|
|
1554
|
+
guideUrl: 'https://ampscript.guide/insertdata/',
|
|
1411
1555
|
minArgs: 3,
|
|
1412
1556
|
maxArgs: INF,
|
|
1413
1557
|
category: 'Data Extension',
|
|
@@ -1429,6 +1573,8 @@ export const FUNCTIONS = [
|
|
|
1429
1573
|
},
|
|
1430
1574
|
{
|
|
1431
1575
|
name: 'InsertDE',
|
|
1576
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-insert-de.html',
|
|
1577
|
+
guideUrl: 'https://ampscript.guide/insertde/',
|
|
1432
1578
|
minArgs: 3,
|
|
1433
1579
|
maxArgs: INF,
|
|
1434
1580
|
category: 'Data Extension',
|
|
@@ -1450,6 +1596,8 @@ export const FUNCTIONS = [
|
|
|
1450
1596
|
},
|
|
1451
1597
|
{
|
|
1452
1598
|
name: 'InvokeCreate',
|
|
1599
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-create.html',
|
|
1600
|
+
guideUrl: 'https://ampscript.guide/invokecreate/',
|
|
1453
1601
|
minArgs: 3,
|
|
1454
1602
|
maxArgs: 4,
|
|
1455
1603
|
category: 'Marketing Cloud API',
|
|
@@ -1461,7 +1609,11 @@ export const FUNCTIONS = [
|
|
|
1461
1609
|
description: 'Output variable for the resulting status message',
|
|
1462
1610
|
type: 'string',
|
|
1463
1611
|
},
|
|
1464
|
-
{
|
|
1612
|
+
{
|
|
1613
|
+
name: 'errorCode',
|
|
1614
|
+
description: 'Output variable for the resulting error code',
|
|
1615
|
+
type: 'string',
|
|
1616
|
+
},
|
|
1465
1617
|
{
|
|
1466
1618
|
name: 'createOptions',
|
|
1467
1619
|
description: 'Optional CreateOptions API object',
|
|
@@ -1473,6 +1625,8 @@ export const FUNCTIONS = [
|
|
|
1473
1625
|
},
|
|
1474
1626
|
{
|
|
1475
1627
|
name: 'InvokeDelete',
|
|
1628
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-delete.html',
|
|
1629
|
+
guideUrl: 'https://ampscript.guide/invokedelete/',
|
|
1476
1630
|
minArgs: 3,
|
|
1477
1631
|
maxArgs: 4,
|
|
1478
1632
|
category: 'Marketing Cloud API',
|
|
@@ -1484,7 +1638,11 @@ export const FUNCTIONS = [
|
|
|
1484
1638
|
description: 'Output variable for the resulting status message',
|
|
1485
1639
|
type: 'string',
|
|
1486
1640
|
},
|
|
1487
|
-
{
|
|
1641
|
+
{
|
|
1642
|
+
name: 'errorCode',
|
|
1643
|
+
description: 'Output variable for the resulting error code',
|
|
1644
|
+
type: 'string',
|
|
1645
|
+
},
|
|
1488
1646
|
{
|
|
1489
1647
|
name: 'deleteOptions',
|
|
1490
1648
|
description: 'Optional DeleteOptions API object',
|
|
@@ -1496,6 +1654,8 @@ export const FUNCTIONS = [
|
|
|
1496
1654
|
},
|
|
1497
1655
|
{
|
|
1498
1656
|
name: 'InvokeExecute',
|
|
1657
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-execute.html',
|
|
1658
|
+
guideUrl: 'https://ampscript.guide/invokeexecute/',
|
|
1499
1659
|
minArgs: 3,
|
|
1500
1660
|
maxArgs: 3,
|
|
1501
1661
|
category: 'Marketing Cloud API',
|
|
@@ -1514,6 +1674,8 @@ export const FUNCTIONS = [
|
|
|
1514
1674
|
},
|
|
1515
1675
|
{
|
|
1516
1676
|
name: 'InvokePerform',
|
|
1677
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-perform.html',
|
|
1678
|
+
guideUrl: 'https://ampscript.guide/invokeperform/',
|
|
1517
1679
|
minArgs: 2,
|
|
1518
1680
|
maxArgs: 3,
|
|
1519
1681
|
category: 'Marketing Cloud API',
|
|
@@ -1533,6 +1695,8 @@ export const FUNCTIONS = [
|
|
|
1533
1695
|
},
|
|
1534
1696
|
{
|
|
1535
1697
|
name: 'InvokeRetrieve',
|
|
1698
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-retrieve.html',
|
|
1699
|
+
guideUrl: 'https://ampscript.guide/invokeretrieve/',
|
|
1536
1700
|
minArgs: 1,
|
|
1537
1701
|
maxArgs: 3,
|
|
1538
1702
|
category: 'Marketing Cloud API',
|
|
@@ -1557,6 +1721,8 @@ export const FUNCTIONS = [
|
|
|
1557
1721
|
},
|
|
1558
1722
|
{
|
|
1559
1723
|
name: 'InvokeUpdate',
|
|
1724
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-invoke-update.html',
|
|
1725
|
+
guideUrl: 'https://ampscript.guide/invokeupdate/',
|
|
1560
1726
|
minArgs: 1,
|
|
1561
1727
|
maxArgs: 4,
|
|
1562
1728
|
category: 'Marketing Cloud API',
|
|
@@ -1586,6 +1752,8 @@ export const FUNCTIONS = [
|
|
|
1586
1752
|
},
|
|
1587
1753
|
{
|
|
1588
1754
|
name: 'IsCHTMLBrowser',
|
|
1755
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-is-chtml-browser.html',
|
|
1756
|
+
guideUrl: 'https://ampscript.guide/ischtmlbrowser/',
|
|
1589
1757
|
minArgs: 1,
|
|
1590
1758
|
maxArgs: 1,
|
|
1591
1759
|
category: 'Utility',
|
|
@@ -1597,6 +1765,8 @@ export const FUNCTIONS = [
|
|
|
1597
1765
|
},
|
|
1598
1766
|
{
|
|
1599
1767
|
name: 'IsEmailAddress',
|
|
1768
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-email-address.html',
|
|
1769
|
+
guideUrl: 'https://ampscript.guide/isemailaddress/',
|
|
1600
1770
|
minArgs: 1,
|
|
1601
1771
|
maxArgs: 1,
|
|
1602
1772
|
category: 'Utility',
|
|
@@ -1608,6 +1778,8 @@ export const FUNCTIONS = [
|
|
|
1608
1778
|
},
|
|
1609
1779
|
{
|
|
1610
1780
|
name: 'IsNull',
|
|
1781
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-null.html',
|
|
1782
|
+
guideUrl: 'https://ampscript.guide/isnull/',
|
|
1611
1783
|
minArgs: 1,
|
|
1612
1784
|
maxArgs: 1,
|
|
1613
1785
|
category: 'Utility',
|
|
@@ -1618,6 +1790,8 @@ export const FUNCTIONS = [
|
|
|
1618
1790
|
},
|
|
1619
1791
|
{
|
|
1620
1792
|
name: 'IsNullDefault',
|
|
1793
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-is-null-default.html',
|
|
1794
|
+
guideUrl: 'https://ampscript.guide/isnulldefault/',
|
|
1621
1795
|
minArgs: 2,
|
|
1622
1796
|
maxArgs: 2,
|
|
1623
1797
|
category: 'Utility',
|
|
@@ -1632,6 +1806,8 @@ export const FUNCTIONS = [
|
|
|
1632
1806
|
},
|
|
1633
1807
|
{
|
|
1634
1808
|
name: 'IsPhoneNumber',
|
|
1809
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-is-phone-number.html',
|
|
1810
|
+
guideUrl: 'https://ampscript.guide/isphonenumber/',
|
|
1635
1811
|
minArgs: 1,
|
|
1636
1812
|
maxArgs: 1,
|
|
1637
1813
|
category: 'Utility',
|
|
@@ -1642,6 +1818,8 @@ export const FUNCTIONS = [
|
|
|
1642
1818
|
},
|
|
1643
1819
|
{
|
|
1644
1820
|
name: 'Length',
|
|
1821
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-length.html',
|
|
1822
|
+
guideUrl: 'https://ampscript.guide/length/',
|
|
1645
1823
|
minArgs: 1,
|
|
1646
1824
|
maxArgs: 1,
|
|
1647
1825
|
category: 'String',
|
|
@@ -1653,6 +1831,8 @@ export const FUNCTIONS = [
|
|
|
1653
1831
|
},
|
|
1654
1832
|
{
|
|
1655
1833
|
name: 'LiveContentMicrositeURL',
|
|
1834
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-live-content-microsite-url.html',
|
|
1835
|
+
guideUrl: 'https://ampscript.guide/livecontentmicrositeurl/',
|
|
1656
1836
|
minArgs: 2,
|
|
1657
1837
|
maxArgs: 2,
|
|
1658
1838
|
category: 'Content',
|
|
@@ -1666,6 +1846,8 @@ export const FUNCTIONS = [
|
|
|
1666
1846
|
},
|
|
1667
1847
|
{
|
|
1668
1848
|
name: 'LocalDateToSystemDate',
|
|
1849
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-local-date-to-system-date.html',
|
|
1850
|
+
guideUrl: 'https://ampscript.guide/localdatetosystemdate/',
|
|
1669
1851
|
minArgs: 1,
|
|
1670
1852
|
maxArgs: 1,
|
|
1671
1853
|
category: 'Date and Time',
|
|
@@ -1676,6 +1858,8 @@ export const FUNCTIONS = [
|
|
|
1676
1858
|
},
|
|
1677
1859
|
{
|
|
1678
1860
|
name: 'LongSFID',
|
|
1861
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-long-sfid.html',
|
|
1862
|
+
guideUrl: 'https://ampscript.guide/longsfid/',
|
|
1679
1863
|
minArgs: 1,
|
|
1680
1864
|
maxArgs: 1,
|
|
1681
1865
|
category: 'Sales and Service Cloud',
|
|
@@ -1687,6 +1871,8 @@ export const FUNCTIONS = [
|
|
|
1687
1871
|
},
|
|
1688
1872
|
{
|
|
1689
1873
|
name: 'Lookup',
|
|
1874
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup.html',
|
|
1875
|
+
guideUrl: 'https://ampscript.guide/lookup/',
|
|
1690
1876
|
minArgs: 4,
|
|
1691
1877
|
maxArgs: INF,
|
|
1692
1878
|
category: 'Data Extension',
|
|
@@ -1711,6 +1897,8 @@ export const FUNCTIONS = [
|
|
|
1711
1897
|
},
|
|
1712
1898
|
{
|
|
1713
1899
|
name: 'LookupOrderedRows',
|
|
1900
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-ordered-rows.html',
|
|
1901
|
+
guideUrl: 'https://ampscript.guide/lookuporderedrows/',
|
|
1714
1902
|
minArgs: 5,
|
|
1715
1903
|
maxArgs: INF,
|
|
1716
1904
|
category: 'Data Extension',
|
|
@@ -1738,6 +1926,8 @@ export const FUNCTIONS = [
|
|
|
1738
1926
|
},
|
|
1739
1927
|
{
|
|
1740
1928
|
name: 'LookupOrderedRowsCS',
|
|
1929
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-ordered-rows-cs.html',
|
|
1930
|
+
guideUrl: 'https://ampscript.guide/lookuporderedrowscs/',
|
|
1741
1931
|
minArgs: 5,
|
|
1742
1932
|
maxArgs: INF,
|
|
1743
1933
|
category: 'Data Extension',
|
|
@@ -1762,6 +1952,8 @@ export const FUNCTIONS = [
|
|
|
1762
1952
|
},
|
|
1763
1953
|
{
|
|
1764
1954
|
name: 'LookupRows',
|
|
1955
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-rows.html',
|
|
1956
|
+
guideUrl: 'https://ampscript.guide/lookuprows/',
|
|
1765
1957
|
minArgs: 3,
|
|
1766
1958
|
maxArgs: INF,
|
|
1767
1959
|
category: 'Data Extension',
|
|
@@ -1784,6 +1976,8 @@ export const FUNCTIONS = [
|
|
|
1784
1976
|
},
|
|
1785
1977
|
{
|
|
1786
1978
|
name: 'LookupRowsCS',
|
|
1979
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-lookup-rows-cs.html',
|
|
1980
|
+
guideUrl: 'https://ampscript.guide/lookuprowscs/',
|
|
1787
1981
|
minArgs: 3,
|
|
1788
1982
|
maxArgs: INF,
|
|
1789
1983
|
category: 'Data Extension',
|
|
@@ -1805,6 +1999,8 @@ export const FUNCTIONS = [
|
|
|
1805
1999
|
},
|
|
1806
2000
|
{
|
|
1807
2001
|
name: 'Lowercase',
|
|
2002
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-lowercase.html',
|
|
2003
|
+
guideUrl: 'https://ampscript.guide/lowercase/',
|
|
1808
2004
|
minArgs: 1,
|
|
1809
2005
|
maxArgs: 1,
|
|
1810
2006
|
category: 'String',
|
|
@@ -1816,6 +2012,8 @@ export const FUNCTIONS = [
|
|
|
1816
2012
|
},
|
|
1817
2013
|
{
|
|
1818
2014
|
name: 'MD5',
|
|
2015
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-md5.html',
|
|
2016
|
+
guideUrl: 'https://ampscript.guide/md5/',
|
|
1819
2017
|
minArgs: 1,
|
|
1820
2018
|
maxArgs: 2,
|
|
1821
2019
|
category: 'Encryption and Encoding',
|
|
@@ -1834,6 +2032,8 @@ export const FUNCTIONS = [
|
|
|
1834
2032
|
},
|
|
1835
2033
|
{
|
|
1836
2034
|
name: 'MicrositeURL',
|
|
2035
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-microsite-url.html',
|
|
2036
|
+
guideUrl: 'https://ampscript.guide/micrositeurl/',
|
|
1837
2037
|
minArgs: 1,
|
|
1838
2038
|
maxArgs: INF,
|
|
1839
2039
|
category: 'Utility',
|
|
@@ -1858,6 +2058,8 @@ export const FUNCTIONS = [
|
|
|
1858
2058
|
},
|
|
1859
2059
|
{
|
|
1860
2060
|
name: 'Mod',
|
|
2061
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-mod.html',
|
|
2062
|
+
guideUrl: 'https://ampscript.guide/mod/',
|
|
1861
2063
|
minArgs: 2,
|
|
1862
2064
|
maxArgs: 2,
|
|
1863
2065
|
category: 'Math',
|
|
@@ -1873,6 +2075,8 @@ export const FUNCTIONS = [
|
|
|
1873
2075
|
},
|
|
1874
2076
|
{
|
|
1875
2077
|
name: 'Multiply',
|
|
2078
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-multiply.html',
|
|
2079
|
+
guideUrl: 'https://ampscript.guide/multiply/',
|
|
1876
2080
|
minArgs: 2,
|
|
1877
2081
|
maxArgs: 2,
|
|
1878
2082
|
category: 'Math',
|
|
@@ -1887,6 +2091,8 @@ export const FUNCTIONS = [
|
|
|
1887
2091
|
},
|
|
1888
2092
|
{
|
|
1889
2093
|
name: 'Now',
|
|
2094
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-now.html',
|
|
2095
|
+
guideUrl: 'https://ampscript.guide/now/',
|
|
1890
2096
|
minArgs: 0,
|
|
1891
2097
|
maxArgs: 1,
|
|
1892
2098
|
category: 'Date and Time',
|
|
@@ -1906,6 +2112,8 @@ export const FUNCTIONS = [
|
|
|
1906
2112
|
},
|
|
1907
2113
|
{
|
|
1908
2114
|
name: 'Output',
|
|
2115
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-output.html',
|
|
2116
|
+
guideUrl: 'https://ampscript.guide/output/',
|
|
1909
2117
|
minArgs: 1,
|
|
1910
2118
|
maxArgs: 1,
|
|
1911
2119
|
category: 'Utility',
|
|
@@ -1917,6 +2125,8 @@ export const FUNCTIONS = [
|
|
|
1917
2125
|
},
|
|
1918
2126
|
{
|
|
1919
2127
|
name: 'OutputLine',
|
|
2128
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-output-line.html',
|
|
2129
|
+
guideUrl: 'https://ampscript.guide/outputline/',
|
|
1920
2130
|
minArgs: 1,
|
|
1921
2131
|
maxArgs: 1,
|
|
1922
2132
|
category: 'Utility',
|
|
@@ -1927,6 +2137,8 @@ export const FUNCTIONS = [
|
|
|
1927
2137
|
},
|
|
1928
2138
|
{
|
|
1929
2139
|
name: 'ProperCase',
|
|
2140
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-propercase.html',
|
|
2141
|
+
guideUrl: 'https://ampscript.guide/propercase/',
|
|
1930
2142
|
minArgs: 1,
|
|
1931
2143
|
maxArgs: 1,
|
|
1932
2144
|
category: 'String',
|
|
@@ -1939,6 +2151,8 @@ export const FUNCTIONS = [
|
|
|
1939
2151
|
},
|
|
1940
2152
|
{
|
|
1941
2153
|
name: 'QueryParameter',
|
|
2154
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-query-parameter.html',
|
|
2155
|
+
guideUrl: 'https://ampscript.guide/queryparameter/',
|
|
1942
2156
|
minArgs: 1,
|
|
1943
2157
|
maxArgs: 1,
|
|
1944
2158
|
category: 'Utility',
|
|
@@ -1950,6 +2164,8 @@ export const FUNCTIONS = [
|
|
|
1950
2164
|
},
|
|
1951
2165
|
{
|
|
1952
2166
|
name: 'RaiseError',
|
|
2167
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-raise-error.html',
|
|
2168
|
+
guideUrl: 'https://ampscript.guide/raiseerror/',
|
|
1953
2169
|
minArgs: 1,
|
|
1954
2170
|
maxArgs: 5,
|
|
1955
2171
|
category: 'Utility',
|
|
@@ -1987,6 +2203,8 @@ export const FUNCTIONS = [
|
|
|
1987
2203
|
},
|
|
1988
2204
|
{
|
|
1989
2205
|
name: 'Random',
|
|
2206
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-random.html',
|
|
2207
|
+
guideUrl: 'https://ampscript.guide/random/',
|
|
1990
2208
|
minArgs: 2,
|
|
1991
2209
|
maxArgs: 2,
|
|
1992
2210
|
category: 'Math',
|
|
@@ -2001,6 +2219,7 @@ export const FUNCTIONS = [
|
|
|
2001
2219
|
},
|
|
2002
2220
|
{
|
|
2003
2221
|
name: 'RatingStars',
|
|
2222
|
+
guideUrl: 'https://ampscript.guide/ratingstars/',
|
|
2004
2223
|
minArgs: 3,
|
|
2005
2224
|
maxArgs: 3,
|
|
2006
2225
|
category: 'Einstein Email Recommendations',
|
|
@@ -2015,6 +2234,8 @@ export const FUNCTIONS = [
|
|
|
2015
2234
|
},
|
|
2016
2235
|
{
|
|
2017
2236
|
name: 'Redirect',
|
|
2237
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-redirect.html',
|
|
2238
|
+
guideUrl: 'https://ampscript.guide/redirect/',
|
|
2018
2239
|
minArgs: 1,
|
|
2019
2240
|
maxArgs: 1,
|
|
2020
2241
|
category: 'Utility',
|
|
@@ -2025,6 +2246,8 @@ export const FUNCTIONS = [
|
|
|
2025
2246
|
},
|
|
2026
2247
|
{
|
|
2027
2248
|
name: 'RedirectTo',
|
|
2249
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-redirect-to.html',
|
|
2250
|
+
guideUrl: 'https://ampscript.guide/redirectto/',
|
|
2028
2251
|
minArgs: 1,
|
|
2029
2252
|
maxArgs: 1,
|
|
2030
2253
|
category: 'Utility',
|
|
@@ -2036,6 +2259,8 @@ export const FUNCTIONS = [
|
|
|
2036
2259
|
},
|
|
2037
2260
|
{
|
|
2038
2261
|
name: 'RegExMatch',
|
|
2262
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-regex-match.html',
|
|
2263
|
+
guideUrl: 'https://ampscript.guide/regexmatch/',
|
|
2039
2264
|
minArgs: 3,
|
|
2040
2265
|
maxArgs: INF,
|
|
2041
2266
|
category: 'String',
|
|
@@ -2061,6 +2286,8 @@ export const FUNCTIONS = [
|
|
|
2061
2286
|
},
|
|
2062
2287
|
{
|
|
2063
2288
|
name: 'Replace',
|
|
2289
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-replace.html',
|
|
2290
|
+
guideUrl: 'https://ampscript.guide/replace/',
|
|
2064
2291
|
minArgs: 3,
|
|
2065
2292
|
maxArgs: 3,
|
|
2066
2293
|
category: 'String',
|
|
@@ -2076,6 +2303,8 @@ export const FUNCTIONS = [
|
|
|
2076
2303
|
},
|
|
2077
2304
|
{
|
|
2078
2305
|
name: 'ReplaceList',
|
|
2306
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-replace-list.html',
|
|
2307
|
+
guideUrl: 'https://ampscript.guide/replacelist/',
|
|
2079
2308
|
minArgs: 3,
|
|
2080
2309
|
maxArgs: INF,
|
|
2081
2310
|
category: 'String',
|
|
@@ -2096,6 +2325,8 @@ export const FUNCTIONS = [
|
|
|
2096
2325
|
},
|
|
2097
2326
|
{
|
|
2098
2327
|
name: 'RequestParameter',
|
|
2328
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-sites/mc-ampscript-reference-sites-request-parameter.html',
|
|
2329
|
+
guideUrl: 'https://ampscript.guide/requestparameter/',
|
|
2099
2330
|
minArgs: 1,
|
|
2100
2331
|
maxArgs: 1,
|
|
2101
2332
|
category: 'Utility',
|
|
@@ -2107,6 +2338,8 @@ export const FUNCTIONS = [
|
|
|
2107
2338
|
},
|
|
2108
2339
|
{
|
|
2109
2340
|
name: 'RetrieveMSCRMRecords',
|
|
2341
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-retrieve-records.html',
|
|
2342
|
+
guideUrl: 'https://ampscript.guide/retrievemscrmrecords/',
|
|
2110
2343
|
minArgs: 5,
|
|
2111
2344
|
maxArgs: 5,
|
|
2112
2345
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -2127,6 +2360,8 @@ export const FUNCTIONS = [
|
|
|
2127
2360
|
},
|
|
2128
2361
|
{
|
|
2129
2362
|
name: 'RetrieveMSCRMRecordsFetchXML',
|
|
2363
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-retrieve-records-fetch-xml.html',
|
|
2364
|
+
guideUrl: 'https://ampscript.guide/retrievemscrmrecordsfetchxml/',
|
|
2130
2365
|
minArgs: 1,
|
|
2131
2366
|
maxArgs: 1,
|
|
2132
2367
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -2137,6 +2372,8 @@ export const FUNCTIONS = [
|
|
|
2137
2372
|
},
|
|
2138
2373
|
{
|
|
2139
2374
|
name: 'RetrieveSalesforceJobSources',
|
|
2375
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-retrieve-job-sources.html',
|
|
2376
|
+
guideUrl: 'https://ampscript.guide/retrievesalesforcejobsources/',
|
|
2140
2377
|
minArgs: 1,
|
|
2141
2378
|
maxArgs: 1,
|
|
2142
2379
|
category: 'Sales and Service Cloud',
|
|
@@ -2147,6 +2384,8 @@ export const FUNCTIONS = [
|
|
|
2147
2384
|
},
|
|
2148
2385
|
{
|
|
2149
2386
|
name: 'RetrieveSalesforceObjects',
|
|
2387
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-retrieve-objects.html',
|
|
2388
|
+
guideUrl: 'https://ampscript.guide/retrievesalesforceobjects/',
|
|
2150
2389
|
minArgs: 5,
|
|
2151
2390
|
maxArgs: INF,
|
|
2152
2391
|
category: 'Sales and Service Cloud',
|
|
@@ -2180,6 +2419,8 @@ export const FUNCTIONS = [
|
|
|
2180
2419
|
},
|
|
2181
2420
|
{
|
|
2182
2421
|
name: 'Row',
|
|
2422
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-row.html',
|
|
2423
|
+
guideUrl: 'https://ampscript.guide/row/',
|
|
2183
2424
|
minArgs: 2,
|
|
2184
2425
|
maxArgs: 2,
|
|
2185
2426
|
category: 'Data Extension',
|
|
@@ -2194,6 +2435,8 @@ export const FUNCTIONS = [
|
|
|
2194
2435
|
},
|
|
2195
2436
|
{
|
|
2196
2437
|
name: 'RowCount',
|
|
2438
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-row-count.html',
|
|
2439
|
+
guideUrl: 'https://ampscript.guide/rowcount/',
|
|
2197
2440
|
minArgs: 1,
|
|
2198
2441
|
maxArgs: 1,
|
|
2199
2442
|
category: 'Data Extension',
|
|
@@ -2205,6 +2448,8 @@ export const FUNCTIONS = [
|
|
|
2205
2448
|
},
|
|
2206
2449
|
{
|
|
2207
2450
|
name: 'SetObjectProperty',
|
|
2451
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-api/mc-ampscript-reference-api-set-object-property.html',
|
|
2452
|
+
guideUrl: 'https://ampscript.guide/setobjectproperty/',
|
|
2208
2453
|
minArgs: 3,
|
|
2209
2454
|
maxArgs: 3,
|
|
2210
2455
|
category: 'Marketing Cloud API',
|
|
@@ -2219,6 +2464,7 @@ export const FUNCTIONS = [
|
|
|
2219
2464
|
},
|
|
2220
2465
|
{
|
|
2221
2466
|
name: 'SetSmsConversationNextKeyword',
|
|
2467
|
+
guideUrl: 'https://ampscript.guide/setsmsconversationnextkeyword/',
|
|
2222
2468
|
minArgs: 3,
|
|
2223
2469
|
maxArgs: 3,
|
|
2224
2470
|
category: 'MobileConnect',
|
|
@@ -2233,6 +2479,8 @@ export const FUNCTIONS = [
|
|
|
2233
2479
|
},
|
|
2234
2480
|
{
|
|
2235
2481
|
name: 'SetStateMSCRMRecord',
|
|
2482
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-set-state-record.html',
|
|
2483
|
+
guideUrl: 'https://ampscript.guide/setstatemscrmrecord/',
|
|
2236
2484
|
minArgs: 4,
|
|
2237
2485
|
maxArgs: 4,
|
|
2238
2486
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -2246,21 +2494,10 @@ export const FUNCTIONS = [
|
|
|
2246
2494
|
returnType: 'void',
|
|
2247
2495
|
syntax: 'SetStateMSCRMRecord(entityType, entityId, state, status)',
|
|
2248
2496
|
},
|
|
2249
|
-
{
|
|
2250
|
-
name: 'SetValue',
|
|
2251
|
-
minArgs: 2,
|
|
2252
|
-
maxArgs: 2,
|
|
2253
|
-
category: 'Utility',
|
|
2254
|
-
description: 'Sets the value of a subscriber or send-context attribute by name.',
|
|
2255
|
-
params: [
|
|
2256
|
-
{ name: 'attributeName', description: 'Attribute name to set', type: 'string' },
|
|
2257
|
-
{ name: 'value', description: 'Value to assign' },
|
|
2258
|
-
],
|
|
2259
|
-
returnType: 'void',
|
|
2260
|
-
syntax: 'SetValue(attributeName, value)',
|
|
2261
|
-
},
|
|
2262
2497
|
{
|
|
2263
2498
|
name: 'SHA1',
|
|
2499
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha1.html',
|
|
2500
|
+
guideUrl: 'https://ampscript.guide/sha1/',
|
|
2264
2501
|
minArgs: 1,
|
|
2265
2502
|
maxArgs: 2,
|
|
2266
2503
|
category: 'Encryption and Encoding',
|
|
@@ -2279,6 +2516,8 @@ export const FUNCTIONS = [
|
|
|
2279
2516
|
},
|
|
2280
2517
|
{
|
|
2281
2518
|
name: 'SHA256',
|
|
2519
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha256.html',
|
|
2520
|
+
guideUrl: 'https://ampscript.guide/sha256/',
|
|
2282
2521
|
minArgs: 1,
|
|
2283
2522
|
maxArgs: 2,
|
|
2284
2523
|
category: 'Encryption and Encoding',
|
|
@@ -2298,6 +2537,8 @@ export const FUNCTIONS = [
|
|
|
2298
2537
|
},
|
|
2299
2538
|
{
|
|
2300
2539
|
name: 'SHA512',
|
|
2540
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-encryption/mc-ampscript-reference-encryption-sha512.html',
|
|
2541
|
+
guideUrl: 'https://ampscript.guide/sha512/',
|
|
2301
2542
|
minArgs: 1,
|
|
2302
2543
|
maxArgs: 2,
|
|
2303
2544
|
category: 'Encryption and Encoding',
|
|
@@ -2316,6 +2557,8 @@ export const FUNCTIONS = [
|
|
|
2316
2557
|
},
|
|
2317
2558
|
{
|
|
2318
2559
|
name: 'StringToDate',
|
|
2560
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-string-to-date.html',
|
|
2561
|
+
guideUrl: 'https://ampscript.guide/stringtodate/',
|
|
2319
2562
|
minArgs: 1,
|
|
2320
2563
|
maxArgs: 2,
|
|
2321
2564
|
category: 'Date and Time',
|
|
@@ -2329,6 +2572,8 @@ export const FUNCTIONS = [
|
|
|
2329
2572
|
},
|
|
2330
2573
|
{
|
|
2331
2574
|
name: 'StringToHex',
|
|
2575
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-to-hex.html',
|
|
2576
|
+
guideUrl: 'https://ampscript.guide/stringtohex/',
|
|
2332
2577
|
minArgs: 1,
|
|
2333
2578
|
maxArgs: 2,
|
|
2334
2579
|
category: 'Encryption and Encoding',
|
|
@@ -2342,6 +2587,8 @@ export const FUNCTIONS = [
|
|
|
2342
2587
|
},
|
|
2343
2588
|
{
|
|
2344
2589
|
name: 'Substring',
|
|
2590
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-substring.html',
|
|
2591
|
+
guideUrl: 'https://ampscript.guide/substring/',
|
|
2345
2592
|
minArgs: 2,
|
|
2346
2593
|
maxArgs: 3,
|
|
2347
2594
|
category: 'String',
|
|
@@ -2352,7 +2599,8 @@ export const FUNCTIONS = [
|
|
|
2352
2599
|
{ name: 'startIndex', description: '1-based start position', type: 'number' },
|
|
2353
2600
|
{
|
|
2354
2601
|
name: 'length',
|
|
2355
|
-
description:
|
|
2602
|
+
description:
|
|
2603
|
+
'Number of characters to extract. If omitted, returns the remainder of the string.',
|
|
2356
2604
|
type: 'number',
|
|
2357
2605
|
optional: true,
|
|
2358
2606
|
},
|
|
@@ -2363,6 +2611,8 @@ export const FUNCTIONS = [
|
|
|
2363
2611
|
},
|
|
2364
2612
|
{
|
|
2365
2613
|
name: 'Subtract',
|
|
2614
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-math/mc-ampscript-reference-math-subtract.html',
|
|
2615
|
+
guideUrl: 'https://ampscript.guide/subtract/',
|
|
2366
2616
|
minArgs: 2,
|
|
2367
2617
|
maxArgs: 2,
|
|
2368
2618
|
category: 'Math',
|
|
@@ -2377,6 +2627,8 @@ export const FUNCTIONS = [
|
|
|
2377
2627
|
},
|
|
2378
2628
|
{
|
|
2379
2629
|
name: 'SystemDateToLocalDate',
|
|
2630
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-date-time/mc-ampscript-reference-date-time-system-date-to-local-date.html',
|
|
2631
|
+
guideUrl: 'https://ampscript.guide/systemdatetolocaldate/',
|
|
2380
2632
|
minArgs: 1,
|
|
2381
2633
|
maxArgs: 1,
|
|
2382
2634
|
category: 'Date and Time',
|
|
@@ -2388,6 +2640,8 @@ export const FUNCTIONS = [
|
|
|
2388
2640
|
},
|
|
2389
2641
|
{
|
|
2390
2642
|
name: 'TransformXML',
|
|
2643
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-transform-xml.html',
|
|
2644
|
+
guideUrl: 'https://ampscript.guide/transformxml/',
|
|
2391
2645
|
minArgs: 2,
|
|
2392
2646
|
maxArgs: 2,
|
|
2393
2647
|
category: 'Content',
|
|
@@ -2401,6 +2655,8 @@ export const FUNCTIONS = [
|
|
|
2401
2655
|
},
|
|
2402
2656
|
{
|
|
2403
2657
|
name: 'TreatAsContent',
|
|
2658
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-treat-as-content.html',
|
|
2659
|
+
guideUrl: 'https://ampscript.guide/treatascontent/',
|
|
2404
2660
|
minArgs: 1,
|
|
2405
2661
|
maxArgs: 1,
|
|
2406
2662
|
category: 'Content',
|
|
@@ -2418,6 +2674,8 @@ export const FUNCTIONS = [
|
|
|
2418
2674
|
},
|
|
2419
2675
|
{
|
|
2420
2676
|
name: 'TreatAsContentArea',
|
|
2677
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-treat-as-content-area.html',
|
|
2678
|
+
guideUrl: 'https://ampscript.guide/treatascontentarea/',
|
|
2421
2679
|
minArgs: 2,
|
|
2422
2680
|
maxArgs: 3,
|
|
2423
2681
|
category: 'Content',
|
|
@@ -2438,6 +2696,8 @@ export const FUNCTIONS = [
|
|
|
2438
2696
|
},
|
|
2439
2697
|
{
|
|
2440
2698
|
name: 'Trim',
|
|
2699
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-trim.html',
|
|
2700
|
+
guideUrl: 'https://ampscript.guide/trim/',
|
|
2441
2701
|
minArgs: 1,
|
|
2442
2702
|
maxArgs: 1,
|
|
2443
2703
|
category: 'String',
|
|
@@ -2449,6 +2709,8 @@ export const FUNCTIONS = [
|
|
|
2449
2709
|
},
|
|
2450
2710
|
{
|
|
2451
2711
|
name: 'UpdateData',
|
|
2712
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-update-data.html',
|
|
2713
|
+
guideUrl: 'https://ampscript.guide/updatedata/',
|
|
2452
2714
|
minArgs: 6,
|
|
2453
2715
|
maxArgs: INF,
|
|
2454
2716
|
category: 'Data Extension',
|
|
@@ -2467,6 +2729,8 @@ export const FUNCTIONS = [
|
|
|
2467
2729
|
},
|
|
2468
2730
|
{
|
|
2469
2731
|
name: 'UpdateDE',
|
|
2732
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-update-de.html',
|
|
2733
|
+
guideUrl: 'https://ampscript.guide/updatede/',
|
|
2470
2734
|
minArgs: 6,
|
|
2471
2735
|
maxArgs: INF,
|
|
2472
2736
|
category: 'Data Extension',
|
|
@@ -2484,6 +2748,8 @@ export const FUNCTIONS = [
|
|
|
2484
2748
|
},
|
|
2485
2749
|
{
|
|
2486
2750
|
name: 'UpdateMSCRMRecords',
|
|
2751
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-update-records.html',
|
|
2752
|
+
guideUrl: 'https://ampscript.guide/updatemscrmrecords/',
|
|
2487
2753
|
minArgs: 4,
|
|
2488
2754
|
maxArgs: 4,
|
|
2489
2755
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -2499,6 +2765,8 @@ export const FUNCTIONS = [
|
|
|
2499
2765
|
},
|
|
2500
2766
|
{
|
|
2501
2767
|
name: 'UpdateSingleSalesforceObject',
|
|
2768
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-salesforce/mc-ampscript-reference-salesforce-update-single-object.html',
|
|
2769
|
+
guideUrl: 'https://ampscript.guide/updatesinglesalesforceobject/',
|
|
2502
2770
|
minArgs: 4,
|
|
2503
2771
|
maxArgs: INF,
|
|
2504
2772
|
category: 'Sales and Service Cloud',
|
|
@@ -2521,6 +2789,8 @@ export const FUNCTIONS = [
|
|
|
2521
2789
|
},
|
|
2522
2790
|
{
|
|
2523
2791
|
name: 'Uppercase',
|
|
2792
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-string/mc-ampscript-reference-string-uppercase.html',
|
|
2793
|
+
guideUrl: 'https://ampscript.guide/uppercase/',
|
|
2524
2794
|
minArgs: 1,
|
|
2525
2795
|
maxArgs: 1,
|
|
2526
2796
|
category: 'String',
|
|
@@ -2532,6 +2802,8 @@ export const FUNCTIONS = [
|
|
|
2532
2802
|
},
|
|
2533
2803
|
{
|
|
2534
2804
|
name: 'UpsertContact',
|
|
2805
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-contacts/mc-ampscript-reference-contacts-upsert-contact.html',
|
|
2806
|
+
guideUrl: 'https://ampscript.guide/upsertcontact/',
|
|
2535
2807
|
minArgs: 5,
|
|
2536
2808
|
maxArgs: INF,
|
|
2537
2809
|
category: 'MobileConnect',
|
|
@@ -2555,6 +2827,8 @@ export const FUNCTIONS = [
|
|
|
2555
2827
|
},
|
|
2556
2828
|
{
|
|
2557
2829
|
name: 'UpsertData',
|
|
2830
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-upsert-data.html',
|
|
2831
|
+
guideUrl: 'https://ampscript.guide/upsertdata/',
|
|
2558
2832
|
minArgs: 6,
|
|
2559
2833
|
maxArgs: INF,
|
|
2560
2834
|
category: 'Data Extension',
|
|
@@ -2573,6 +2847,8 @@ export const FUNCTIONS = [
|
|
|
2573
2847
|
},
|
|
2574
2848
|
{
|
|
2575
2849
|
name: 'UpsertDE',
|
|
2850
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-data-extension/mc-ampscript-reference-data-extension-upsert-de.html',
|
|
2851
|
+
guideUrl: 'https://ampscript.guide/upsertde/',
|
|
2576
2852
|
minArgs: 6,
|
|
2577
2853
|
maxArgs: INF,
|
|
2578
2854
|
category: 'Data Extension',
|
|
@@ -2590,6 +2866,8 @@ export const FUNCTIONS = [
|
|
|
2590
2866
|
},
|
|
2591
2867
|
{
|
|
2592
2868
|
name: 'UpsertMSCRMRecord',
|
|
2869
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-mscrm/mc-ampscript-reference-microsoft-dynamics-crm-upsert-record.html',
|
|
2870
|
+
guideUrl: 'https://ampscript.guide/upsertmscrmrecord/',
|
|
2593
2871
|
minArgs: 9,
|
|
2594
2872
|
maxArgs: 9,
|
|
2595
2873
|
category: 'Microsoft Dynamics CRM',
|
|
@@ -2614,6 +2892,8 @@ export const FUNCTIONS = [
|
|
|
2614
2892
|
},
|
|
2615
2893
|
{
|
|
2616
2894
|
name: 'URLEncode',
|
|
2895
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-url-encode.html',
|
|
2896
|
+
guideUrl: 'https://ampscript.guide/urlencode/',
|
|
2617
2897
|
minArgs: 1,
|
|
2618
2898
|
maxArgs: 3,
|
|
2619
2899
|
category: 'Encryption and Encoding',
|
|
@@ -2633,7 +2913,9 @@ export const FUNCTIONS = [
|
|
|
2633
2913
|
example: "%%=URLEncode('hello world')=%%",
|
|
2634
2914
|
},
|
|
2635
2915
|
{
|
|
2636
|
-
name: '
|
|
2916
|
+
name: 'v',
|
|
2917
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-utilities/mc-ampscript-reference-utilities-v.html',
|
|
2918
|
+
guideUrl: 'https://ampscript.guide/v/',
|
|
2637
2919
|
minArgs: 1,
|
|
2638
2920
|
maxArgs: 1,
|
|
2639
2921
|
category: 'Utility',
|
|
@@ -2641,11 +2923,13 @@ export const FUNCTIONS = [
|
|
|
2641
2923
|
'Short alias for retrieving a variable value inline. Equivalent to %%=v(@var)=%%.',
|
|
2642
2924
|
params: [{ name: 'variableName', description: 'Variable reference' }],
|
|
2643
2925
|
returnType: 'string',
|
|
2644
|
-
syntax: '
|
|
2645
|
-
example: '%%=
|
|
2926
|
+
syntax: 'v(variableName)',
|
|
2927
|
+
example: '%%=v(@myVar)=%%',
|
|
2646
2928
|
},
|
|
2647
2929
|
{
|
|
2648
2930
|
name: 'WAT',
|
|
2931
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-wat.html',
|
|
2932
|
+
guideUrl: 'https://ampscript.guide/wat/',
|
|
2649
2933
|
minArgs: 1,
|
|
2650
2934
|
maxArgs: INF,
|
|
2651
2935
|
category: 'Utility',
|
|
@@ -2659,6 +2943,8 @@ export const FUNCTIONS = [
|
|
|
2659
2943
|
},
|
|
2660
2944
|
{
|
|
2661
2945
|
name: 'WATP',
|
|
2946
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-content/mc-ampscript-reference-content-wat.html',
|
|
2947
|
+
guideUrl: 'https://ampscript.guide/watp/',
|
|
2662
2948
|
minArgs: 1,
|
|
2663
2949
|
maxArgs: 1,
|
|
2664
2950
|
category: 'Utility',
|
|
@@ -2669,6 +2955,8 @@ export const FUNCTIONS = [
|
|
|
2669
2955
|
},
|
|
2670
2956
|
{
|
|
2671
2957
|
name: 'WrapLongURL',
|
|
2958
|
+
docUrl: 'https://developer.salesforce.com/docs/marketing/marketing-cloud-ampscript/references/mc-ampscript-http/mc-ampscript-reference-http-wrap-long-url.html',
|
|
2959
|
+
guideUrl: 'https://ampscript.guide/wraplongurl/',
|
|
2672
2960
|
minArgs: 1,
|
|
2673
2961
|
maxArgs: 1,
|
|
2674
2962
|
category: 'Utility',
|
|
@@ -2713,7 +3001,9 @@ const EMAIL_EXCLUDED_FUNCTIONS = new Set([
|
|
|
2713
3001
|
|
|
2714
3002
|
export function isEmailExcluded(functionName) {
|
|
2715
3003
|
const lower = functionName.toLowerCase();
|
|
2716
|
-
if (EMAIL_EXCLUDED_FUNCTIONS.has(lower))
|
|
3004
|
+
if (EMAIL_EXCLUDED_FUNCTIONS.has(lower)) {
|
|
3005
|
+
return true;
|
|
3006
|
+
}
|
|
2717
3007
|
const entry = functionLookup.get(lower);
|
|
2718
3008
|
return entry ? EMAIL_EXCLUDED_CATEGORIES.has(entry.category) : false;
|
|
2719
3009
|
}
|